summaryrefslogtreecommitdiffstats
tag namerepair-quotacheck_2023-10-11 (9d63d3fe601edba811c106b1146f9619795f475b)
tag date2023-10-11 10:57:40 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 0f24512df5...
downloadxfs-linux-repair-quotacheck_2023-10-11.tar.gz
xfs: online repair of quota counters [v27.0]
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. 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+O1o2YRKO3ySh0YRpgUCZSbiFAAKCRBKO3ySh0YR phyPAPsGHrCv6GljbhjS0Z1yEjIWDJr3kjaf90tOzv8Gyxn/JgEAuOT564e6u8vJ XMlpweof06GZEUSE5PbDQrJL39/4dAo= =yYg7 -----END PGP SIGNATURE-----