diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-08-04 23:10:15 +0900 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-06-05 21:20:34 +0200 |
commit | 7dde57584299c785535c5847b3baa99ac70baa6f (patch) | |
tree | 36d5c29f27aafe03cdfed96d0b79e34f9ebc4ac0 /Documentation/CodingStyle | |
parent | 9d7b9427077ca7c1b7bb299375f8e532a1be2754 (diff) | |
download | kernel_samsung_espresso10-7dde57584299c785535c5847b3baa99ac70baa6f.zip kernel_samsung_espresso10-7dde57584299c785535c5847b3baa99ac70baa6f.tar.gz kernel_samsung_espresso10-7dde57584299c785535c5847b3baa99ac70baa6f.tar.bz2 |
f2fs: add sysfs entries to select the gc policy
Add sysfs entry gc_idle to control the gc policy. Where
gc_idle = 1 corresponds to selecting a cost benefit approach,
while gc_idle = 2 corresponds to selecting a greedy approach
to garbage collection. The selection is mutually exclusive one
approach will work at any point. If gc_idle = 0, then this
option is disabled.
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 the select_gc_type() flow slightly]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions