diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-11-26 18:32:09 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-16 13:32:17 +0200 |
commit | 70fb69e05a258e4fec458ce3f2497775b41ffcc3 (patch) | |
tree | e775dfcd82618da96e8421159ad672325bc6bb6c /Documentation | |
parent | 1ada965692908b99578ec95e6ec62d5df4358342 (diff) | |
download | linux-stable-70fb69e05a258e4fec458ce3f2497775b41ffcc3.tar.gz linux-stable-70fb69e05a258e4fec458ce3f2497775b41ffcc3.tar.bz2 linux-stable-70fb69e05a258e4fec458ce3f2497775b41ffcc3.zip |
f2fs: compress: support chksum
[ Upstream commit b28f047b28c51d0b9864c34b097bb0b221ea7247 ]
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>
Stable-dep-of: 7c5dffb3d90c ("f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/filesystems/f2fs.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index 8c0fbdd8ce6f..3d21a9e86995 100644 --- a/Documentation/filesystems/f2fs.rst +++ b/Documentation/filesystems/f2fs.rst @@ -260,6 +260,7 @@ compress_extension=%s Support adding specified extension, so that f2fs can enab For other files, we can still enable compression via ioctl. Note that, there is one reserved special extension '*', it can be set to enable compression for all files. +compress_chksum Support verifying chksum of raw data in compressed cluster. inlinecrypt When possible, encrypt/decrypt the contents of encrypted files using the blk-crypto framework rather than filesystem-layer encryption. This allows the use of |