]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: move RT bitmap and summary information to the rtgroup
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 18:11:30 +0000 (11:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 23:29:10 +0000 (16:29 -0700)
commit4bf0e65f9b022af4d2a3d66e103a2c72ed5a13b5
tree5e9951edb2a81a56c546a10cc94cab14b9b5dcba
parent4e3425dce94a2f1cd627c0732fbfb4319081eb98
xfs: move RT bitmap and summary information to the rtgroup

Move the pointers to the RT bitmap and summary inodes as well as the
summary cache to the rtgroups structure to prepare for having a
separate bitmap and summary inodes for each rtgroup.

Code using the inodes now needs to operate on a rtgroup.  Where easily
possible such code is converted to iterate over all rtgroups, else
rtgroup 0 (the only one that can currently exist) is hardcoded.

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>
14 files changed:
include/xfs_mount.h
libxfs/init.c
libxfs/libxfs_api_defs.h
libxfs/logitem.c
libxfs/trans.c
libxfs/xfs_bmap.c
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtbitmap.h
libxfs/xfs_rtgroup.c
libxfs/xfs_rtgroup.h
mkfs/proto.c
repair/phase6.c
repair/rt.c
repair/rt.h