Re: [PATCH v7 2/4] zram: force disksize setting before using zram

2013-02-04 Thread Minchan Kim
On Mon, Feb 04, 2013 at 01:33:15AM -0600, Ric Mason wrote: > Hi Minchan, > On Mon, 2013-02-04 at 08:46 +0900, 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

Re: [PATCH v7 2/4] zram: force disksize setting before using zram

2013-02-03 Thread Ric Mason
Hi Minchan, On Mon, 2013-02-04 at 08:46 +0900, 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, y

[PATCH v7 2/4] zram: force disksize setting before using zram

2013-02-03 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