]> www.infradead.org Git - users/hch/xfs.git/commit
iomap: split bios to zone append limits in the submission handlers
authorChristoph Hellwig <hch@lst.de>
Tue, 5 Nov 2024 08:09:21 +0000 (09:09 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 5 Nov 2024 08:26:39 +0000 (09:26 +0100)
commit983f1e17ab3ff33d780679eeec8939149d9b2ad5
treefdc18d9680aab6f6f00d403eb336e592710ab160
parenteffef028ec7012d8ae2ca7c4e61ccb3c105839f1
iomap: split bios to zone append limits in the submission handlers

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@lst.de>
fs/iomap/Makefile
fs/iomap/buffered-io.c
fs/iomap/internal.h [new file with mode: 0644]
fs/iomap/ioend.c [new file with mode: 0644]
fs/xfs/xfs_aops.h
include/linux/iomap.h