aboutsummaryrefslogtreecommitdiff
path: root/cddl/sbin/zfs
diff options
context:
space:
mode:
authorPaul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>2021-06-12 00:00:33 +0000
committerGitHub <noreply@github.com>2021-06-12 00:00:33 +0000
commitafa7b3484556d3ae610a34582ce5ebd2c3e27bba (patch)
tree035309b7240f8fd0e51eb965a4092af592f158c2 /cddl/sbin/zfs
parent10bcc4da6ceced9746fe498f12d0603951258367 (diff)
downloadsrc-afa7b3484556d3ae610a34582ce5ebd2c3e27bba.tar.gz
src-afa7b3484556d3ae610a34582ce5ebd2c3e27bba.zip
Do not hash unlinked inodes
In zfs_znode_alloc we always hash inodes. If the znode is unlinked, we do not need to hash it. This fixes the problem where zfs_suspend_fs is doing zrele (iput) in an async fashion, and zfs_resume_fs unlinked drain processing will try to hash an inode that could still be hashed, resulting in a panic. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alan Somers <asomers@gmail.com> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes #9741 Closes #11223 Closes #11648 Closes #12210
Diffstat (limited to 'cddl/sbin/zfs')
0 files changed, 0 insertions, 0 deletions