Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1410255 > unrolled thread

[PATCH v2 7/8] zram: add more compression algorithms

Started bySergey Senozhatsky <sergey.senozhatsky@gmail.com>
First post2016-05-31 14:30 +0200
Last post2016-06-01 02:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 7/8] zram: add more compression algorithms Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-05-31 14:30 +0200
    Re: [PATCH v2 7/8] zram: add more compression algorithms Minchan Kim <minchan@kernel.org> - 2016-06-01 02:30 +0200

#1410255 — [PATCH v2 7/8] zram: add more compression algorithms

FromSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Date2016-05-31 14:30 +0200
Subject[PATCH v2 7/8] zram: add more compression algorithms
Message-ID<rEQY3-2DM-39@gated-at.bofh.it>
Add "deflate", "lz4hc", "842" algorithms to the list of
known compression backends. The real availability of those
algorithms, however, depends on the corresponding
CONFIG_CRYPTO_FOO config options.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
---
 drivers/block/zram/zcomp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/block/zram/zcomp.c b/drivers/block/zram/zcomp.c
index 0c8606b..1e0fc1d1 100644
--- a/drivers/block/zram/zcomp.c
+++ b/drivers/block/zram/zcomp.c
@@ -21,6 +21,9 @@
 static const char * const backends[] = {
 	"lzo",
 	"lz4",
+	"deflate",
+	"lz4hc",
+	"842",
 	NULL
 };
 
-- 
2.8.3.394.g3916adf

[toc] | [next] | [standalone]


#1410703

FromMinchan Kim <minchan@kernel.org>
Date2016-06-01 02:30 +0200
Message-ID<rF2cN-18J-5@gated-at.bofh.it>
In reply to#1410255
On Tue, May 31, 2016 at 09:20:16PM +0900, Sergey Senozhatsky wrote:
> Add "deflate", "lz4hc", "842" algorithms to the list of
> known compression backends. The real availability of those
> algorithms, however, depends on the corresponding
> CONFIG_CRYPTO_FOO config options.
> 
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> Cc: Minchan Kim <minchan@kernel.org>
> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Minchan Kim <minchan@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web