]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: create a new class of btree rebuild cursors
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 10 Jul 2020 19:35:46 +0000 (15:35 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 10 Jul 2020 19:35:46 +0000 (15:35 -0400)
commit79f86c9d3efebe96168d39e401f7cf6471fd4fd2
tree21ab1570ffa7067e968e6e29dc87ad5ecdbd84a3
parentcca4dbfe992f1250801017f0cd047ad0570d0e8f
xfs_repair: create a new class of btree rebuild cursors

Create some new support structures and functions to assist phase5 in
using the btree bulk loader to reconstruct metadata btrees.  This is the
first step in removing the open-coded AG btree rebuilding code.

Note: The code in this patch will not be used anywhere until the next
patch, so warnings about unused symbols are expected.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
[for all but the slack_node change from 0 to 2:]
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/Makefile
repair/agbtree.c [new file with mode: 0644]
repair/agbtree.h [new file with mode: 0644]
repair/bulkload.c
repair/bulkload.h