diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-09-29 12:31:27 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-10-01 03:33:21 +0200 |
commit | b63e7be5908cb757fc6b98fb9534dabd78b5338a (patch) | |
tree | 7e51986be3b0ce721f8574119835d0dc20c3e080 /fs/f2fs/segment.c | |
parent | f2fs: keep lazytime on remount (diff) | |
download | linux-b63e7be5908cb757fc6b98fb9534dabd78b5338a.tar.xz linux-b63e7be5908cb757fc6b98fb9534dabd78b5338a.zip |
f2fs: add to account meta IO
This patch supports to account meta IO, it enables to show write IO
from f2fs more comprehensively via 'status' debugfs entry.
Signed-off-by: Chao Yu <yuchao0@huawei.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 d33e9d0d5d47..3fa8870569cc 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -3018,6 +3018,7 @@ void f2fs_do_write_meta_page(struct f2fs_sb_info *sbi, struct page *page, ClearPageError(page); f2fs_submit_page_write(&fio); + stat_inc_meta_count(sbi, page->index); f2fs_update_iostat(sbi, io_type, F2FS_BLKSIZE); } |