f2fs: enable tuning of boost_zoned_gc_percent via sysfs
PATCH v4 1/1 f2fs: enable tuning of boost_zoned_gc_percent via sysfs
to allow users to dynamically tune
the boost_zoned_gc_percent parameter
Signed-off-by yohan.joung <[email protected]>
--- fs/f2fs/gc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/f2fs/gc.h +2 -1
@@ -194,6 +194,7 @@ static inline bool has_enough_invalid_blocks(struct f2fs_sb_info *sbi)static inline bool need_to_boost_gc (struct f2fs_sb_info *sbi) {if (f2fs_sb_has_blkzoned (sbi)) -return !has_enough_free_blocks (sbi,LIMIT_BOOST_ZONED_GC ); +return !has_enough_free_blocks (sbi, + sbi->gc_thread->boost_zoned_gc_percent);return has_enough_invalid_blocks (sbi); }
Signature · 1 line
2.33.0
Quoted 4 lines · yohan.joung
to allow users to dynamically tune
theboost_zoned_gc_percentparameterSigned-off-by yohan.joung <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:
Quoted 7 lines · On Wed, 25 Jun 2025 09:13:35 +0900 you wrote:
to allow users to dynamically tune
theboost_zoned_gc_percentparameterSigned-off-by yohan.joung <[email protected]>--- fs/f2fs/gc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Here is the summary with links:
- [f2fs-dev,v4] f2fs: enable tuning of boost_zoned_gc_percent via sysfs
https://git.kernel.org/jaegeuk/f2fs/c/956b81b3d41a
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html