aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-24 15:49:07 +0900
committerZiyan <jaraidaniel@gmail.com>2015-05-02 14:35:19 +0200
commitb4414aaaadcc6cdd69b2dfd5dd3f60b397a2c94e (patch)
tree95a750019e440a339792832e39881dd1df686921 /Documentation
parenta160a14f0e4367110d3360d607b181e88f76e793 (diff)
downloadkernel_samsung_tuna-b4414aaaadcc6cdd69b2dfd5dd3f60b397a2c94e.zip
kernel_samsung_tuna-b4414aaaadcc6cdd69b2dfd5dd3f60b397a2c94e.tar.gz
kernel_samsung_tuna-b4414aaaadcc6cdd69b2dfd5dd3f60b397a2c94e.tar.bz2
f2fs: add reclaiming control by sysfs
This patch adds a control method in sysfs to reclaim prefree segments. Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/f2fs.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index 3cd27be..4c647c2 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -164,6 +164,12 @@ Files in /sys/fs/f2fs/<devname>
gc_idle = 1 will select the Cost Benefit approach
& setting gc_idle = 2 will select the greedy aproach.
+ reclaim_segments This parameter controls the number of prefree
+ segments to be reclaimed. If the number of prefree
+ segments is larger than this number, f2fs tries to
+ conduct checkpoint to reclaim the prefree segments
+ to free segments. By default, 100 segments, 200MB.
+
================================================================================
USAGE
================================================================================