]> git.proxmox.com Git - mirror_zfs.git/commit
Prevent reclaim in metaslab preload threads
authorTim Chase <tim@chase2k.com>
Fri, 3 Jul 2015 14:24:24 +0000 (09:24 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 6 Jul 2015 16:36:13 +0000 (09:36 -0700)
commit1cd777340bb2feaedbbdb48cab27ce5ffa14c353
tree7d1120db7df854760680e9504f63e76766b6bdaa
parente16b3fcc610fab2dcf3381486b2640dc2a2213cb
Prevent reclaim in metaslab preload threads

Reclaim during metaslab preloading can cause deadlocks involving znode
z_lock and ARC buffer header ht_lock.

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