tag name | repair-rtsummary_2021-03-25 (44767afe90b159962f044e1c8edd9ac5d7a6a449) |
tag date | 2021-03-25 17:10:23 -0700 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit 4b9824ccb9... |
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.