Re: [PATCH v2] iomap: add IOMAP_DIO_FSBLOCK_ALIGNED flag

Christoph Hellwig
2025-10-22T07:23:00Z

On Tue, Oct 21, 2025 at 03:03:08PM +0200, Christian Brauner wrote:
> On Mon, 13 Oct 2025 19:35:16 +1030, Qu Wenruo wrote:
> > Btrfs requires all of its bios to be fs block aligned, normally it's
> > totally fine but with the incoming block size larger than page size
> > (bs > ps) support, the requirement is no longer met for direct IOs.
> >
> > Because iomap_dio_bio_iter() calls bio_iov_iter_get_pages(), only
> > requiring alignment to be bdev_logical_block_size().
> >
> > [...]
>
> Applied to the vfs-6.19.iomap branch of the vfs/vfs.git tree.
> Patches in the vfs-6.19.iomap branch should appear in linux-next soon.

I'm not seeing it yet.