summaryrefslogtreecommitdiff
tag namescrub-fixes_2021-03-31 (60517074c2f776bd13c4da288562a1ae66d01aee)
tag date2021-03-31 17:58:40 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 4b05f1bf7a...
xfs: more scrub fixes
This patchset contains a bunch of small fixes and enhancements to the online scrub and repair code. First, we enhance the rmapbt key comparison functions to include the attr and bmbt bits, since those actually /are/ part of the owner information, and online fsck needs it to be able to validate rmapbt records completely. Fix a deficiency in the scrubbers where we don't quite properly detect gaps in records. Also, enhance the fscounters scrubber to check the free rt extent count, look for oversized rmaps when checking the bmap, and verify the non-shared status of extents not explicitly covered by refcount records.