lkml.org 
[lkml]   [2016]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 7/8] zram: add more compression algorithms
    Date
    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
    \
     
     \ /
      Last update: 2016-05-31 14:41    [W:4.233 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site