diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-24 02:49:07 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-25 03:54:39 -0400 |
commit | ea91e9b043057d29e092dd4d0a13cd79b78fb5b5 (patch) | |
tree | 7c1fd29422b30d5b60380a9e3b8c86e9b98edf1a /Documentation/filesystems/f2fs.txt | |
parent | 4660f9c0fe484353b17a4b9d1cc2b036fa895f76 (diff) |
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/filesystems/f2fs.txt')
-rw-r--r-- | Documentation/filesystems/f2fs.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index 3cd27bed6349..4c647c280dcc 100644 --- a/Documentation/filesystems/f2fs.txt +++ b/Documentation/filesystems/f2fs.txt | |||
@@ -164,6 +164,12 @@ Files in /sys/fs/f2fs/<devname> | |||
164 | gc_idle = 1 will select the Cost Benefit approach | 164 | gc_idle = 1 will select the Cost Benefit approach |
165 | & setting gc_idle = 2 will select the greedy aproach. | 165 | & setting gc_idle = 2 will select the greedy aproach. |
166 | 166 | ||
167 | reclaim_segments This parameter controls the number of prefree | ||
168 | segments to be reclaimed. If the number of prefree | ||
169 | segments is larger than this number, f2fs tries to | ||
170 | conduct checkpoint to reclaim the prefree segments | ||
171 | to free segments. By default, 100 segments, 200MB. | ||
172 | |||
167 | ================================================================================ | 173 | ================================================================================ |
168 | USAGE | 174 | USAGE |
169 | ================================================================================ | 175 | ================================================================================ |