OSDN Git Service

f2fs: export migration_granularity sysfs entry
authorChao Yu <yuchao0@huawei.com>
Thu, 25 Oct 2018 08:19:28 +0000 (16:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Nov 2018 23:53:56 +0000 (15:53 -0800)
commit3465557556b45a933cf3566d4040fd66aa2fc87b
tree74ebf4ece775a30da2537f2116fdb52b0591bc61
parente3080b0120a15e648f59491919cb5da0bc9802c3
f2fs: export migration_granularity sysfs entry

Add one sysfs entry to control migration granularity of GC in large
section f2fs, it can be tuned to mitigate heavy overhead of migrating
huge number of blocks in large section.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/sysfs.c