diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-01-10 00:45:17 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-01-12 02:56:42 +0300 |
commit | 42190d2a8663f3e181894dc4e37a1af06aab2cbb (patch) | |
tree | e6240dfb414053f3c4f937f32597cd2f0fc69408 /fs/f2fs/segment.c | |
parent | d0239e1bf5204d602281f93c01d46bcf3531098d (diff) | |
download | linux-42190d2a8663f3e181894dc4e37a1af06aab2cbb.tar.xz |
f2fs: monitor the number of background checkpoint
This patch adds to show the number of background checkpoint.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r-- | fs/f2fs/segment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index d8ad1abfa4fd..5904a411c86f 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -297,6 +297,7 @@ void f2fs_balance_fs_bg(struct f2fs_sb_info *sbi) if (test_opt(sbi, DATA_FLUSH)) sync_dirty_inodes(sbi, FILE_INODE); f2fs_sync_fs(sbi->sb, true); + stat_inc_bg_cp_count(sbi->stat_info); } } |