On Thu, Dec 19, 2024 at 10:17:25AM -0800, Darrick J. Wong wrote: > On Thu, Dec 19, 2024 at 05:39:09PM +0000, Christoph Hellwig wrote: > > Provide helpers for file systems to split bios in the direct I/O and > > writeback I/O submission handlers. > > > > This Follows btrfs' lead and don't try to build bios to hardware limits > > for zone append commands, but instead build them as normal unconstrained > > bios and split them to the hardware limits in the I/O submission handler. > > > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > > I wonder what iomap_split_ioend callsites look like now that the > alloc_len outparam from the previous version is gone, but I guess I'll > have to wait to see that. The initial callsite in XFS looks like this now: http://git.infradead.org/?p=users/hch/xfs.git;a=blob;f=fs/xfs/xfs_zone_alloc.c;h=00b4df1e628f5d65c7aba44326e5f62306ffbd98;hb=refs/heads/xfs-zoned-rebase#l790