tag name | repair-rtsummary_2024-03-20 (52c27d8037b9a3cb5e195d4e2643121bf55a24fe) |
tag date | 2024-03-20 17:49:11 -0700 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit 57aba1a929... |
download | xfs-linux-repair-rtsummary_2024-03-20.tar.gz |
---|
xfs: online repair of realtime summaries [v29.5 26/71]
We now have all the infrastructure we need to repair file metadata.
We'll begin with the realtime summary file, because it is the least
complex data structure. To support this we need to add three more
pieces to the temporary file code from the previous patchset --
preallocating space in the temp file, formatting metadata into that
space and writing the blocks to disk, and swapping the fork mappings
atomically.
After that, the actual reconstruction of the realtime summary
information is pretty simple, since we can simply write the incore
copy computed by the rtsummary scrubber to the temporary file, swap the
contents, and reap the old blocks.
This has been running on the djcloud for months with no problems. Enjoy!
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQQ2qTKExjcn+O1o2YRKO3ySh0YRpgUCZfuEBwAKCRBKO3ySh0YR
poXEAQDqO8bgwjwJrY6G+waxsSkCfbBaQ9Ni4VBy0VkOp8VHdQD+OjxqzC9tuVXS
V5PW6eZrqB9WPmYpCVJIeTUhP7sPpQA=
=hHqi
-----END PGP SIGNATURE-----