Re: [PATCH v3 1/4] zram: force disksize setting before using zram

2013-01-21 Thread Minchan Kim
On Mon, Jan 21, 2013 at 08:39:00PM +0100, Jerome Marchand wrote: > On 01/21/2013 06:21 AM, Minchan Kim wrote: > > Now zram document syas "set disksize is optional" > > but partly it's wrong. When you try to use zram firstly after > > booting, you must set disksize, otherwise zram can't work because

Re: [PATCH v3 1/4] zram: force disksize setting before using zram

2013-01-21 Thread Jerome Marchand
On 01/21/2013 06:21 AM, Minchan Kim wrote: > Now zram document syas "set disksize is optional" > but partly it's wrong. When you try to use zram firstly after > booting, you must set disksize, otherwise zram can't work because > zram gendisk's size is 0. But once you do it, you can use zram freely

[PATCH v3 1/4] zram: force disksize setting before using zram

2013-01-20 Thread Minchan Kim
Now zram document syas "set disksize is optional" but partly it's wrong. When you try to use zram firstly after booting, you must set disksize, otherwise zram can't work because zram gendisk's size is 0. But once you do it, you can use zram freely after reset because reset doesn't reset to zero par