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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user