diff options
author | Geliang Tang <geliangtang@gmail.com> | 2018-02-13 14:40:39 +0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-03-06 15:06:11 -0800 |
commit | 239b716199d9aff0d09444b0086e23aacd6bd445 (patch) | |
tree | 0f8efe4127fc13cb10c624ee140840254e77a929 /fs/pstore/Kconfig | |
parent | 91ab883eb21325ad80f3473633f794c78ac87f51 (diff) | |
download | linux-239b716199d9aff0d09444b0086e23aacd6bd445.tar.bz2 |
pstore: Add lz4hc and 842 compression support
Currently, pstore has supported three compression algorithms: zlib,
lzo and lz4. This patch added two more compression algorithms: lz4hc
and 842.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
[kees: tweaked Kconfig help text slightly]
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/pstore/Kconfig')
-rw-r--r-- | fs/pstore/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig index b42e5bd6d8ff..898abafea7a5 100644 --- a/fs/pstore/Kconfig +++ b/fs/pstore/Kconfig @@ -19,6 +19,11 @@ choice help This option chooses compression algorithm. + Currently, pstore has support for 5 compression algorithms: + zlib, lzo, lz4, lz4hc and 842. + + The default compression algorithm is zlib. + config PSTORE_ZLIB_COMPRESS bool "ZLIB" select ZLIB_DEFLATE @@ -39,6 +44,21 @@ config PSTORE_LZ4_COMPRESS select LZ4_DECOMPRESS help This option enables LZ4 compression algorithm support. + +config PSTORE_LZ4HC_COMPRESS + bool "LZ4HC" + select LZ4HC_COMPRESS + select LZ4_DECOMPRESS + help + This option enables LZ4HC (high compression) mode algorithm. + +config PSTORE_842_COMPRESS + bool "842" + select 842_COMPRESS + select 842_DECOMPRESS + help + This option enables 842 compression algorithm support. + endchoice config PSTORE_CONSOLE |