summaryrefslogtreecommitdiff
tag namerepair-quota_2022-11-09 (dca5f362cd8ae17e7518cd99f5710c7e039127cc)
tag date2022-11-09 19:10:02 -0800
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 8ec5a89331...
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+H93GTRKtOsFAmNsa4oACgkQ+H93GTRK tOu3tQ//Q0UZMmsCJ38H3WgU3I1bFZVtZoYaiNmukWkrY3FVaSviAvGSzTzdp4gy 9z17lTGuyt061OhUzxmAy3TbYk72Cy3XqDUAs9n/umGP0eR5ZF+yDouQ5wYCNxQ2 13dXzXY2mWfGsfB/+gyKiMD+y1SqUTbmZBpEzDw8wOsNNJdDmwYrR7KxB+0quGXC l+uT3ooaghOFEp9fRcyIvB721joJvC9MiERgo5H4NhhNCDyKbxujtt+uDUI5VfDX 5hwEtnkNJYz+HN0DJ/2O1botqCWuv+EOAIsmt17P/r8b1v+f84eeGT12aegFQTuE nMeRWslEiEwDSlU6D0SZ/s6vAbH1ax37LZXSjDgqO2qc3EFP0nP2NR+FHSGQqOIF kwEAMyadY80ZmJlYi/WQpSc234xYn747KRcfYrGulYo4iAc/XAwJcvHvgbsWAssW 6hIA5u7d/2jC2PCHgDY3dxVgz2ywB+PThn3DbkbOZbQjqnIPSnDOy5daQkahbW4O wHVC0KqTDQsIX9RKGByaLZ2vtYM/ByXN2Ex81WHdwGC5vYo+lptVBjqqgRkE18Ql SkOe4Pm6PywruDSgkB7NakIGTExJL6x0vvB6Yibathy2qAcaycp8J1afClz11mmy jUOk/onFUtSQrxoPdmbWxJNkiwLqsX7xZVDjJLOqhHbqhRNo87c= =a9je -----END PGP SIGNATURE-----