commit | b2dde6fca37e947628b82ae8f35e183ff112d07c | [log] [tgz] |
---|---|---|
author | Shuoran Liu <liushuoran@huawei.com> | Tue Mar 29 18:00:15 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Mar 30 13:21:16 2016 -0700 |
tree | 2de4672a8f5e129fc01a944c18fd5185c97b0b31 | |
parent | c90e09f7fb498f81cd4e8bb6460d3a26ccebeca3 [diff] |
f2fs: retrieve IO write stat from the right place In the following patch, f2fs: split journal cache from curseg cache journal cache is split from curseg cache. So IO write statistics should be retrived from journal cache but not curseg->sum_blk. Otherwise, it will get 0, and the stat is lost. Signed-off-by: Shuoran Liu <liushuoran@huawei.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>