diff options
author | Changman Lee <cm224.lee@samsung.com> | 2014-12-23 18:16:54 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-10 02:02:25 +0100 |
commit | b9a2c252071d44d4a22082611db84272be1f3b49 (patch) | |
tree | 648488af676b159b8c37996730a8e0e1fc3c8179 /fs/f2fs/segment.c | |
parent | f2fs: avoid double lock for cp_rwsem (diff) | |
download | linux-b9a2c252071d44d4a22082611db84272be1f3b49.tar.xz linux-b9a2c252071d44d4a22082611db84272be1f3b49.zip |
f2fs: add block count by in-place-update in stat info
This patch adds block count by in-place-update in stat.
Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
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 b688991514fb..f995a850dfe7 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -1230,6 +1230,7 @@ void write_data_page(struct page *page, struct dnode_of_data *dn, void rewrite_data_page(struct page *page, struct f2fs_io_info *fio) { + stat_inc_inplace_blocks(F2FS_P_SB(page)); f2fs_submit_page_mbio(F2FS_P_SB(page), page, fio); } |