]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: maintain one time GC mode is enabled during whole zoned GC cycle
authorDaeho Jeong <daehojeong@google.com>
Fri, 3 Oct 2025 22:43:08 +0000 (15:43 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 24 Oct 2025 21:23:54 +0000 (21:23 +0000)
commite462fc48ceb8224811c3224650afed05cb7f0872
tree41917022ca4126322e9dfe612887decd34aa50eb
parentd2818517e3486d11c9bd55aca3e14059e4c69886
f2fs: maintain one time GC mode is enabled during whole zoned GC cycle

The current version missed setting one time GC for normal zoned GC
cycle. So, valid threshold control is not working. Need to fix it to
prevent excessive GC for zoned devices.

Fixes: e791d00bd06c ("f2fs: add valid block ratio not to do excessive GC for one time GC")
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/gc.c