summaryrefslogtreecommitdiff
tag namescrub-usage-stats-6.6_2023-08-10 (c07939901244950df2a4689297657bfb109bdbd0)
tag date2023-08-10 08:12:24 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit d7a74cad8f...
xfs: add usage counters for scrub [v26.1]
This series introduces simple usage and performance counters for the online fsck subsystem. The goal here is to enable developers and sysadmins to look at summary counts of how many objects were checked and repaired; what the outcomes were; and how much time the kernel has spent on these operations. The counter file is exposed in debugfs because that's easier than cramming it into the device model, and debugfs doesn't have rules against complex file contents, unlike sysfs. 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+O1o2YRKO3ySh0YRpgUCZNT+WAAKCRBKO3ySh0YR pn2QAQDNpzFeWpqOy9hgNIEVzhu8fVwWjhW0Qh+so3Ti7Wc6OgEA2rcieO9YX/7j luOoX6C2w7n7tW6n5uw7YxSxncaPvQY= =D6oP -----END PGP SIGNATURE-----