summaryrefslogtreecommitdiffstats
path: root/include/trace/events/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim2014-09-21 07:06:39 +0200
committerJaegeuk Kim2014-10-01 00:06:09 +0200
commit4b2fecc84655055a6a1fe9151786992ac04b56ce (patch)
tree05f5f041260756216c0b3f1a0da2360be31580b6 /include/trace/events/f2fs.h
parentf2fs: introduce cp_control structure (diff)
downloadkernel-qcow2-linux-4b2fecc84655055a6a1fe9151786992ac04b56ce.tar.gz
kernel-qcow2-linux-4b2fecc84655055a6a1fe9151786992ac04b56ce.tar.xz
kernel-qcow2-linux-4b2fecc84655055a6a1fe9151786992ac04b56ce.zip
f2fs: introduce FITRIM in f2fs_ioctl
This patch introduces FITRIM in f2fs_ioctl. In this case, f2fs will issue small discards and prefree discards as many as possible for the given area. Reviewed-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace/events/f2fs.h')
-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 66eaace9c07e..bbc4de9baef7 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -72,7 +72,8 @@
#define show_cpreason(type) \
__print_symbolic(type, \
{ CP_UMOUNT, "Umount" }, \
- { CP_SYNC, "Sync" })
+ { CP_SYNC, "Sync" }, \
+ { CP_DISCARD, "Discard" })
struct victim_sel_policy;