]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Documentation: iomap: Add missing flags description
authorRitesh Harjani (IBM) <ritesh.list@gmail.com>
Sat, 12 Apr 2025 04:36:34 +0000 (10:06 +0530)
committerChristian Brauner <brauner@kernel.org>
Tue, 15 Apr 2025 08:30:48 +0000 (10:30 +0200)
commit336bac5e0892d0a24b55e7569981e641b23aef9a
tree7281c6c538a387cf79d39eb0c39f9086b17473b9
parent0af2f6be1b4281385b618cb86ad946eded089ac8
Documentation: iomap: Add missing flags description

Let's document the use of these flags in iomap design doc where other
flags are defined too -

- IOMAP_F_BOUNDARY was added by XFS to prevent merging of I/O and I/O
  completions across RTG boundaries.
- IOMAP_F_ATOMIC_BIO was added for supporting atomic I/O operations
  for filesystems to inform the iomap that it needs HW-offload based
  mechanism for torn-write protection.

While we are at it, let's also fix the description of IOMAP_F_PRIVATE
flag after a recent:
commit 923936efeb74b3 ("iomap: Fix conflicting values of iomap flags")

Signed-off-by: "Ritesh Harjani (IBM)" <ritesh.list@gmail.com>
Link: https://lore.kernel.org/8d8534a704c4f162f347a84830710db32a927b2e.1744432270.git.ritesh.list@gmail.com
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/iomap/design.rst