]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Illumos #4730 destroy metaslab group taskq
authorGeorge Wilson <george@delphix.com>
Mon, 19 May 2014 20:04:04 +0000 (12:04 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Jul 2014 16:41:06 +0000 (09:41 -0700)
commit3c51c5cb1f1c6097ecbfd18aa1177ba0f67c215e
treedfb1885c45048cc3f43045b5cff16b968de50f8a
parent93cf20764a1be64a603020f54b45200e37b3877e
Illumos #4730 destroy metaslab group taskq

4730 metaslab group taskq should be destroyed in metaslab_group_destroy()

Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>

References:
  https://www.illumos.org/issues/4730
  https://github.com/illumos/illumos-gate/commit/be08211

Porting notes:

Under ZFSonlinux, one of the effects of not destroying the taskq is that
zdb would never exit (due to the SPL taskq implementation).

Ported-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2488
module/zfs/metaslab.c