summaryrefslogtreecommitdiff
tag namescrub-fix-checking-gaps_2022-03-17 (a502332776a1bfb66a47291d285526a31bbf7981)
tag date2022-03-17 14:45:22 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 066422f4e7...
xfs: close some gaps in scrub checking
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. Also fix some bugs with DONTCACHE inodes being dropped during a scrub scan, which is a no-no. -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmIzq/IACgkQ+H93GTRK tOunrBAAk+AXSNAG7ei13fM705cHl6hTHcgLvw51fGsYL/tA3llfosOHdYtZWLDq GFpFhZ8YfmpRb/2uWiZpYxttc/eGmvJNL3/7o7s53C+POXZxlBXefnn/8Jml9Oh1 tuSD1O7LAs4XiN6YbXhLCPpSjKVdDXDFhWeq7LqZBTpe7f/jiYo0zcbWPV8CaZvZ T0qBftEYRQi/jzzO7LCreqtochaALMySESJ3ywugiaTFmZBC8GGDrM5YZwEtzsdY y1NbVhZIn3g0mKcNEoZle2sXqz4nqDXPCMsxKW4kLlVMLjHixDn5I7WcDCE1dqDk SDl+OlGW2lf97DLE9ifTvUtTheOg2HukEm16ldLa69by2NKdWUzZFzyCIeKdr1wZ S1emEE9NczwM30i+29HeztQzPILbag6ejpxZfYvMhcTP+rhwFZVoRxWIpBNEDhgD w27iMm/JKOJ88EFqRBQvYpCzjDSZll/urTHeoXLEE33ffM20shW4rzm7aLXk/+Ua g67dQ9oCYJ8FWhyQJf8A56l/ai5OkyScoHUTK6avZWiCa3+v5ISkukVG3+slcxIa ZfmoGx3neJA7h3TVrLSYBiwJPoh0ZYCyieSTbjcO5ZOHT74qvITaTB8c6N0ODB10 fo/USp6phH5O658T26X/sjx4iUbz7BnC8g69X+aJyEM7MD1S2eo= =V08A -----END PGP SIGNATURE-----