mbox series

[PATCHSET,v23.1,0/6] xfs: strengthen file mapping scrub

Message ID 166473480864.1083927.11062319917293302327.stgit@magnolia (mailing list archive)
Headers show
Series xfs: strengthen file mapping scrub | expand

Message

Darrick J. Wong Oct. 2, 2022, 6:20 p.m. UTC
Hi all,

This series strengthens the file extent mapping scrubber in various
ways, such as confirming that there are enough bmap records to match up
with the rmap records for this file, checking delalloc reservations,
checking for no unwritten extents in metadata files, invalid CoW fork
formats, and weird things like shared CoW fork extents.

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=scrub-bmap-enhancements
---
 fs/xfs/scrub/bmap.c  |  147 ++++++++++++++++++++++++++++++++++++++++----------
 fs/xfs/scrub/quota.c |    6 +-
 2 files changed, 123 insertions(+), 30 deletions(-)