diff options
author | Fengnan Chang <changfengnan@vivo.com> | 2021-08-12 19:36:41 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-08-12 13:46:05 -0700 |
commit | a2649315bcb88a136ce978a06af8aa23ea8b4154 (patch) | |
tree | 6a2863d0ce6c34ade071eb42aaa4b7a840961cee /arch/hexagon | |
parent | 65ddf6564843890a58ee3b18bb46ce67d96333fb (diff) |
f2fs: compress: avoid duplicate counting of valid blocks when read compressed file
Since cluster is basic unit of compression, one cluster is compressed or
not, so we can calculate valid blocks only for first page in cluster,
the other pages just skip.
Signed-off-by: Fengnan Chang <changfengnan@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions