Re: [PATCH 20/50] repair: use a separate bmaps array for real time groups

Darrick J. Wong
2024-12-11T21:30:38Z

On Mon, Dec 09, 2024 at 09:37:18PM -0800, Christoph Hellwig wrote:
> On Fri, Dec 06, 2024 at 04:10:07PM -0800, Darrick J. Wong wrote:
> > From: Christoph Hellwig <hch@lst.de>
> >
> > Stop pretending RTGs are high numbered AGs and just use separate
> > structures instead.
>
> This should be folded into the previous patch.

Done. I've cleaned up the commit message to read as follows:

xfs_repair: support realtime groups

Make repair aware of multiple rtgroups. This now uses the same code as
the AG-based data device for block usage tracking instead of the less
optimal AVL trees and bitmaps used for the traditonal RT device. This
is done by introducing similar per-rtgroup space tracking structures as
we have for the AGs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>

--D