summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2026-01-04 10:07:23 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2026-01-07 03:17:07 +0000
commit67972c2b89749356bc9823bd58f7f14b28e681e4 (patch)
treea132ad333cf87c512763e37a8211996f896a134c /include/trace
parentce9fe67c9cdb21a0321f8ea37b725b3258d2b3cd (diff)
f2fs: trace elapsed time for io_rwsem lock
Use f2fs_{down,up}_{read,write}_trace for io_rwsem to trace lock elapsed time. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/f2fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h
index 859de7c8d1c7..c3b6b509472f 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -190,7 +190,8 @@ TRACE_DEFINE_ENUM(CP_PHASE_FINISH_CHECKPOINT);
{ LOCK_NAME_NODE_CHANGE, "node_change" }, \
{ LOCK_NAME_NODE_WRITE, "node_write" }, \
{ LOCK_NAME_GC_LOCK, "gc_lock" }, \
- { LOCK_NAME_CP_GLOBAL, "cp_global" })
+ { LOCK_NAME_CP_GLOBAL, "cp_global" }, \
+ { LOCK_NAME_IO_RWSEM, "io_rwsem" })
struct f2fs_sb_info;
struct f2fs_io_info;