Re: [PATCH 40/43] xfs: add a max_open_zones mount option

Christoph Hellwig
2024-12-15T06:16:48Z

On Fri, Dec 13, 2024 at 02:57:11PM -0800, Darrick J. Wong wrote:
> On Wed, Dec 11, 2024 at 09:55:05AM +0100, Christoph Hellwig wrote:
> > Allow limiting the number of open zones used below that exported by the
> > device. This is required to tune the number of write streams when zoned
> > RT devices are used on conventional devices, and can be useful on zoned
> > devices that support a very large number of open zones.
>
> Can this be changed during a remount operation? Do we have to
> revalidate the value?

Right no it can't be changed during remount as there is no code added for
it in xfs_fs_reconfigure. If a strong use case to change it shows up
we could support it, but it's going to require some nasty code especially
for reducing the limit, so I'd rather not do it unless I have to.