projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644c8c9
)
f2fs: show the CP_PAUSE reason in checkpoint traces
author
Sahitya Tummala
<stummala@codeaurora.org>
Fri, 3 Jan 2020 03:19:28 +0000
(08:49 +0530)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Sat, 18 Jan 2020 00:48:43 +0000
(16:48 -0800)
Remove the duplicate CP_UMOUNT enum and add the new CP_PAUSE
enum to show the checkpoint reason in the trace prints.
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
include/trace/events/f2fs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/trace/events/f2fs.h
b/include/trace/events/f2fs.h
index e68d4d9e5e4d62121551423a83560949afd34f4e..67a97838c2a08476326b99898df67ed3752edcae 100644
(file)
--- a/
include/trace/events/f2fs.h
+++ b/
include/trace/events/f2fs.h
@@
-49,6
+49,7
@@
TRACE_DEFINE_ENUM(CP_SYNC);
TRACE_DEFINE_ENUM(CP_RECOVERY);
TRACE_DEFINE_ENUM(CP_DISCARD);
TRACE_DEFINE_ENUM(CP_TRIMMED);
+TRACE_DEFINE_ENUM(CP_PAUSE);
#define show_block_type(type) \
__print_symbolic(type, \
@@
-124,7
+125,7
@@
TRACE_DEFINE_ENUM(CP_TRIMMED);
{ CP_SYNC, "Sync" }, \
{ CP_RECOVERY, "Recovery" }, \
{ CP_DISCARD, "Discard" }, \
- { CP_
UMOUNT, "Umount" },
\
+ { CP_
PAUSE, "Pause" },
\
{ CP_TRIMMED, "Trimmed" })
#define show_fsync_cpreason(type) \