Re: [PATCH] ntfs: treat any nonzero dio zero-range return as an error

From: Wentao Guan

Date: Tue Aug 25 2026 - 04:35:15 EST


NOTE this here need also rollback the clusters that were installed in,
and taken from the volume bitmap for the failed hole: leaving them mapped
would let a later read reach unzeroed clusters and expose stale
on-disk data even though fallocate() failed. Punch the allocation
back out of the runlist and free the clusters before returning.

But I don`t know how to easily imply them, anyone has idea please let me
know.

BRs
Wentao Guan