]> www.infradead.org Git - users/hch/xfs.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 04:49:02 +0000 (05:49 +0100)
commit8eb54dc863deb71838ee1680c292f6f2bbf326f0
tree4de0c5f9aa479db32d6f309bae3e73ee3556cd9f
parent28cbacb1b83532dff8a6fd49942db367b0a93acd
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