mbox series

[v2,0/3] xfs: fix errors in attr/directory scrubbers

Message ID 158388768123.939608.12366470947594416375.stgit@magnolia (mailing list archive)
Headers show
Series xfs: fix errors in attr/directory scrubbers | expand

Message

Darrick J. Wong March 11, 2020, 12:48 a.m. UTC
Hi all,

During a code audit of the effectiveness of the online repair code,
several deficiencies were discovered in the extended attribute and
directory scrubbing code.  The first two patches change both scrubbers
to note corruption when the name-based lookups (which test the hash
tree) fail to return any information.  The final patch amends the
directory checker to note corruption the inode target of a directory
entry points to an unallocated inode.

In v2 we declutter the error handling a bit.

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-fixes