linux/fs/f2fs
Namjae Jeon 696c018c77 f2fs: add remount_fs callback support
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 collection in f2fs based on the background_gc
value. If background_gc=on, Garbage collection will
be turned off & if background_gc=off, Garbage collection
will be truned on.

By default the garbage collection is on in f2fs.

Change Log:
v2: Incorporated the review comments by Gu Zheng.
    Removing the restore part for VFS flags
    Updating comments with proper flag conditions
    Display GC background option as ON/OFF
    Revised conditions to stop GC in case of remount

v1: Initial changes for adding remount_fs callback
support.

Cc: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com>
Reviewed-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
[Jaegeuk Kim: change /** with /* for the coding style]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2013-06-17 21:17:55 +09:00
..
acl.c f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
acl.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
checkpoint.c f2fs: fix iget/iput of dir during recovery 2013-06-07 13:21:37 +09:00
data.c f2fs: optimize do_write_data_page() 2013-06-14 09:04:44 +09:00
debug.c f2fs: use list_for_each_entry rather than list_for_each_entry_safe 2013-05-28 15:03:02 +09:00
dir.c f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
f2fs.h f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
file.c f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
gc.c f2fs: reorganise the function get_victim_by_default 2013-06-06 14:20:46 +09:00
gc.h f2fs: avoid frequent background GC 2013-04-26 10:35:03 +09:00
hash.c f2fs: unify string length declarations and usage 2012-12-28 11:27:53 +09:00
inode.c f2fs: avoid freqeunt write_inode calls 2013-06-14 09:04:43 +09:00
Kconfig f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
namei.c f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
node.c f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
node.h f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
recovery.c f2fs: fix iget/iput of dir during recovery 2013-06-07 13:21:37 +09:00
segment.c f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
segment.h f2fs: modify the number of issued pages to merge IOs 2013-04-30 12:07:32 +09:00
super.c f2fs: add remount_fs callback support 2013-06-17 21:17:55 +09:00
xattr.c f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
xattr.h f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00