[PATCH v5 0/8] xfs-4.18: scrub fixes

Darrick J. Wong
2018-05-10T19:18:19Z

Hi all,

Here's a revised series cleaning up some problems and bugs found by
stressing the online scrub code. Most of the problems fixed here were
uncovered through more thorough testing of the online repair series,
which was posted previously.

The first patch cleans up some goofyness in the quota init code.

Next we continue amending the code to finish scrub as soon as we've
decided it's CORRUPT.

The next two patches fix the quota and realtime scrubbers to call the
bmapbtd scrubber on their data forks.

Then there's a patch to fix a potential ABBA deadlock in the parent
scrubber.

Next, there's a patch to refactor AGFL walking into a library iterator
function.

The last two patches fix up the bmapi_remap interface to work on the
attribute fork and plumb in support for unwritten and normap modes;
these are the last two patches needed before landing the online repair
code.

If you're going to start using this mess, you probably ought to just
pull from my git trees. The kernel patches[1] should apply against
4.17-rc4. xfsprogs[2] and xfstests[3] can be found in their usual
places. The git trees contain all four series' worth of changes.

This is an extraordinary way to eat your data. Enjoy!
Comments and questions are, as always, welcome.

--D

[1] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=djwong-devel-moo
[2] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=djwong-devel
[3] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=djwong-devel