Re: [PATCH -next] zram: fix compr_data_size stat
From: Sergey Senozhatsky
Date: Thu Aug 10 2017 - 21:38:30 EST
On (08/11/17 10:35), Sergey Senozhatsky wrote:
> On (08/11/17 09:10), Yisheng Xie wrote:
> > The compr_data_size is a stat for compressed size of pages stored, which
> > should add comp_len when we compresse a page.
> >
> > Meanwhile fix typos in comment:
> > * ZRAM_SAME means page consists the same element not the entirely zero page
> > * read_from_bdev_async() return 1 to avoid call page_endio() in zram_rw_page()
> >
> > Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
>
> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
seems that some of the changes can be folded into the existing -next patches.
-ss