]> www.infradead.org Git - users/hch/misc.git/commit
iomap: allow the file system to submit the writeback bios
authorChristoph Hellwig <hch@lst.de>
Tue, 5 Nov 2024 07:33:10 +0000 (08:33 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 09:18:37 +0000 (10:18 +0100)
commit9b724caf4a51fd083e5c00e0051236b916911460
tree2d43420676c60091c9382220f83bc29f13a9cc23
parentf08e9d973ef71daf81ae6cd7eb64acf21a5a036e
iomap: allow the file system to submit the writeback bios

Change ->prepare_ioend to ->submit_ioend and require file systems that
implement it to submit the bio.  This is needed for file systems that
do their own work on the bios before submitting them to the block layer
like btrfs or zoned xfs.  To make this easier also pass the writeback
context to the method.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Documentation/filesystems/iomap/operations.rst
fs/iomap/buffered-io.c
fs/xfs/xfs_aops.c
include/linux/iomap.h