Re: [PATCH v2] generic/795: add unaligned boundary test cases for WRITE_ZEROES

Christoph Hellwig <[email protected]> Mon, 13 Jul 2026 15:34:49 +0200
Newsgroups org.kernel.vger.fstests,org.kernel.vger.linux-ext4,org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Mon, Jul 13, 2026 at 03:21:36PM +0200, Pankaj Raghav wrote:
> What about adding an option to io/filemap.c to take a flag that allows calling
> fiemap without FIEMAP_FLAG_SYNC? So this test could depend on xfs_io fiemap command
> with the flag support enabled? I can revert this test to the previous version which uses
> xfs io fiemap instead of filefrag.

That could work, and adding this flag would be useful in general.

It still has the issue that we require bleeding edge tools, but at least
feature detection for the flag would be easy.