]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: repair inode fork block mapping data structures
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:39 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:25 +0000 (14:06 -0700)
commit7310dea5d68989930e6a0c69469f583ef91c57a7
treef8e1fcaef418889c658742942d8f4eb560c1d2c0
parent7c5d4f9222e85774d813197b13313dc1f7bb7c72
xfs: repair inode fork block mapping data structures

Source kernel commit: 8f71bede8efd820627ac05c19eac2758214bc896

Use the reverse-mapping btree information to rebuild an inode block map.
Update the btree bulk loading code as necessary to support inode rooted
btrees and fix some bitrot problems.

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/xfs_bmap_btree.c
libxfs/xfs_bmap_btree.h
libxfs/xfs_btree_staging.c
libxfs/xfs_btree_staging.h
libxfs/xfs_iext_tree.c
libxfs/xfs_inode_fork.c
libxfs/xfs_inode_fork.h