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

2012-11-27 Thread Minchan Kim
On Mon, Nov 26, 2012 at 09:04:47PM -0800, Nitin Gupta wrote: > On 11/22/2012 06:42 PM, 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 1/2] zram: force disksize setting before using zram

2012-11-27 Thread Minchan Kim
On Mon, Nov 26, 2012 at 09:04:47PM -0800, Nitin Gupta wrote: On 11/22/2012 06:42 PM, 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

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

2012-11-26 Thread Nitin Gupta
On 11/22/2012 06:42 PM, 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 after

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

2012-11-26 Thread Nitin Gupta
On 11/22/2012 06:42 PM, 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 after

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

2012-11-22 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

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

2012-11-22 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