]> www.infradead.org Git - users/hch/xfs.git/commit
iomap: simplify io_flags and io_type in struct iomap_ioend
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Nov 2024 12:53:36 +0000 (13:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 04:49:03 +0000 (05:49 +0100)
commit6fa791a097a2471306010256d342775ddaf7341c
treefb72630d07ef12494d3c07c3b009c806e0017061
parent8eb54dc863deb71838ee1680c292f6f2bbf326f0
iomap: simplify io_flags and io_type in struct iomap_ioend

The ioend fields for distinct types of I/O are a bit complicated.
Consolidate them into a single io_flag field with it's own flags
decoupled from the iomap flags.  This also prepares for adding a new
flag that is unrelated to both of the iomap namespaces.

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