* [f2fs-dev] [PATCH v4] f2fs: enable tuning of boost_zoned_gc_percent via sysfs
@ 2025-06-25 0:13 ` yohan.joung
0 siblings, 0 replies; 6+ messages in thread
From: yohan.joung @ 2025-06-25 0:13 UTC (permalink / raw)
To: jaegeuk, chao; +Cc: pilhyun.kim, linux-kernel, linux-f2fs-devel
to allow users to dynamically tune
the boost_zoned_gc_percent parameter
Signed-off-by: yohan.joung <yohan.joung@sk.com>
---
fs/f2fs/gc.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h
index 5c1eaf55e127..11fba7636af7 100644
--- a/fs/f2fs/gc.h
+++ b/fs/f2fs/gc.h
@@ -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);
}
--
2.33.0
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH v4] f2fs: enable tuning of boost_zoned_gc_percent via sysfs
@ 2025-06-25 0:13 ` yohan.joung
0 siblings, 0 replies; 6+ messages in thread
From: yohan.joung @ 2025-06-25 0:13 UTC (permalink / raw)
To: jaegeuk, chao; +Cc: linux-kernel, linux-f2fs-devel, pilhyun.kim, yohan.joung
to allow users to dynamically tune
the boost_zoned_gc_percent parameter
Signed-off-by: yohan.joung <yohan.joung@sk.com>
---
fs/f2fs/gc.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h
index 5c1eaf55e127..11fba7636af7 100644
--- a/fs/f2fs/gc.h
+++ b/fs/f2fs/gc.h
@@ -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);
}
--
2.33.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [f2fs-dev] [PATCH v4] f2fs: enable tuning of boost_zoned_gc_percent via sysfs
2025-06-25 0:13 ` yohan.joung
@ 2025-06-25 2:19 ` Chao Yu
-1 siblings, 0 replies; 6+ messages in thread
From: Chao Yu via Linux-f2fs-devel @ 2025-06-25 2:19 UTC (permalink / raw)
To: yohan.joung, jaegeuk; +Cc: pilhyun.kim, linux-kernel, linux-f2fs-devel
On 6/25/25 08:13, yohan.joung wrote:
> to allow users to dynamically tune
> the boost_zoned_gc_percent parameter
>
> Signed-off-by: yohan.joung <yohan.joung@sk.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [f2fs-dev] [PATCH v4] f2fs: enable tuning of boost_zoned_gc_percent via sysfs
2025-06-25 0:13 ` yohan.joung
@ 2025-07-09 18:10 ` patchwork-bot+f2fs
-1 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+f2fs--- via Linux-f2fs-devel @ 2025-07-09 18:10 UTC (permalink / raw)
To: yohan.joung; +Cc: jaegeuk, linux-f2fs-devel, linux-kernel, pilhyun.kim
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:
On Wed, 25 Jun 2025 09:13:35 +0900 you wrote:
> to allow users to dynamically tune
> the boost_zoned_gc_percent parameter
>
> Signed-off-by: yohan.joung <yohan.joung@sk.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [f2fs-dev] [PATCH v4] f2fs: enable tuning of boost_zoned_gc_percent via sysfs
@ 2025-07-09 18:10 ` patchwork-bot+f2fs
0 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+f2fs @ 2025-07-09 18:10 UTC (permalink / raw)
To: yohan.joung; +Cc: jaegeuk, chao, pilhyun.kim, linux-kernel, linux-f2fs-devel
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:
On Wed, 25 Jun 2025 09:13:35 +0900 you wrote:
> to allow users to dynamically tune
> the boost_zoned_gc_percent parameter
>
> Signed-off-by: yohan.joung <yohan.joung@sk.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-07-09 18:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 0:13 [f2fs-dev] [PATCH v4] f2fs: enable tuning of boost_zoned_gc_percent via sysfs yohan.joung
2025-06-25 0:13 ` yohan.joung
2025-06-25 2:19 ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2025-06-25 2:19 ` Chao Yu
2025-07-09 18:10 ` [f2fs-dev] " patchwork-bot+f2fs--- via Linux-f2fs-devel
2025-07-09 18:10 ` patchwork-bot+f2fs
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.