summaryrefslogtreecommitdiff
path: root/fs/f2fs/Kconfig
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-03-03 12:46:02 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2020-04-03 20:21:10 +0300
commit50cfa66f0de02eff30fb81bdc878bb986cf3aff3 (patch)
treef0734034069425ffb2d453931e3859c0001cedfd /fs/f2fs/Kconfig
parent23b1faaade19a2aa2d4c3e387b875d105675343e (diff)
downloadlinux-50cfa66f0de02eff30fb81bdc878bb986cf3aff3.tar.xz
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/Kconfig9
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.