]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: move btree bulkload record initialization to ->get_record implementations
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:37 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:25 +0000 (14:06 -0700)
commitd05b191b8ab7c71d3c628f7732a65f859d56e46c
treee1400c327d1d0e4c46b28709e81f58784ff8ed18
parent630045438cd3918f7f563ab9390241df38b6727d
xfs: move btree bulkload record initialization to ->get_record implementations

Source kernel commit: 6dfeb0c2ecde71d61af77f65eabbdd6ca9315161

When we're performing a bulk load of a btree, move the code that
actually stores the btree record in the new btree block out of the
generic code and into the individual ->get_record implementations.
This is preparation for being able to store multiple records with a
single indirect call.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
libxfs/libxfs_api_defs.h
libxfs/xfs_btree_staging.c
libxfs/xfs_btree_staging.h
repair/agbtree.c