]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: support realtime groups
authorDarrick J. Wong <djwong@kernel.org>
Wed, 11 Dec 2024 21:28:13 +0000 (13:28 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:33 +0000 (18:01 -0800)
commit7c541c90fd77a20000dbc68497fdb49b4b9b2788
tree63d25824b27a6d4f0866d696b2ba1c70b55fa3bf
parent92ba3b0d5a546cb2f2873d94bc97e725fbd6ade5
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>
18 files changed:
libxfs/libxfs_api_defs.h
repair/agheader.c
repair/agheader.h
repair/dino_chunks.c
repair/dinode.c
repair/dir2.c
repair/incore.c
repair/incore.h
repair/incore_ext.c
repair/phase2.c
repair/phase4.c
repair/phase5.c
repair/phase6.c
repair/rt.c
repair/rt.h
repair/sb.c
repair/scan.c
repair/xfs_repair.c