diff options
author | 2021-08-12 19:36:41 +0800 | |
---|---|---|
committer | 2021-08-12 13:46:05 -0700 | |
commit | a2649315bcb88a136ce978a06af8aa23ea8b4154 (patch) | |
tree | 6a2863d0ce6c34ade071eb42aaa4b7a840961cee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: fix to do sanity check for sb/cp fields correctly (diff) | |
download | linux-dev-a2649315bcb88a136ce978a06af8aa23ea8b4154.tar.xz linux-dev-a2649315bcb88a136ce978a06af8aa23ea8b4154.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions