Re: [PATCH 3/3] xfs: add a test that mkfs round up realtime subvolume sizes to the zone size

Christoph Hellwig
2025-12-16T05:13:34Z

On Mon, Dec 15, 2025 at 11:25:52AM -0800, Darrick J. Wong wrote:
> > +# the zone size to create mountable file systems.
>
> What size rt volume does this create? It looks like you're specifying
> an rt zone size of ... (1GB + 52K)?

Yes.

> And testing that mkfs rounds the
> rt volume size down to some multiple of that? Or is it rounding the
> *zone* size down to 1G?

That's it is rounding the RT device sizse down to a multiple of the
zone size, for which we default to 256MiB if not specified.