Re: [PATCH 2/6] iomap, xfs: lift zero range hole mapping flush into xfs

Christoph Hellwig
2025-11-07T13:59:04Z

On Thu, Nov 06, 2025 at 03:32:08PM -0800, Darrick J. Wong wrote:
> A harder question is: what would filesystems put in write_map for a pure
> read? They could leave it at the default (null mapping) and the kernel
> wouldn't pay attention to it.

Please make them entirely separate iomap_iters, and allowing nesting.
That way no write map even exists for pure reads.