Re: [PATCH v2] zram: support REQ_DISCARD

2014-03-06 Thread Minchan Kim
On Sat, Mar 01, 2014 at 12:24:37AM +0900, Joonsoo Kim wrote: > 2014-02-26 17:07 GMT+09:00 Minchan Kim : > > Hi Joonsoo, > > > > On Wed, Feb 26, 2014 at 02:23:15PM +0900, Joonsoo Kim wrote: > >> zram is ram based block device and can be used by backend of filesystem. > >> When filesystem deletes a f

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-28 Thread Joonsoo Kim
2014-02-26 17:07 GMT+09:00 Minchan Kim : > Hi Joonsoo, > > On Wed, Feb 26, 2014 at 02:23:15PM +0900, Joonsoo Kim wrote: >> zram is ram based block device and can be used by backend of filesystem. >> When filesystem deletes a file, it normally doesn't do anything on data >> block of that file. It ju

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-28 Thread Joonsoo Kim
2014-02-26 23:06 GMT+09:00 Jerome Marchand : > On 02/26/2014 02:57 PM, Sergey Senozhatsky wrote: >> On (02/26/14 14:44), Jerome Marchand wrote: >>> On 02/26/2014 02:16 PM, Sergey Senozhatsky wrote: Hello, On (02/26/14 14:23), Joonsoo Kim wrote: > zram is ram based block device an

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-26 Thread Jerome Marchand
On 02/26/2014 02:57 PM, Sergey Senozhatsky wrote: > On (02/26/14 14:44), Jerome Marchand wrote: >> On 02/26/2014 02:16 PM, Sergey Senozhatsky wrote: >>> Hello, >>> >>> On (02/26/14 14:23), Joonsoo Kim wrote: zram is ram based block device and can be used by backend of filesystem. When fil

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-26 Thread Sergey Senozhatsky
On (02/26/14 14:44), Jerome Marchand wrote: > On 02/26/2014 02:16 PM, Sergey Senozhatsky wrote: > > Hello, > > > > On (02/26/14 14:23), Joonsoo Kim wrote: > >> zram is ram based block device and can be used by backend of filesystem. > >> When filesystem deletes a file, it normally doesn't do anyth

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-26 Thread Jerome Marchand
On 02/26/2014 02:16 PM, Sergey Senozhatsky wrote: > Hello, > > On (02/26/14 14:23), Joonsoo Kim wrote: >> zram is ram based block device and can be used by backend of filesystem. >> When filesystem deletes a file, it normally doesn't do anything on data >> block of that file. It just marks on meta

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-26 Thread Sergey Senozhatsky
Hello, On (02/26/14 14:23), Joonsoo Kim wrote: > zram is ram based block device and can be used by backend of filesystem. > When filesystem deletes a file, it normally doesn't do anything on data > block of that file. It just marks on metadata of that file. This behavior > has no problem on disk b

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-26 Thread Minchan Kim
Hi Joonsoo, On Wed, Feb 26, 2014 at 02:23:15PM +0900, Joonsoo Kim wrote: > zram is ram based block device and can be used by backend of filesystem. > When filesystem deletes a file, it normally doesn't do anything on data > block of that file. It just marks on metadata of that file. This behavior