zram: add lz4 algorithm backend
[sfrench/cifs-2.6.git] / drivers / block / zram / Kconfig
index 3450be85039943c649a3a96ff54376b39113f542..6489c0fd0ea6e43d5edb9c7c3cbab4e3cf51dad0 100644 (file)
@@ -15,6 +15,16 @@ config ZRAM
 
          See zram.txt for more information.
 
+config ZRAM_LZ4_COMPRESS
+       bool "Enable LZ4 algorithm support"
+       depends on ZRAM
+       select LZ4_COMPRESS
+       select LZ4_DECOMPRESS
+       default n
+       help
+         This option enables LZ4 compression algorithm support. Compression
+         algorithm can be changed using `comp_algorithm' device attribute.
+
 config ZRAM_DEBUG
        bool "Compressed RAM block device debug support"
        depends on ZRAM