Re: [PATCH v2] iomap: add IOMAP_DIO_FSBLOCK_ALIGNED flag

Christoph Hellwig
2025-10-14T04:58:25Z

On Tue, Oct 14, 2025 at 03:25:31PM +1030, Qu Wenruo wrote:
> Unfortunately that may not be that easy. Either we merge it early, meaning
> just this change + using the new flag in btrfs.
> But that means it makes no real change at all, as bs > ps direct IO is still
> disabled.
>
> Or we wait for the btrfs sub-block checksum handling patchset merged, then
> with the full bs > ps direct IO enablement.
> But that also means we're waiting for some other btrfs patches.
> There are already too many btrfs bs > ps patches pending now.

What's your plan for merging this? I was going to look into doing a
patch like this to improve the zoned XFS direct I/O handling soon,
so if you aim for 6.19 we need to figure out a way to get it into
the iomap tree and merge that into the xfs and btrfs trees. If you're
not aiming for 6.19 we could merge the iomap and xfs work through
either the iomap or xfs trees.