]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: convert busy extent tracking to the generic group structure
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Oct 2024 19:38:16 +0000 (12:38 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:44 +0000 (13:44 -0700)
commita1fe800263cb035ea9a5c67139801c0a34548de3
treebab1f341cfbc5b4909db77c391a7f562ef6e9127
parentc32bd10d1b2cd826b3f232ffad50745ca53d5c98
xfs: convert busy extent tracking to the generic group structure

Split busy extent tracking from struct xfs_perag into its own private
structure, which can be pointed to by the generic group structure.

Note that this structure is now dynamically allocated instead of embedded
as the upcoming zone XFS code doesn't need it and will also have an
unusually high number of groups due to hardware constraints.  Dynamically
allocating the structure this is a big memory saver for this case.

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>
libxfs/libxfs_priv.h
libxfs/xfs_ag.c
libxfs/xfs_ag.h
libxfs/xfs_alloc.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_group.c
libxfs/xfs_group.h
libxfs/xfs_rmap_btree.c