]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/dmu_objset.c
Fix dmu_objset_find_dp() KM_SLEEP warning
authorTim Chase <tim@chase2k.com>
Wed, 11 Sep 2013 18:47:43 +0000 (11:47 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 Sep 2013 18:49:32 +0000 (11:49 -0700)
commit4cf652e5d4becca29df8c961daaa68f9c9c81245
tree434fb5aabb0f50629b353de27d2e4e3b31c874f9
parent13fe019870c8779bf2f5b3ff731b512cf89133ef
Fix dmu_objset_find_dp() KM_SLEEP warning

After the restructuring in 13fe019 The 'zfs rename' command will
result in a KM_SLEEP being called in the sync context.  This may
deadlock due to reclaim so it was changed to KM_PUSHPAGE.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1711
module/zfs/dmu_objset.c