summaryrefslogtreecommitdiff
tag namerepair-quota_2022-10-14 (b8ace85e3050a204a7d9b1730df78862c6347115)
tag date2022-10-14 14:18:42 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 83f145bcf4...
xfs: online repair of quota and rt metadata files
XFS stores quota records and free space bitmap information in files. Add the necessary infrastructure to enable repairing metadata inodes and their forks, and then make it so that we can repair the file metadata for the rtbitmap. Repairing the bitmap contents (and the summary file) is left for subsequent patchsets. We also add the ability to repair file metadata the quota files. As part of these repairs, we also reinitialize the ondisk dquot records as necessary to get the incore dquots working. We can also correct obviously bad dquot record attributes, but we leave checking the resource usage counts for the next patchsets. Signed-off-by: Darrick J. Wong <djwong@kernel.org> -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmNJ0jIACgkQ+H93GTRK tOsIDQ/8CuBSOAJLEp4vJ6JYdsh0rO51LWEUrCE/kphPhqDsA/rWtNzinV1ts/LS 8fRsuftDQkLb881igx6cCbK6F/CPDhE49NWh6SvCiSrz1Qy5o9BbOw3r7wIAJHR4 h6yv3/80JrxFGh5VN3yKnlTlbVzHW+luCDK3JaXPtKd+X9Sq5jPE8Zv6Vj5xbYWa o2ZHyaCi1Hi8yYx6Ysfy8D9AfcjTcXRQ4yFCPrvTuCHPoUv38SeqzF7kLMeemssa 6tirkQXJUly5kPqLPKRee7EzQU30DxlJw6Jivy1AsTNM724NB0bN656oyuHTcC1W wVb+kciKLaEf/imQrt3hocQRXz1wOKIa/9rlsTn33uY9mZH+rJx+aHlVbZ5y7N1Z N95HMlXreLZA0rJ9/4KydhPHUKC1BeoGcKyqtWLAmZiL+EFK36AvO9Ln4mEhW3CV yQUMfIEGSzAu2Dd3FgEJGaVnYdFHzHq8n8JMPI3ojQTOehs1saWjvxeqxjhlZeFt B7KNtNd3xjGlxe0JLu6O8PJKb3MuHqZaa5IrA+ukV2bmnhS537E9hPdqjNq+qjWM +2K5wsiM7W83sKtIOGtn4EoASF+rht0QgLlPhqsCLpvqGhDc36X4bAnZqPefS9BI VTgpw6od38IkRlVmqnz6/H1iOqVFU5kukNIKkYP0C6ZaoSEVqaE= =JLS8 -----END PGP SIGNATURE-----