HomeFreeBSD

Revert "Report holes when there are only metadata changes"

Description

Revert "Report holes when there are only metadata changes"

This reverts commit ec4f9b8f30 which introduced a narrow race which
can lead to lseek(, SEEK_DATA) incorrectly returning ENXIO. Resolve
the issue by revering this change to restore the previous behavior
which depends solely on checking the dirty list.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8816
Closes #8834

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 31 2019, 12:13 AM
GitHub <noreply@github.com>Committed on May 31 2019, 12:13 AM
Parents
rG1608985a411a: Add link count test for root inode
Branches
Unknown
Tags
Unknown
Reverts
rGec4f9b8f3039: Report holes when there are only metadata changes