linux-stable/fs/f2fs
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
..
acl.c f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
acl.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
checkpoint.c f2fs: fix handling orphan inodes 2013-07-30 15:17:03 +09:00
data.c f2fs: remove an unneeded kfree(NULL) 2013-07-31 19:07:01 +09:00
debug.c f2fs: use seq_puts()/seq_putc() rather than seq_printf() where possible 2013-07-30 15:17:03 +09:00
dir.c f2fs: fix handling orphan inodes 2013-07-30 15:17:03 +09:00
f2fs.h f2fs: add sysfs support for controlling the gc_thread 2013-08-06 21:53:34 +09:00
file.c f2fs: fix i_name during f2fs_sync_file 2013-07-30 15:17:03 +09:00
gc.c f2fs: add sysfs entries to select the gc policy 2013-08-06 22:00:18 +09:00
gc.h f2fs: add sysfs entries to select the gc policy 2013-08-06 22:00:18 +09:00
hash.c f2fs: unify string length declarations and usage 2012-12-28 11:27:53 +09:00
inode.c f2fs: introduce help function F2FS_NODE() 2013-07-30 15:17:02 +09:00
Kconfig f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
namei.c f2fs: fix handling orphan inodes 2013-07-30 15:17:03 +09:00
node.c f2fs: introduce help function F2FS_NODE() 2013-07-30 15:17:02 +09:00
node.h f2fs: introduce help function F2FS_NODE() 2013-07-30 15:17:02 +09:00
recovery.c f2fs: introduce help function F2FS_NODE() 2013-07-30 15:17:02 +09:00
segment.c f2fs: move bio_private allocation out of f2fs_bio_alloc() 2013-07-30 15:17:03 +09:00
segment.h f2fs: modify the number of issued pages to merge IOs 2013-04-30 12:07:32 +09:00
super.c f2fs: add sysfs entries to select the gc policy 2013-08-06 22:00:18 +09:00
xattr.c f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
xattr.h f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00