Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Holding the zp->z_rangelock is insufficient to prevent the dnode from being re-dirtied in all cases. To avoid looping indefinately in dmu_offset_next() on files being actively written only wait once for a dirty dnode to be synced. If after waiting it's still dirty don't report the hole. This is always safe. Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#14512
- Loading branch information