f2fs: compress: support chksum
authorChao Yu <yuchao0@huawei.com>
Thu, 26 Nov 2020 10:32:09 +0000 (18:32 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 3 Dec 2020 06:00:22 +0000 (22:00 -0800)
commitb28f047b28c51d0b9864c34b097bb0b221ea7247
treed4e6f534dd5746eb54943653c79fc1133b80b803
parent493720a4854343b7c3fe100cda6a3a2c3f8d4b5d
f2fs: compress: support chksum

This patch supports to store chksum value with compressed
data, and verify the integrality of compressed data while
reading the data.

The feature can be enabled through specifying mount option
'compress_chksum'.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/filesystems/f2fs.rst
fs/f2fs/compress.c
fs/f2fs/f2fs.h
fs/f2fs/inode.c
fs/f2fs/super.c
include/linux/f2fs_fs.h