diff options
author | Paul Zuchowski <[email protected]> | 2021-06-11 20:00:33 -0400 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2021-06-23 13:22:15 -0700 |
commit | bd197378e772881357249f49dc7114481d8d1645 (patch) | |
tree | c0ca76aeb47e2a183169cb53785836756811546d /lib/libspl/include/devid.h | |
parent | cd2bb9ca44a25cda1f7b81e7026028899743df7c (diff) |
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 <[email protected]>
Reviewed-by: Alan Somers <[email protected]>
Signed-off-by: Paul Zuchowski <[email protected]>
Closes #9741
Closes #11223
Closes #11648
Closes #12210
Diffstat (limited to 'lib/libspl/include/devid.h')
0 files changed, 0 insertions, 0 deletions