]> git.proxmox.com Git - mirror_zfs.git/commit
Revert "Report holes when there are only metadata changes"
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 31 May 2019 00:13:18 +0000 (17:13 -0700)
committerGitHub <noreply@github.com>
Fri, 31 May 2019 00:13:18 +0000 (17:13 -0700)
commit2531ce372015a90f090176ae61105a9ea1a8f992
treead0191b39ff6f785a86a137caa2b014245dafec4
parent1608985a411a8fd7698a41f9150f4bb3543d7093
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
module/zfs/dmu.c