Lines Matching full:counters

29  * FS Summary Counters
35 * Then we compare what we computed against the in-core counters.
37 * However, the reality is that summary counters are a tricky beast to check.
48 * structures as quickly as it can. We snapshot the percpu counters before and
55 * values, the percpu counters should be fairly close to each other. However,
62 * contents and trust that the incore counters match the ondisk counters. (The
64 * summary counters after checking all AG headers). Do this from the setup
145 * that comprise the summary counters and compare them to the percpu counters.
219 /* We must get the incore counters set up before we can proceed. */ in xchk_setup_fscounters()
226 * reduce the likelihood of background perturbations to the counters in xchk_setup_fscounters()
230 * changing the global fs summary counters while we're repairing them. in xchk_setup_fscounters()
287 * Calculate what the global in-core counters ought to be from the incore
288 * per-AG structure. Callers can compare this to the actual in-core counters
289 * to estimate by how much both in-core and on-disk counters need to be
335 * Per-AG reservations are taken out of the incore counters, in xchk_fscount_aggregate_agcounts()
351 * counters, so leave that out of the computation. in xchk_fscount_aggregate_agcounts()
356 * Delayed allocation reservations are taken out of the incore counters in xchk_fscount_aggregate_agcounts()
375 * counters while we were calculating things. We'll try a few times in xchk_fscount_aggregate_agcounts()
447 * Part 2: Comparing filesystem summary counters. All we have to do here is
448 * sum the percpu counters and compare them to what we've observed.
502 /* Check the superblock counters. */
513 /* Snapshot the percpu counters. */ in xchk_fscounters()
554 * something's probably wrong with the counters. in xchk_fscounters()
559 /* Walk the incore AG headers to calculate the expected counters. */ in xchk_fscounters()
572 * Compare the in-core counters with whatever we counted. If the fs is in xchk_fscounters()