summaryrefslogtreecommitdiff
tag namerepair-rtsummary_2021-09-17 (41ba172e4d44078181f863484f101c2e1f7a12ba)
tag date2021-09-17 18:56:11 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 33a3a5a16e...
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. -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmFFRzsACgkQ+H93GTRK tOsz1RAAhkClFHkBev2YusMK3UzOj4hGJex60h3Dtb9aSDMWewtPHqduXwrcImva +QQol7T+6jDz/XyhF1SUZTy/EZIQr7G+SQDr/OEEIJGxdjB6GvUBIMVQdMlxJXAk a6yAjOzj3W0lj8KL66uhDe4PcZdAQJk4Aa7Jm31mfiLvMBUTI10ZXM77BYOCcuaU QD4JwUYwA2zfQTjvbWfw3MuX2ZEmnY7VIiydSueL0p31o3xmys/GzC7o+wpUHC0P qyz3q+vXTzN5IYtJZAj30NqIQ0BomhVy1cwhc1UDWJxSEWkk2CQBMnhS3TIxB+Jo lxgHlBpJT31F1G0g1T9tejiQl6sFFdfnxoIYFkLbIPPL8OtXJr5k6a8xzj25O2Zs uLTBhGBvskb/OkM+N1vwtuonYaLFxmVht1dUTgeTJxQcgpYZEcKpkrRB/D/6OSMk jSFWjV0tLqI+ipCwh7dTNRJl2SlRT8BrxCzLJEbIixybmPQKfAOzy8xmbsVVlSxz sGVIqie6ZnuQr7s+lO8hvg/NVrvxtb4ZlWINgtLlrmsH14cNvNsmrCyuBdiwPVmM WmOsoXA/aZOJYVvftzi8aeEIt5bCcoLgVSb3OwhIj7ct8Wfz9fggOIMqKY/KlM0B U2wGByz4Vnz1Q8vdSopnlcEs+i5Iy70g2Is4qu9xztvFs1s/Z1Q= =4CVo -----END PGP SIGNATURE-----