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@xxxxxx> > > 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.