[lkml]   [2014]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCHv5 0/4] add compressing abstraction and multi stream support
This patchset introduces zcomp compression backend abstraction
adding ability to support compression algorithms other than LZO;
support for multi compression streams, making parallel compressions

Diff from v4 (reviewed by Minchan Kim):
-- renamed zcomp buffer_lock; removed src len and dst len from
compress() and decompress(); not using term `buffer' and
`workmem' in code and documentation; define compress() and
decompress() functions for LZO backend; not using goto's;
do not put idle zcomp_strm to idle list tail.

Diff from v3:
-- renamed compression backend and working memory structs as requested
by Minchan Kim; fixed several issues noted by Minchan Kim.

Sergey Senozhatsky (4):
zram: introduce compressing backend abstraction
zram: use zcomp compressing backends
zram: zcomp support multi compressing streams
zram: document max_comp_streams

Documentation/ABI/testing/sysfs-block-zram | 9 +-
Documentation/blockdev/zram.txt | 20 +++-
drivers/block/zram/Makefile | 2 +-
drivers/block/zram/zcomp.c | 155 +++++++++++++++++++++++++++++
drivers/block/zram/zcomp.h | 56 +++++++++++
drivers/block/zram/zcomp_lzo.c | 48 +++++++++
drivers/block/zram/zram_drv.c | 102 ++++++++++++-------
drivers/block/zram/zram_drv.h | 10 +-
8 files changed, 355 insertions(+), 47 deletions(-)
create mode 100644 drivers/block/zram/zcomp.c
create mode 100644 drivers/block/zram/zcomp.h
create mode 100644 drivers/block/zram/zcomp_lzo.c


 \ /
  Last update: 2014-02-13 19:41    [W:0.079 / U:1.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site