Re: [PATCH 11/27] xfs_db: add an rgresv command

Darrick J. Wong
2025-02-07T05:24:53Z

On Thu, Feb 06, 2025 at 09:19:35PM -0800, Christoph Hellwig wrote:
> On Thu, Feb 06, 2025 at 02:52:36PM -0800, Darrick J. Wong wrote:
> > From: Darrick J. Wong <djwong@kernel.org>
> >
> > Create a command to dump rtgroup btree space reservations.
>
> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
>
> Btw, for rthinreit=1 file systems a command to dump the availale
> freepace and the data device would also be really helpful. But
> I guess that's more a thing for the kernel as an ioctl that works
> on the life file system.

We could report the reservations via the existing ag/rg/fs geometry
ioctls.

--D