Re: [PATCH 1/2] f2fs: add remount_fs callback support

2013-06-16 Thread Gu Zheng
On 06/16/2013 08:48 AM, Namjae Jeon wrote: > From: Namjae Jeon > > Add the f2fs_remount function call which will be used > during the filesystem remounting. This function > will help us to change the mount options specific to > f2fs. > > Also modify the f2fs background_gc mount option, which >

[PATCH 1/2] f2fs: add remount_fs callback support

2013-06-15 Thread Namjae Jeon
From: Namjae Jeon Add the f2fs_remount function call which will be used during the filesystem remounting. This function will help us to change the mount options specific to f2fs. Also modify the f2fs background_gc mount option, which will allow the user to dynamically trun on/off the garbage col

Re: [PATCH 1/2] f2fs: add remount_fs callback support

2013-06-06 Thread Namjae Jeon
[snip] >> >>> + + /** + * We stop the GC thread if FS is mounted as RO + * or if background_gc = 0 is passed in mount + * option. Also sync the filesystem. + */ + if ((*flags & MS_RDONLY) || !test_opt(sbi, BG_GC)) { >>> >>> >>> Another

Re: [PATCH 1/2] f2fs: add remount_fs callback support

2013-06-06 Thread Gu Zheng
Hi Namjae, On 06/05/2013 12:34 PM, Namjae Jeon wrote: > 2013/6/4 Gu Zheng : >> On 06/01/2013 03:20 PM, Namjae Jeon wrote: >> >>> From: Namjae Jeon >>> >>> Add the f2fs_remount function call which will be used >>> during the filesystem remounting. This function >>> will help us to change the moun

Re: [PATCH 1/2] f2fs: add remount_fs callback support

2013-06-04 Thread Namjae Jeon
2013/6/4 Gu Zheng : > On 06/01/2013 03:20 PM, Namjae Jeon wrote: > >> From: Namjae Jeon >> >> Add the f2fs_remount function call which will be used >> during the filesystem remounting. This function >> will help us to change the mount options specific to >> f2fs. >> >> Also modify the f2fs backgro

Re: [PATCH 1/2] f2fs: add remount_fs callback support

2013-06-03 Thread Gu Zheng
On 06/01/2013 03:20 PM, Namjae Jeon wrote: > From: Namjae Jeon > > Add the f2fs_remount function call which will be used > during the filesystem remounting. This function > will help us to change the mount options specific to > f2fs. > > Also modify the f2fs background_gc mount option, which >

[PATCH 1/2] f2fs: add remount_fs callback support

2013-06-01 Thread Namjae Jeon
From: Namjae Jeon Add the f2fs_remount function call which will be used during the filesystem remounting. This function will help us to change the mount options specific to f2fs. Also modify the f2fs background_gc mount option, which will allow the user to dynamically trun on/off the garbage col