Re: [PATCHv7 3/7] zram: factor out single stream compression

2014-02-26 Thread Sergey Senozhatsky
Hello Minchan, On (02/26/14 13:34), Minchan Kim wrote: > Hello Sergey, > > On Tue, Feb 25, 2014 at 02:34:29PM +0300, Sergey Senozhatsky wrote: > > This is preparation patch to add multi stream support to zcomp. > > > > Introduce struct zcomp_strm_single and a set of functions to manage > > zcom

Re: [PATCHv7 3/7] zram: factor out single stream compression

2014-02-25 Thread Minchan Kim
Hello Sergey, On Tue, Feb 25, 2014 at 02:34:29PM +0300, Sergey Senozhatsky wrote: > This is preparation patch to add multi stream support to zcomp. > > Introduce struct zcomp_strm_single and a set of functions to manage zcomp_strm > stream access. zcomp_strm_single implements single compession st

[PATCHv7 3/7] zram: factor out single stream compression

2014-02-25 Thread Sergey Senozhatsky
This is preparation patch to add multi stream support to zcomp. Introduce struct zcomp_strm_single and a set of functions to manage zcomp_strm stream access. zcomp_strm_single implements single compession stream, same way as current zcomp implementation. This moves zcomp_strm stream control and lo