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

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 unused memory whenever

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

2014-08-25 Thread Chao Yu
> 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'm not discouraging. :) > > > &

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

2014-08-25 Thread Chao Yu
...@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'm not discouraging. :) Nope, please let me try again, :) Since we have supported handling discard request

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

2014-08-22 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 > >

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

2014-08-22 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 Chao, > > > > On Wed, Aug 20, 2014 at 04:20:48

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

2014-08-22 Thread Minchan Kim
; ngu...@vflare.org; 'Jerome Marchand'; '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: Minchan Kim [mailto:minc

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

2014-08-22 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

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

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

2014-08-21 Thread Chao Yu
inc...@kernel.org] > > > Sent: Wednesday, August 20, 2014 10:09 AM > > > To: Sergey Senozhatsky > > > Cc: Chao Yu; linux-kernel@vger.kernel.org; linux...@kvack.org; > > > ngu...@vflare.org; 'Jerome > > > Marchand'; 'Andrew Morton' > > > Subject: Re: [PATCH] zra

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

2014-08-21 Thread Chao Yu
; 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:00PM +0900, Sergey Senozhatsky wrote: Hello

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 unused

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:00PM +0900, Sergey

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

2014-08-20 Thread Chao Yu
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/15/14 11:27), Chao

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

2014-08-20 Thread Chao Yu
] 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/15/14 11:27), Chao Yu wrote: Now we have supported handling discard request which is sended

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

2014-08-20 Thread Minchan Kim
; 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:00PM +0900, Sergey Senozhatsky wrote: Hello, On (08/19/14 13:45), Chao Yu wrote: On (08/15/14 11:27), Chao Yu

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

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

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 be used to show

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 pages, then

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 > > filesystem, > &

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

2014-08-18 Thread Chao Yu
'; '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 filesystem, but no interface could be used to show information of discard

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

2014-08-15 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

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

2014-08-15 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: we