aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2021-08-06 08:02:50 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-08-17 11:59:06 -0700
commitbbe1da7e34ac5a830163bfdfa09cbe3dadfda3ce (patch)
tree804f9537149283a4b182b6817c7cf9952880aeda /include/trace
parentf2fs: fix description about main_blkaddr node (diff)
downloadlinux-dev-bbe1da7e34ac5a830163bfdfa09cbe3dadfda3ce.tar.xz
linux-dev-bbe1da7e34ac5a830163bfdfa09cbe3dadfda3ce.zip
f2fs: compress: do sanity check on cluster
This patch adds f2fs_sanity_check_cluster() to support doing sanity check on cluster of compressed file, it will be triggered from below two paths: - __f2fs_cluster_blocks() - f2fs_map_blocks(F2FS_GET_BLOCK_FIEMAP) And it can detect below three kind of cluster insanity status. C: COMPRESS_ADDR N: NULL_ADDR or NEW_ADDR V: valid blkaddr *: any value 1. [*|C|*|*] 2. [C|*|C|*] 3. [C|N|N|V] Signed-off-by: Chao Yu <chao@kernel.org> [Nathan Chancellor: fix missing inline warning] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions