]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zfs_vnops.c
Add zfs_iput_async() interface
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 4 Aug 2014 20:30:20 +0000 (13:30 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 11 Aug 2014 23:11:43 +0000 (16:11 -0700)
commit0a50679ce9eb8ded7bf20685e9d32724ded9cb8d
tree0087b2570d24eb85e710051c4c3721bc22469069
parent4dd18932ba4cfdcf9b16609f6a80c2d6c239cb15
Add zfs_iput_async() interface

Handle all iputs in zfs_purgedir() and zfs_inode_destroy()
asynchronously to prevent deadlocks.  When the iputs are allowed
to run synchronously in the destroy call path deadlocks between
xattr directory inodes and their parent file inodes are possible.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Closes #457
include/sys/zfs_vnops.h
module/zfs/zfs_dir.c
module/zfs/zfs_vnops.c
module/zfs/zfs_znode.c