iomap: Add IOMAP_F_ZERO_TAIL flag to trace event strings
Subsystems (2)
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
@@ -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
Quoted 5 lines · Namjae Jeon
Add
IOMAP_F_ZERO_TAILto 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 <[email protected]>
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@@ -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
Quoted 3 lines · Namjae Jeon
Add
IOMAP_F_ZERO_TAILto 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