Re: [PATCH] xfs: add tunable threshold parameter for triggering zone GC
From: Hans Holmberg
Date: Fri Mar 28 2025 - 08:16:42 EST
On 28/03/2025 12:01, hch wrote:
> On Tue, Mar 25, 2025 at 09:10:49AM +0000, Hans Holmberg wrote:
>> +Zoned Filesystems
>> +=================
>> +
>> +For zoned file systems, the following attributes are exposed in:
>> +
>> + /sys/fs/xfs/<dev>/zoned/
>> +
>> + max_open_zones (Min: 1 Default: Varies Max: UINTMAX)
>> + This read-only attribute exposes the maximum number of open zones
>> + available for data placement. The value is determined at mount time and
>> + is limited by the capabilities of the backing zoned device, file system
>> + size and the max_open_zones mount option.
>
> This should go into 6.15-rc as a separate patch to fix my mistake of not
> adding documentation for this file. (Thanks for fixing that!)
Right, I might as well document the zoned mount options (lifetime, nolifetime,
max_open_zones) as part of that patch to make the doc completely up to date.