f2fs: do FG_GC when GC boosting is required for zoned devices
authorDaeho Jeong <daehojeong@google.com>
Mon, 9 Sep 2024 22:19:44 +0000 (15:19 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 11 Sep 2024 03:33:02 +0000 (03:33 +0000)
commit9748c2ddea4a3f46a498bff4cf2bf9a5629e3f8b
tree78944daac25bacfe25a676cd577e3c4ab03546cc
parent2223fe652f759649ae1d520e47e5f06727c0acbd
f2fs: do FG_GC when GC boosting is required for zoned devices

Under low free section count, we need to use FG_GC instead of BG_GC to
recover free sections.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/gc.c