Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-26 Thread Sergey Senozhatsky
Hello, On (08/26/14 10:43), Chao Yu wrote: > Hi Sergey, > > > Nope, please let me try again, :) > > > > > > Since we have supported handling discard request in this commit > > > f4659d8e620d08bd1a84a8aec5d2f5294a242764 (zram: support REQ_DISCARD), > > > zram got > > > one more chance to free unus

RE: [PATCH] zram: add num_discards for discarded pages stat

2014-08-25 Thread Chao Yu
el@vger.kernel.org; > linux...@kvack.org; > ngu...@vflare.org; 'Jerome Marchand'; 'Andrew Morton' > Subject: Re: [PATCH] zram: add num_discards for discarded pages stat > > On (08/21/14 17:09), Chao Yu wrote: > [cut] > > > > > > I hope I

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-21 Thread Minchan Kim
Hi Sergey, On Thu, Aug 21, 2014 at 10:05:04PM +0900, Sergey Senozhatsky wrote: > On (08/21/14 17:09), Chao Yu wrote: > [cut] > > > > > > I hope I'm not discouraging. :) > > > > Nope, please let me try again, :) > > > > Since we have supported handling discard request in this commit > > f4659d8e

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-21 Thread Minchan Kim
sky'; linux-kernel@vger.kernel.org; linux...@kvack.org; > > ngu...@vflare.org; > > 'Jerome Marchand'; 'Andrew Morton' > > Subject: Re: [PATCH] zram: add num_discards for discarded pages stat > > > > Hi Chao, > > > > On

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-21 Thread Sergey Senozhatsky
On (08/21/14 17:09), Chao Yu wrote: [cut] > > > > I hope I'm not discouraging. :) > > Nope, please let me try again, :) > > Since we have supported handling discard request in this commit > f4659d8e620d08bd1a84a8aec5d2f5294a242764 (zram: support REQ_DISCARD), zram got > one more chance to free u

RE: [PATCH] zram: add num_discards for discarded pages stat

2014-08-21 Thread Chao Yu
hand'; 'Andrew Morton' > Subject: Re: [PATCH] zram: add num_discards for discarded pages stat > > Hi Chao, > > On Wed, Aug 20, 2014 at 04:20:48PM +0800, Chao Yu wrote: > > Hi Minchan, > > > > > -Original Message- > > > From:

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-20 Thread Minchan Kim
linux-kernel@vger.kernel.org; linux...@kvack.org; > > ngu...@vflare.org; 'Jerome > > Marchand'; 'Andrew Morton' > > Subject: Re: [PATCH] zram: add num_discards for discarded pages stat > > > > Hi Sergey, > > > > On Tue, Aug 19, 2014 at 08:25

RE: [PATCH] zram: add num_discards for discarded pages stat

2014-08-20 Thread Chao Yu
; 'Andrew Morton' > Subject: Re: [PATCH] zram: add num_discards for discarded pages stat > > Hi Sergey, > > On Tue, Aug 19, 2014 at 08:25:00PM +0900, Sergey Senozhatsky wrote: > > Hello, > > > > On (08/19/14 13:45), Chao Yu wrote: > > > > On (08

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-19 Thread Minchan Kim
Hi Sergey, On Tue, Aug 19, 2014 at 08:25:00PM +0900, Sergey Senozhatsky wrote: > Hello, > > On (08/19/14 13:45), Chao Yu wrote: > > > On (08/15/14 11:27), Chao Yu wrote: > > > > Now we have supported handling discard request which is sended by > > > > filesystem, > > > > but no interface could b

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-19 Thread Sergey Senozhatsky
Hello, On (08/19/14 13:45), Chao Yu wrote: > > On (08/15/14 11:27), Chao Yu wrote: > > > Now we have supported handling discard request which is sended by > > > filesystem, > > > but no interface could be used to show information of discard. > > > This patch adds num_discards to stat discarded pa

RE: [PATCH] zram: add num_discards for discarded pages stat

2014-08-18 Thread Chao Yu
..@vflare.org; > 'Jerome Marchand'; 'Sergey Senozhatsky'; 'Andrew Morton' > Subject: Re: [PATCH] zram: add num_discards for discarded pages stat > > On (08/15/14 11:27), Chao Yu wrote: > > Now we have supported handling discard request which is sended by

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-14 Thread Sergey Senozhatsky
On (08/15/14 11:27), Chao Yu wrote: > Now we have supported handling discard request which is sended by filesystem, > but no interface could be used to show information of discard. > This patch adds num_discards to stat discarded pages, then export it to sysfs > for displaying. > a side question:

[PATCH] zram: add num_discards for discarded pages stat

2014-08-14 Thread Chao Yu
Now we have supported handling discard request which is sended by filesystem, but no interface could be used to show information of discard. This patch adds num_discards to stat discarded pages, then export it to sysfs for displaying. Signed-off-by: Chao Yu --- Documentation/ABI/testing/sysfs-bl