]> 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 13:03:33 +0000 (14:03 +0100)
commitb18d3c3ce852372cd612901488436315aca6d02e
treef217ae09b558c339cc333ac7248df43fd6889453
parent52eb1c76c0dcd586bf0a8fa6e0a6e6b23881f4a2
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