Skip to contentSkip to conversation

iomap: Add IOMAP_F_ZERO_TAIL flag to trace event strings

PATCH Applied Namjae Jeon 3 participants 3 messages Jun 3 – Jun 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iomap: Add IOMAP_F_ZERO_TAIL flag to trace event strings

Add IOMAP_F_ZERO_TAIL to the flag string mapping in iomap trace events. This allows the new flag to be properly displayed in ftrace output when iomap operations use it.

---
 fs/iomap/trace.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/iomap/trace.h +2 -1
index 097773c6db80..93b3fa12de17 100644
@@ -118,7 +118,8 @@ DEFINE_RANGE_EVENT(iomap_zero_iter);
 	{ IOMAP_F_ATOMIC_BIO,	"ATOMIC_BIO" }, \
 	{ IOMAP_F_PRIVATE,	"PRIVATE" }, \
 	{ IOMAP_F_SIZE_CHANGED,	"SIZE_CHANGED" }, \
-	{ IOMAP_F_STALE,	"STALE" }
+	{ IOMAP_F_STALE,	"STALE" }, \
+	{ IOMAP_F_ZERO_TAIL,	"ZERO TAIL" }
 
 
 #define IOMAP_DIO_STRINGS \
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Namjae Jeon

Add IOMAP_F_ZERO_TAIL to the flag string mapping in iomap trace events. This allows the new flag to be properly displayed in ftrace output when iomap operations use it.

Looks good to me,

--D

Quoted 21 lines
---
 fs/iomap/trace.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/iomap/trace.h +2 -1
index 097773c6db80..93b3fa12de17 100644
@@ -118,7 +118,8 @@ DEFINE_RANGE_EVENT(iomap_zero_iter);
 	{ IOMAP_F_ATOMIC_BIO,	"ATOMIC_BIO" }, \
 	{ IOMAP_F_PRIVATE,	"PRIVATE" }, \
 	{ IOMAP_F_SIZE_CHANGED,	"SIZE_CHANGED" }, \
-	{ IOMAP_F_STALE,	"STALE" }
+	{ IOMAP_F_STALE,	"STALE" }, \
+	{ IOMAP_F_ZERO_TAIL,	"ZERO TAIL" }
 
 
 #define IOMAP_DIO_STRINGS \
Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw
In reply to Namjae Jeon
Quoted 3 lines · Namjae Jeon

Add IOMAP_F_ZERO_TAIL to the flag string mapping in iomap trace events. This allows the new flag to be properly displayed in ftrace output when iomap operations use it.

Applied to the vfs-7.2.iomap branch of the vfs/vfs.git tree. Patches in the vfs-7.2.iomap branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.2.iomap

[1/1] iomap: Add IOMAP_F_ZERO_TAIL flag to trace event strings

      https://git.kernel.org/vfs/vfs/c/26f7aa308824