mbox series

[PATCHSET,v9r2d1,0/2] xfsprogs: online checking of parent pointers

Message ID 167657881656.3477709.1694162379388596172.stgit@magnolia (mailing list archive)
Headers show
Series xfsprogs: online checking of parent pointers | expand

Message

Darrick J. Wong Feb. 16, 2023, 8:30 p.m. UTC
Hi all,

With this patchset, we implement online repairs for parent pointers.
This is structured similarly to the directory repair code in that we
scan the entire filesystem looking for dirents and use them to
reconstruct the parent pointer information.

Note that the atomic swapext and block reaping code is NOT ported for
this PoC, so we do not commit any repairs.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.
kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=pptrs-online-parent-repair

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs-online-parent-repair
---
 include/xfs_inode.h |    6 +++++
 libxfs/xfs_parent.c |   56 +++++++++++++++++++++++++++++++++++++++++++++++++--
 libxfs/xfs_parent.h |    8 +++++++
 3 files changed, 68 insertions(+), 2 deletions(-)