diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-03-03 17:46:02 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-04-03 10:21:10 -0700 |
commit | 50cfa66f0de02eff30fb81bdc878bb986cf3aff3 (patch) | |
tree | f0734034069425ffb2d453931e3859c0001cedfd /fs/f2fs/Kconfig | |
parent | 23b1faaade19a2aa2d4c3e387b875d105675343e (diff) | |
download | linux-50cfa66f0de02eff30fb81bdc878bb986cf3aff3.tar.bz2 |
f2fs: compress: support zstd compress algorithm
Add zstd compress algorithm support, use "compress_algorithm=zstd"
mountoption to enable it.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/Kconfig')
-rw-r--r-- | fs/f2fs/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig index f0faada30f30..bb68d21e1f8c 100644 --- a/fs/f2fs/Kconfig +++ b/fs/f2fs/Kconfig @@ -118,3 +118,12 @@ config F2FS_FS_LZ4 default y help Support LZ4 compress algorithm, if unsure, say Y. + +config F2FS_FS_ZSTD + bool "ZSTD compression support" + depends on F2FS_FS_COMPRESSION + select ZSTD_COMPRESS + select ZSTD_DECOMPRESS + default y + help + Support ZSTD compress algorithm, if unsure, say Y. |