Re: [PATCH 04/10] iomap: split bios to zone append limits in the submission handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux