mbox series

[GIT,PULL,10/11] xfs_repair: rebuild inode fork mappings

Message ID 171339161892.1911630.8944244918021763785.stg-ugh@frogsfrogsfrogs (mailing list archive)
State New
Headers show
Series [GIT,PULL,01/11] xfsprogs: packaging fixes for 6.7 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/repair-rebuild-forks-6.8_2024-04-17

Message

Darrick J. Wong April 17, 2024, 10:09 p.m. UTC
Hi Carlos,

Please pull this branch with changes for xfsprogs for 6.6-rc1.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

The following changes since commit bd35f31ce91bcf5ed9370e94a4a5da89638f37f4:

xfs_scrub: scan whole-fs metadata files in parallel (2024-04-17 14:06:27 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/repair-rebuild-forks-6.8_2024-04-17

for you to fetch changes up to b3bcb8f0a8b5763defc09bc6d9a04da275ad780a:

xfs_repair: rebuild block mappings from rmapbt data (2024-04-17 14:06:28 -0700)

----------------------------------------------------------------
xfs_repair: rebuild inode fork mappings [v30.3 10/20]

Add the ability to regenerate inode fork mappings if the rmapbt
otherwise looks ok.

This has been running on the djcloud for months with no problems.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Darrick J. Wong (3):
xfs_repair: push inode buf and dinode pointers all the way to inode fork processing
xfs_repair: sync bulkload data structures with kernel newbt code
xfs_repair: rebuild block mappings from rmapbt data

include/xfs_trans.h      |   2 +
libfrog/util.h           |   5 +
libxfs/libxfs_api_defs.h |  16 +-
libxfs/trans.c           |  48 +++
repair/Makefile          |   2 +
repair/agbtree.c         |  24 +-
repair/bmap_repair.c     | 748 +++++++++++++++++++++++++++++++++++++++++++++++
repair/bmap_repair.h     |  13 +
repair/bulkload.c        | 260 ++++++++++++++--
repair/bulkload.h        |  34 ++-
repair/dino_chunks.c     |   5 +-
repair/dinode.c          | 142 ++++++---
repair/dinode.h          |   7 +-
repair/phase5.c          |   2 +-
repair/rmap.c            |   2 +-
repair/rmap.h            |   1 +
16 files changed, 1231 insertions(+), 80 deletions(-)
create mode 100644 repair/bmap_repair.c
create mode 100644 repair/bmap_repair.h