summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/debug.c
diff options
context:
space:
mode:
authorChangman Lee <cm224.lee@samsung.com>2014-02-13 07:12:29 +0100
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-02-17 06:58:53 +0100
commit942e0be6219cc80384eb961feb963cab275bcbbf (patch)
treeb38db31dd6a15cce11b5dc2310e342ad88249a59 /fs/f2fs/debug.c
parentf2fs: introduce ra_meta_pages to readahead CP/NAT/SIT pages (diff)
downloadlinux-942e0be6219cc80384eb961feb963cab275bcbbf.tar.xz
linux-942e0be6219cc80384eb961feb963cab275bcbbf.zip
f2fs: show counts of checkpoint in status
This patch shows the counts of checkpoint in f2fs' status. Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/debug.c')
-rw-r--r--fs/f2fs/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c
index 3de9d20d0c14..46a12e46179a 100644
--- a/fs/f2fs/debug.c
+++ b/fs/f2fs/debug.c
@@ -236,6 +236,7 @@ static int stat_show(struct seq_file *s, void *v)
si->dirty_count);
seq_printf(s, " - Prefree: %d\n - Free: %d (%d)\n\n",
si->prefree_count, si->free_segs, si->free_secs);
+ seq_printf(s, "CP calls: %d\n", si->cp_count);
seq_printf(s, "GC calls: %d (BG: %d)\n",
si->call_count, si->bg_gc);
seq_printf(s, " - data segments : %d\n", si->data_segs);