diff options
author | Paul Zuchowski <31706010+PaulZ-98@users.noreply.github.com> | 2021-06-12 00:00:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 00:00:33 +0000 |
commit | afa7b3484556d3ae610a34582ce5ebd2c3e27bba (patch) | |
tree | 035309b7240f8fd0e51eb965a4092af592f158c2 /cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.neglquant.d | |
parent | 10bcc4da6ceced9746fe498f12d0603951258367 (diff) | |
download | src-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/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.neglquant.d')
0 files changed, 0 insertions, 0 deletions