[PATCHSET v26.0 0/2] xfs: miscellaneous repair tweaks

Darrick J. Wong
2023-07-27T22:19:54Z

Hi all,

Before we start adding online repair functionality, there's a few tweaks
that I'd like to make to the common repair code. First is a fix to the
integration between repair and the health status code that was
interfering with repair re-evaluations. Second is a minor tweak to the
sole existing repair functions to make one last check that the user
hasn't terminated the calling process before we start writing to the
filesystem. This is a pattern that will repeat throughout the rest of
the repair functions.

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.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=repair-tweaks
---
fs/xfs/scrub/agheader_repair.c | 16 ++++++++++++++++
fs/xfs/scrub/health.c | 10 ++++++++++
2 files changed, 26 insertions(+)