Skip to content
Commit b2dde6fc authored by Shuoran Liu's avatar Shuoran Liu Committed by Jaegeuk Kim
Browse files

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: default avatarShuoran Liu <liushuoran@huawei.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent c90e09f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment