]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: move RT bitmap and summary information to the rtgroup
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Oct 2024 19:44:07 +0000 (12:44 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:49 +0000 (13:44 -0700)
commit2e9f7c05c20f385e5623fdb6e1495e7e905e13c9
treee37dd01fb0d0095db74e35b70e15cf151b1d1c38
parent5b1371b156939c15ed95c3171f3a9d2df04148f4
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