]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:55:16 +0000 (13:55 +0100)
commitdfa39de442ecdd166f84bfe698420c2013ea8abc
tree6ae7e510591118a7c585c2c1dfa31326a83f2c84
parent3573b620027236558902247f566ceab8be9cb542
f2fs: maintain one time GC mode is enabled during whole zoned GC cycle

[ Upstream commit e462fc48ceb8224811c3224650afed05cb7f0872 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/gc.c