summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-10 03:03:53 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-04-16 19:45:40 +0300
commit10027551ccf5459cc771c31ac8bc8e5cc8db45f8 (patch)
treeeae6cfe1d0daae9d6ed5e30d63e2f966af847d46 /include
parentfeb7cbb079e63ebb7c0bd7022d2ba9c1dd15c69b (diff)
downloadlinux-10027551ccf5459cc771c31ac8bc8e5cc8db45f8.tar.xz
f2fs: pass checkpoint reason on roll-forward recovery
This patch adds CP_RECOVERY to remain recovery information for checkpoint. And, it makes sure writing checkpoint in this case. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h
index 75724bd28356..8804f22a08d1 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -78,6 +78,7 @@
{ CP_UMOUNT, "Umount" }, \
{ CP_FASTBOOT, "Fastboot" }, \
{ CP_SYNC, "Sync" }, \
+ { CP_RECOVERY, "Recovery" }, \
{ CP_DISCARD, "Discard" })
struct victim_sel_policy;