Re: [PATCH] xfs: add tunable threshold parameter for triggering zone GC
From: Carlos Maiolino
Date: Wed Apr 16 2025 - 04:45:31 EST
On Tue, 25 Mar 2025 09:10:49 +0000, Hans Holmberg wrote:
> Presently we start garbage collection late - when we start running
> out of free zones to backfill max_open_zones. This is a reasonable
> default as it minimizes write amplification. The longer we wait,
> the more blocks are invalidated and reclaim cost less in terms
> of blocks to relocate.
>
> Starting this late however introduces a risk of GC being outcompeted
> by user writes. If GC can't keep up, user writes will be forced to
> wait for free zones with high tail latencies as a result.
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: add tunable threshold parameter for triggering zone GC
commit: 845abeb1f06a8a44e21314460eeb14cddfca52cc
Best regards,
--
Carlos Maiolino <cem@xxxxxxxxxx>