summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2025-10-03 09:46:41 -0400
committerChristian Brauner <brauner@kernel.org>2025-11-05 12:57:25 +0100
commit66d78a11479cfea00e8d1d9d3e33f3db1597e6bf (patch)
treee1acec8921c8913d68f61540d2ee7e1f8305e721 /scripts/lib
parent39be21386d14974393ac45eda11942989720f81b (diff)
xfs: error tag to force zeroing on debug kernels
iomap_zero_range() has to cover various corner cases that are difficult to test on production kernels because it is used in fairly limited use cases. For example, it is currently only used by XFS and mostly only in partial block zeroing cases. While it's possible to test most of these functional cases, we can provide more robust test coverage by co-opting fallocate zero range to invoke zeroing of the entire range instead of the more efficient block punch/allocate sequence. Add an errortag to occasionally invoke forced zeroing. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions