[PATCH] zram: add zpool support v2

2016-06-15 Thread Geliang Tang
On Mon, Jun 13, 2016 at 11:11:00AM +0200, Vitaly Wool wrote: > Den 8 juni 2016 6:33 em skrev "Dan Streetman" : > > > > On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang > wrote: > > > This patch adds zpool support for zram, it will allow us to use both > > >

[PATCH] zram: add zpool support v2

2016-06-15 Thread Geliang Tang
On Mon, Jun 13, 2016 at 11:11:00AM +0200, Vitaly Wool wrote: > Den 8 juni 2016 6:33 em skrev "Dan Streetman" : > > > > On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang > wrote: > > > This patch adds zpool support for zram, it will allow us to use both > > > the zpool api and directly zsmalloc api in

Re: [PATCH] zram: add zpool support

2016-06-08 Thread Sergey Senozhatsky
Hello, On (06/09/16 10:34), Minchan Kim wrote: > On Wed, Jun 08, 2016 at 10:51:28AM -0400, Dan Streetman wrote: > > On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang wrote: > > > This patch adds zpool support for zram, it will allow us to use both > > > the zpool api and

Re: [PATCH] zram: add zpool support

2016-06-08 Thread Sergey Senozhatsky
Hello, On (06/09/16 10:34), Minchan Kim wrote: > On Wed, Jun 08, 2016 at 10:51:28AM -0400, Dan Streetman wrote: > > On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang wrote: > > > This patch adds zpool support for zram, it will allow us to use both > > > the zpool api and directly zsmalloc api in

Re: [PATCH] zram: add zpool support

2016-06-08 Thread Minchan Kim
On Wed, Jun 08, 2016 at 10:51:28AM -0400, Dan Streetman wrote: > On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang wrote: > > This patch adds zpool support for zram, it will allow us to use both > > the zpool api and directly zsmalloc api in zram. > > besides the problems

Re: [PATCH] zram: add zpool support

2016-06-08 Thread Minchan Kim
On Wed, Jun 08, 2016 at 10:51:28AM -0400, Dan Streetman wrote: > On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang wrote: > > This patch adds zpool support for zram, it will allow us to use both > > the zpool api and directly zsmalloc api in zram. > > besides the problems below, this was discussed a

Re: [PATCH] zram: add zpool support

2016-06-08 Thread Dan Streetman
On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang wrote: > This patch adds zpool support for zram, it will allow us to use both > the zpool api and directly zsmalloc api in zram. besides the problems below, this was discussed a while ago and I believe Minchan is still against

Re: [PATCH] zram: add zpool support

2016-06-08 Thread Dan Streetman
On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang wrote: > This patch adds zpool support for zram, it will allow us to use both > the zpool api and directly zsmalloc api in zram. besides the problems below, this was discussed a while ago and I believe Minchan is still against it, as nobody has so far

[PATCH] zram: add zpool support

2016-06-08 Thread Geliang Tang
This patch adds zpool support for zram, it will allow us to use both the zpool api and directly zsmalloc api in zram. Signed-off-by: Geliang Tang --- drivers/block/zram/zram_drv.c | 97 +++ drivers/block/zram/zram_drv.h | 5 +++ 2

[PATCH] zram: add zpool support

2016-06-08 Thread Geliang Tang
This patch adds zpool support for zram, it will allow us to use both the zpool api and directly zsmalloc api in zram. Signed-off-by: Geliang Tang --- drivers/block/zram/zram_drv.c | 97 +++ drivers/block/zram/zram_drv.h | 5 +++ 2 files changed, 102