Namjae Jeon d2dc095f42 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>
2013-08-06 22:00:18 +09:00
..
2013-06-11 16:01:03 +09:00
2012-12-11 13:43:42 +09:00
2013-07-30 15:17:03 +09:00
2013-07-31 19:07:01 +09:00
2013-07-30 15:17:03 +09:00
2013-07-30 15:17:03 +09:00
2013-06-11 16:01:03 +09:00
2012-12-11 13:43:42 +09:00
2013-07-30 15:17:03 +09:00
2013-06-11 16:01:03 +09:00
2013-06-11 16:01:03 +09:00