]> git.proxmox.com Git - mirror_zfs.git/commit
Restore dirty dnode detection logic
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Nov 2021 00:14:32 +0000 (16:14 -0800)
committerGitHub <noreply@github.com>
Thu, 11 Nov 2021 00:14:32 +0000 (16:14 -0800)
commitc23803be84cb5cc9d98186221f4106a9962dfc45
tree2813acdadf76c9553c8abc64e3eb453f6b8b5178
parent371e0f7754746f2b2574006ec5dd58059cf165cd
Restore dirty dnode detection logic

In addition to flushing memory mapped regions when checking holes,
commit de198f2d95 modified the dirty dnode detection logic to check
the dn->dn_dirty_records instead of the dn->dn_dirty_link.  Relying
on the dirty record has not be reliable, switch back to the previous
method.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #11900
Closes #12745
module/zfs/dnode.c