]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iomap: simplify io_flags and io_type in struct iomap_ioend
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Feb 2025 06:40:00 +0000 (07:40 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 6 Feb 2025 12:02:13 +0000 (13:02 +0100)
commit710273330663241d9ca5fbed51909e65807556ad
tree03358ccb3dceb0eb597be3c56323c347c75811a6
parentc50105933f0c75aacc4f95c9bf36f7fbd9a83884
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>
Link: https://lore.kernel.org/r/20250206064035.2323428-3-hch@lst.de
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/buffered-io.c
fs/xfs/xfs_aops.c
include/linux/iomap.h