summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDaeho Jeong <daehojeong@google.com>2025-07-28 10:04:30 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 13:55:16 +0100
commit3573b620027236558902247f566ceab8be9cb542 (patch)
treef67563c04b9bacfd97efc0a73bea1a0c5c8c9e06 /Documentation
parent4236c017c4cecd8a67d90a93adf6ed8601fa606b (diff)
downloadlinux-3573b620027236558902247f566ceab8be9cb542.tar.gz
linux-3573b620027236558902247f566ceab8be9cb542.tar.bz2
linux-3573b620027236558902247f566ceab8be9cb542.zip
f2fs: add gc_boost_gc_greedy sysfs node
[ Upstream commit c8705cefce44fbe85ca3b180dee0e0b5f3d51dc5 ] Add this to control GC algorithm for boost GC. Signed-off-by: Daeho Jeong <daehojeong@google.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Stable-dep-of: e462fc48ceb8 ("f2fs: maintain one time GC mode is enabled during whole zoned GC cycle") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-fs-f2fs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs
index e5ec2a7982ee..912d6e862808 100644
--- a/Documentation/ABI/testing/sysfs-fs-f2fs
+++ b/Documentation/ABI/testing/sysfs-fs-f2fs
@@ -874,3 +874,9 @@ Contact: "Daeho Jeong" <daehojeong@google.com>
Description: Set a multiplier for the background GC migration window when F2FS GC is
boosted. The range should be from 1 to the segment count in a section.
Default: 5
+
+What: /sys/fs/f2fs/<disk>/gc_boost_gc_greedy
+Date: June 2025
+Contact: "Daeho Jeong" <daehojeong@google.com>
+Description: Control GC algorithm for boost GC. 0: cost benefit, 1: greedy
+ Default: 1