]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iomap: Rename IOMAP_ATOMIC -> IOMAP_ATOMIC_HW
authorJohn Garry <john.g.garry@oracle.com>
Mon, 3 Mar 2025 17:11:10 +0000 (17:11 +0000)
committerChristian Brauner <brauner@kernel.org>
Thu, 6 Mar 2025 10:00:12 +0000 (11:00 +0100)
commitb4de0e9be963b95c46c4a5426e94059923d236d6
tree51d61c486bdbc4ba46eb7fda4e01b6eb8984c617
parent1743d385e704c41ef028697ef44eeab987d5f5a2
iomap: Rename IOMAP_ATOMIC -> IOMAP_ATOMIC_HW

In future xfs will support a SW-based atomic write, so rename
IOMAP_ATOMIC -> IOMAP_ATOMIC_HW to be clear which mode is being used.

Also relocate setting of IOMAP_ATOMIC_HW to the write path in
__iomap_dio_rw(), to be clear that this flag is only relevant to writes.

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20250303171120.2837067-3-john.g.garry@oracle.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/iomap/operations.rst
fs/ext4/inode.c
fs/iomap/direct-io.c
fs/iomap/trace.h
include/linux/iomap.h