aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2013-06-16 09:48:48 +0900
committerAndreas Blaesius <skate4life@gmx.de>2016-06-05 21:20:29 +0200
commite1eca46b24f570768c44b0c9fbda0ea04bbb54fd (patch)
treef76e5fe224c50ed6a227d86b1055475f743828a1 /Documentation
parenta50c5f9cb496bdfe1e6bda85584a368e50a6da2c (diff)
downloadkernel_samsung_espresso10-e1eca46b24f570768c44b0c9fbda0ea04bbb54fd.zip
kernel_samsung_espresso10-e1eca46b24f570768c44b0c9fbda0ea04bbb54fd.tar.gz
kernel_samsung_espresso10-e1eca46b24f570768c44b0c9fbda0ea04bbb54fd.tar.bz2
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> Change-Id: I5a66412430ab809636396cbb5eabaef26ec2414e
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/f2fs.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index bd3c56c..b91e2f2 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -98,8 +98,13 @@ Cleaning Overhead
MOUNT OPTIONS
================================================================================
-background_gc_off Turn off cleaning operations, namely garbage collection,
- triggered in background when I/O subsystem is idle.
+background_gc=%s Turn on/off cleaning operations, namely garbage
+ collection, triggered in background when I/O subsystem is
+ idle. If background_gc=on, it will turn on the garbage
+ collection and if background_gc=off, garbage collection
+ will be truned off.
+ Default value for this option is on. So garbage
+ collection is on by default.
disable_roll_forward Disable the roll-forward recovery routine
discard Issue discard/TRIM commands when a segment is cleaned.
no_heap Disable heap-style segment allocation which finds free