aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_alloc.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-16 12:21:55 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-19 11:45:14 -0700
commiteae5db476f9db78b31d6665924539dd8e2d2f431 (patch)
tree055315da53845a0697ca6f018e6cbb21badd8ce7 /fs/xfs/libxfs/xfs_alloc.c
parentxfs: don't track firstrec/firstkey separately in xchk_btree (diff)
downloadlinux-dev-eae5db476f9db78b31d6665924539dd8e2d2f431.tar.xz
linux-dev-eae5db476f9db78b31d6665924539dd8e2d2f431.zip
xfs: dynamically allocate btree scrub context structure
Reorganize struct xchk_btree so that we can dynamically size the context structure to fit the type of btree cursor that we have. This will enable us to use memory more efficiently once we start adding very tall btree types. Right-size the lastkey array to match the number of *node* levels in the tree so that we stop wasting space. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions