Skip to content

f2fs: Add tracepoints support in f2fs filesystem

Namjae Jeon linux-fsdevel lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 9 repliesIn review
  2. v37 patches 4 repliesSuperseded
  3. v27 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches3 repliesSuperseded

Change Log from the cover letter

v4: Modified the tracepoints as per the review comments of Jaegeuk Kim. Following tracepoints are added newly:

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7f2fs: add tracepoints for sync & Inode operationsfs/f2fs/file.c fs/f2fs/inode.c fs/f2fs/namei.c +2 more+243 -41 reply
2/7f2fs: add tracepoints for truncate operationfs/f2fs/file.c fs/f2fs/node.c include/trace/events/f2fs.h+218 -31 reply
3/7f2fs: add tracepoint for tracing the page i/o operationsfs/f2fs/data.c include/trace/events/f2fs.h+77 -21 reply
4/7f2fs: add tracepoints for GC threadsfs/f2fs/gc.c include/trace/events/f2fs.h+40 -01 reply
5/7f2fs: add tracepoints to debug the block allocation & fallocatefs/f2fs/data.c fs/f2fs/file.c include/trace/events/f2fs.h+65 -11 reply
6/7f2fs: add tracepoints for write page operationsfs/f2fs/checkpoint.c fs/f2fs/data.c fs/f2fs/segment.c +1 more+128 -01 reply
7/7f2fs: add tracepoints to debug checkpoint requestfs/f2fs/checkpoint.c include/trace/events/f2fs.h+26 -01 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchSteven Rostedt
1/7A-b A-b
2/7A-b A-b
3/7A-b A-b
4/7A-b A-b
5/7A-b A-b
6/7A-b A-b
7/7A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/7] f2fs: Add tracepoints support in f2fs filesystem

From: Namjae Jeon <[email protected]>

Add tracepoints in f2fs filesystem for tracing the filesystem operations for information/debugging purpose if needed. All the tracepoints are clubbed with respect to functionalities.

Change Log:
v4: Modified the tracepoints as per the review comments of Jaegeuk Kim. Following tracepoints are added newly:

trace_f2fs_truncate_blocks_enter
trace_f2fs_truncate_blocks_exit
trace_f2fs_truncate_inode_blocks_enter
trace_f2fs_truncate_inode_blocks_exit
trace_f2fs_truncate_node
trace_f2fs_submit_write_page
trace_f2fs_do_submit_bio
trace_f2fs_write_checkpoint

While some of the tracepoints are modified to add new parameters.

v3: Introduced TRACE_EVENT_CONDITION() macro for checking the condition page->mapping inside the trace point function call as per Steve's review comment for the patch

v2: Added DECLARE_EVENT_CLASS() macro for combining the similar type of trace function calls which has same type of arguments.

v1: Introduced the tracepoint functions in f2fs filesystem.

Namjae Jeon (7):
f2fs: add tracepoints for sync & Inode operations
f2fs: add tracepoints for truncate operation
f2fs: add tracepoint for tracing the page i/o operations
f2fs: add tracepoints for GC threads
f2fs: add tracepoints to debug the block allocation & fallocate
f2fs: add tracepoints for write page operations
f2fs: add tracepoints to debug checkpoint request

Signature · 1 line
1.7.9.5