f2fs: change reclaim rate in percentage
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 19 Mar 2014 05:17:21 +0000 (14:17 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 20 Mar 2014 13:10:10 +0000 (22:10 +0900)
commit58c410351eba3d24f741c85a0eb9eaf15c94047d
tree0d6f328aa1c7645a8ba92bc80c91cfd425ca3c91
parent9179682591c231cc77840d4e75929cc1fa573365
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>
Documentation/filesystems/f2fs.txt
fs/f2fs/segment.c
fs/f2fs/segment.h