summaryrefslogtreecommitdiff
tag namerepair-quotacheck_2022-11-09 (d0a8861c2f745a9188cee6b50a5ba44e67a8d7bd)
tag date2022-11-09 19:10:04 -0800
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit ad72975834...
xfs: online repair of quota counters
This series uses the inode scanner and live update hook functionality introduced in the last patchset to implement quotacheck on a live filesystem. The quotacheck scrubber builds an incore copy of the dquot resource usage counters and compares it to the live dquots to report discrepancies. If the user chooses to repair the quota counters, the repair function visits each incore dquot to update the counts from the live information. The live update hooks are key to keeping the incore copy up to date. Signed-off-by: Darrick J. Wong <djwong@kernel.org> -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmNsa4wACgkQ+H93GTRK tOshZQ//Rc8qk/tiNsB+FwsBlSuj/RiJ7NC+MEm/p1Wi0NAtyzqaOZVQdrOiqP4K qt7eitoDD8PAWow/4dAk4bhXrpeFikKmIBqu5HpkDTYPp9kupnHIQEky/iE77sNE qdiiXwNmUh51lm0YKx85pYbkZbF2iY0ecLyWcR3wrkiM2eg3KZ4UNvN3wLbMEtIQ 611JrxKpTvGtxaRtRNw5FBqd673D86z21PNePkHksPj/Ntd3tItpYrvk64gRx99i xQJ+rMharasO0NwnkLkiNexzYrDAKJ7t3kvCs2VfYWpN1lyi0tI5I12H/RVD3/pX HuqDGSSJUPiUugOCnlUK5dU5ntq32esP6t1jW8m2A9NiXvdhLbLumUrhl2KH4SRk fZo2Dh0teCJUDpXkK52C5DIgSJsjiq2e82tuNRWV2m/ytHg8kdlkKq+YZT2JUBCF c8XFvLptoQ6nkWDaFJaBywXfKiay87Ikq9Jc4CG5h2jjQPzTQ18YSl8hXw0LWViY 4T0Di3UWWOdFCXhlZ0GE7q0i9x86IFOPY4WF5uuw1izgEnAz7LdOwJ56scVVUVxf +hx4qD3LqIfwKbRGZrZg5en56tJb3WeAN0DhGm5tYvGdJGRPaOBATuiWaeXvBLoS kEETXhPb796KXC9JKOW5CcPYnp8x4jNBT3H0MVjAwIZ/9z9i2SU= =0Rsy -----END PGP SIGNATURE-----