Chao Yu 2aaea533bf f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on
This patch covers sanity check logic on cluster w/ CONFIG_F2FS_CHECK_FS,
otherwise, there will be performance regression while querying cluster
mapping info.

Callers of f2fs_is_compressed_cluster() only care about whether cluster
is compressed or not, rather than # of valid blocks in compressed cluster,
so, let's adjust f2fs_is_compressed_cluster()'s logic according to
caller's requirement.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2023-09-12 13:49:33 -07:00
..
2023-01-19 09:24:27 +01:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2023-09-02 15:37:59 -07:00
2023-04-18 09:05:54 -07:00
2023-09-02 15:37:59 -07:00
2023-02-27 16:18:51 -08:00
2023-09-02 15:37:59 -07:00
2023-06-26 06:07:10 -07:00