Commit b3609875 authored by Daeho Jeong's avatar Daeho Jeong Committed by Lee Jones
Browse files

UPSTREAM: f2fs: include non-compressed blocks in compr_written_block



Need to include non-compressed blocks in compr_written_block to
estimate average compression ratio more accurately.

Bug: 254441685
Fixes: 5ac443e2 ("f2fs: add sysfs nodes to get runtime compression stat")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 09631cf3)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I6d241fbac3b03f4083457da8c4f079a59c80b42e
parent 8599a67e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment