All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iomap: Add IOMAP_F_ZERO_TAIL flag to trace event strings
@ 2026-06-03 14:40 Namjae Jeon
  2026-06-03 14:42 ` Darrick J. Wong
  2026-06-04  7:57 ` Christian Brauner
  0 siblings, 2 replies; 3+ messages in thread
From: Namjae Jeon @ 2026-06-03 14:40 UTC (permalink / raw)
  To: brauner, djwong, hch; +Cc: linux-fsdevel, 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.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
---
 fs/iomap/trace.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/iomap/trace.h b/fs/iomap/trace.h
index 097773c6db80..93b3fa12de17 100644
--- a/fs/iomap/trace.h
+++ b/fs/iomap/trace.h
@@ -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 \
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-04  7:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 14:40 [PATCH] iomap: Add IOMAP_F_ZERO_TAIL flag to trace event strings Namjae Jeon
2026-06-03 14:42 ` Darrick J. Wong
2026-06-04  7:57 ` Christian Brauner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.