aboutsummaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorChangman Lee2014-12-24 02:16:54 +0900
committerJaegeuk Kim2015-01-09 17:02:25 -0800
commitb9a2c252071d44d4a22082611db84272be1f3b49 (patch)
tree648488af676b159b8c37996730a8e0e1fc3c8179 /fs/f2fs/segment.c
parentdd802406e396c22dfb5aa0d16196f04d515be49e (diff)
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.c1
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);
}