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

Darrick J. Wong
2024-12-17T17:12:13Z

On Sun, Dec 15, 2024 at 07:16:44AM +0100, Christoph Hellwig wrote:
> 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.

Nah let's wait until someone actually gives us a use case.

--D