Commit 326e433a authored by Daeho Jeong's avatar Daeho Jeong
Browse files

FROMGIT: f2fs: set default valid_thresh_ratio to 80 for zoned devices



Zoned storage devices provide marginal over-capacity space, typically
around 10%, for filesystem level storage control.

By utilizing this extra capacity, we can safely reduce the default
'valid_thresh_ratio' to 80. This action helps to significantly prevent
excessive garbage collection (GC) and the resulting power consumption,
as the filesystem becomes less aggressive about cleaning segments
that still hold a high percentage of valid data.

Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 9a25aeb2be7a268c671cdf9ecc43c4a00b710af5 https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Link: https://lore.kernel.org/linux-f2fs-devel/20251003224917.1950708-1-daeho43@gmail.com



Bug: 438700991
Change-Id: I9b40eafdcb62d4df76cef39f739decd6f159fa99
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
parent ea812a27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment