tag name | repair-rtsummary_2020-10-26 (4668f07f42ac4994b9970ad99411a848dc470027) |
tag date | 2020-10-26 18:33:25 -0700 |
tagged by | Darrick J. Wong <darrick.wong@oracle.com> |
tagged object | commit e8855fc16f... |
xfs: online repair of realtime summaries
This series uses the atomic extent swapping code to enable safe
reconstruction of the realtime summary file.
First, we enable online repair to allocate a temporary file on the
filesystem that can be used by online repair to stage reconstructed
metadata. Next, we walk the realtime bitmap to compute a new summary in
this temporary file. Finally, we swap the contents of the two files
with the atomic extent swap feature.