Commit cbba4461 authored by Daeho Jeong's avatar Daeho Jeong Committed by Treehugger Robot
Browse files

BACKPORT: FROMGIT: 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: e791d00b ("f2fs: add valid block ratio not to do excessive GC for one time GC")
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 5d431cc8759bd62ccdb45f196317ea6e93b83fee https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Link: https://lore.kernel.org/linux-f2fs-devel/20251003224308.1948874-1-daeho43@gmail.com



Bug: 438700991
Bug: 452922640
Change-Id: I50dbfcd1b756a45118da7a0164a35ad37ca3f90f
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
(cherry picked from commit d26012b0)
parent db1bfc08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment