tag name | repair-hard-problems_2020-03-03 (1f2875cf0f7cb2bd1ca5fa2bbe8e2ec5b8c9d993) |
tag date | 2020-03-03 18:48:21 -0800 |
tagged by | Darrick J. Wong <darrick.wong@oracle.com> |
tagged object | commit 3dce2b16b1... |
xfs: online repair of rmap/quota/summary counters
In this sixth part of the twenty-second revision of the online repair
patchset, we provide all the repair features that require the entire
filesystem to be frozen.
Patch 1 gives scrub the ability to freeze the filesystem so that it can
do scans and repairs in mostly-exclusive mode.
Patch 2 is unnecessary? It provides async io for xfile, which has
massive overhead costs but mostly shuts up lockdep.
Patch 3 implements reverse mapping btree reconstruction.
Patch 4 reimplements quotacheck as an online operation.
Patch 5 implements a summary counter repair function. In contrast to
its scrub-only counterpart, if we decide to repair the summary counters
we need to freeze the filesystem to prevent any concurrent operations
while we calculate the correct value for the summary counters.