[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1391110088-14830-1-git-send-email-sergey.senozhatsky@gmail.com>
Date: Thu, 30 Jan 2014 22:28:06 +0300
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Minchan Kim <minchan@...nel.org>
Cc: Jerome Marchand <jmarchan@...hat.com>,
Nitin Gupta <ngupta@...are.org>, linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: [PATCHv2 0/2] add compression backend abstraction
This patchset add abstraction layer (zram_comp) to avoid direct LZO
calls and use a common compression backend interface instead. Patchset
introduces LZ4 support and new device attribute to switch used
compression algorithm.
Sergey Senozhatsky (2):
zram: introduce compressing backend abstraction
zram: use zram_comp compressing backends
drivers/block/zram/Kconfig | 20 +++-
drivers/block/zram/Makefile | 6 +-
drivers/block/zram/zcomp_lz4.c | 49 ++++++++++
drivers/block/zram/zcomp_lz4.h | 18 ++++
drivers/block/zram/zcomp_lzo.c | 49 ++++++++++
drivers/block/zram/zcomp_lzo.h | 18 ++++
drivers/block/zram/zram_comp.c | 204 +++++++++++++++++++++++++++++++++++++++++
drivers/block/zram/zram_comp.h | 64 +++++++++++++
drivers/block/zram/zram_drv.c | 96 ++++++++++++-------
drivers/block/zram/zram_drv.h | 8 +-
10 files changed, 492 insertions(+), 40 deletions(-)
create mode 100644 drivers/block/zram/zcomp_lz4.c
create mode 100644 drivers/block/zram/zcomp_lz4.h
create mode 100644 drivers/block/zram/zcomp_lzo.c
create mode 100644 drivers/block/zram/zcomp_lzo.h
create mode 100644 drivers/block/zram/zram_comp.c
create mode 100644 drivers/block/zram/zram_comp.h
--
1.9.rc1.183.g614c158
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists