]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: split the agf_roots and agf_levels arrays
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:04 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:39 +0000 (11:37 -0700)
commitea3d0c07d4db6f112eefc371248d3b58d3cbe574
treec22d857c038590c776f98eb1441095fb56832192
parent23b5c6887e199899c35ca80efc3e5fd4d006a797
xfs: split the agf_roots and agf_levels arrays

Source kernel commit: e45ea3645178c6db91aef4314945b05e4c6ee1fc

Using arrays of largely unrelated fields that use the btree number
as index is not very robust.  Split the arrays into three separate
fields instead.

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
15 files changed:
copy/xfs_copy.c
db/agf.c
db/check.c
db/freesp.c
db/metadump.c
libxfs/xfs_ag.c
libxfs/xfs_ag.h
libxfs/xfs_alloc.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_format.h
libxfs/xfs_rmap_btree.c
logprint/log_misc.c
logprint/log_print_all.c
repair/phase5.c
repair/scan.c