aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2014-03-19 14:17:21 +0900
committerZiyan <jaraidaniel@gmail.com>2015-05-02 14:36:37 +0200
commitae22129e33f7e18d411499659de7dd73d247d0f4 (patch)
tree2a447a9e29fc31e368d233f566eeb2fc9e898cec /Documentation
parentd31cb2a8c860a616662c24892e3f732c8389ce75 (diff)
downloadkernel_samsung_tuna-ae22129e33f7e18d411499659de7dd73d247d0f4.zip
kernel_samsung_tuna-ae22129e33f7e18d411499659de7dd73d247d0f4.tar.gz
kernel_samsung_tuna-ae22129e33f7e18d411499659de7dd73d247d0f4.tar.bz2
f2fs: change reclaim rate in percentage
It is more reasonable to determine the reclaiming rate of prefree segments according to the volume size, which is set to 5% by default. For example, if the volume is 128GB, the prefree segments are reclaimed when the number reaches to 6.4GB. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/f2fs.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index a920935..a37f391 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -167,9 +167,11 @@ Files in /sys/fs/f2fs/<devname>
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.
+ segments is larger than the number of segments
+ in the proportion to the percentage over total
+ volume size, f2fs tries to conduct checkpoint to
+ reclaim the prefree segments to free segments.
+ By default, 5% over total # of segments.
ipu_policy This parameter controls the policy of in-place
updates in f2fs. There are five policies: