diff options
author | Changman Lee <cm224.lee@samsung.com> | 2014-02-13 07:12:29 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-02-17 06:58:53 +0100 |
commit | 942e0be6219cc80384eb961feb963cab275bcbbf (patch) | |
tree | b38db31dd6a15cce11b5dc2310e342ad88249a59 /fs/f2fs/checkpoint.c | |
parent | f2fs: introduce ra_meta_pages to readahead CP/NAT/SIT pages (diff) | |
download | linux-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/checkpoint.c')
-rw-r--r-- | fs/f2fs/checkpoint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index deb60356f7cf..757b77b7118e 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -914,6 +914,7 @@ void write_checkpoint(struct f2fs_sb_info *sbi, bool is_umount) unblock_operations(sbi); mutex_unlock(&sbi->cp_mutex); + stat_inc_cp_count(sbi->stat_info); trace_f2fs_write_checkpoint(sbi->sb, is_umount, "finish checkpoint"); } |