Skip to contentSkip to conversation

reiser4: zstd1 compression support

PATCH New Edward Shishkin 1 participant 1 message Nov 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 reiser4: zstd1 compression support

commit 61c212718cde654474672ec35389b18a52d6a711

Author: BratSinot <[email protected]>
Date:   Sun Nov 26 11:36:03 2017 +0100

Reiser4: zstd1 compression support

Kconfig +2 -0
index a2f2b05f4..e55f8bc51 100644
@@ -4,6 +4,8 @@ config REISER4_FS
 	select ZLIB_DEFLATE
 	select LZO_COMPRESS
 	select LZO_DECOMPRESS
+	select ZSTD_COMPRESS
+	select ZSTD_DECOMPRESS
 	select CRYPTO
 	select CRYPTO_CRC32C
 	help
plugin/compress/compress.c +175 -0

193 lines not on this page · raw message

plugin/compress/compress.h +1 -0
index cf00ce103..235273897 100644
@@ -15,6 +15,7 @@ typedef enum {
 typedef enum {
 	LZO1_COMPRESSION_ID,
 	GZIP1_COMPRESSION_ID,
+	ZSTD1_COMPRESSION_ID,
 	LAST_COMPRESSION_ID,
 } reiser4_compression_id;