]> www.infradead.org Git - users/hch/misc.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 09:18:37 +0000 (10:18 +0100)
commit914f263f01fe50b8ce761d8c286874b241458b0c
tree290ba0192f0b2949cc0e8f6e7dc81ac30356dddb
parent9b724caf4a51fd083e5c00e0051236b916911460
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