Re: [PATCH 43/43] xfs: export max_open_zones in sysfs

Christoph Hellwig
2025-02-07T04:23:49Z

On Thu, Feb 06, 2025 at 04:52:59PM -0800, Darrick J. Wong wrote:
> On Thu, Feb 06, 2025 at 07:44:59AM +0100, Christoph Hellwig wrote:
> > Add a zoned group with an attribute for the maximum number of open zones.
> > This allows querying the open zones for data placement tests, or also
> > for placement aware applications that are in control of the entire
> > file system.
> >
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
>
> It occurs to me -- what happens to all this zoned code if you build
> without RT support?

Where this code is all of it, or the sysfs support here?

In general the code is keyed off IS_ENABLED(CONFIG_XFS_RT) wherever
possible. But the sysfs code here is missing that, so it should
be added.