From: Namjae Jeon Date: Sun, 4 Aug 2013 14:10:15 +0000 (+0900) Subject: f2fs: add sysfs entries to select the gc policy X-Git-Tag: v3.12-rc1~127^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2dc095f4280ad5fdea33769e8e119fd16648426;p=pandora-kernel.git 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 Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Reviewed-by: Gu Zheng [Jaegeuk Kim: change the select_gc_type() flow slightly] Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed