HomeFreeBSD

Add zfs_iput_async() interface

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 4 2014, 8:30 PM
Parents
rG4dd18932ba4c: Avoid 128K kmem allocations in mzap_upgrade()
Branches
Unknown
Tags
Unknown