f2fs: do gc in greedy mode for whole range if gc_urgent mode is set
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Feb 2018 23:40:30 +0000 (15:40 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:11:35 +0000 (04:11 -0700)
commit5f69508059282bf85f0128193f0fd2c01074673f
tree3ce3e003e50a120db9c0ccf76e07f25638ed8f97
parent79f1a15fa5360d21cd5ba4412199c9b55063c1f4
f2fs: do gc in greedy mode for whole range if gc_urgent mode is set

Otherwise, f2fs conducts GC on 8GB range only based on slow cost-benefit.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c