/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2023 Red Hat */ #ifndef STATISTICS_H #define STATISTICS_H #include "types.h" enum { … }; struct block_allocator_statistics { … }; /** * Counters for tracking the number of items written (blocks, requests, etc.) * that keep track of totals at steps in the write pipeline. Three counters * allow the number of buffered, in-memory items and the number of in-flight, * unacknowledged writes to be derived, while still tracking totals for * reporting purposes */ struct commit_statistics { … }; /** Counters for events in the recovery journal */ struct recovery_journal_statistics { … }; /** The statistics for the compressed block packer. */ struct packer_statistics { … }; /** The statistics for the slab journals. */ struct slab_journal_statistics { … }; /** The statistics for the slab summary. */ struct slab_summary_statistics { … }; /** The statistics for the reference counts. */ struct ref_counts_statistics { … }; /** The statistics for the block map. */ struct block_map_statistics { … }; /** The dedupe statistics from hash locks */ struct hash_lock_statistics { … }; /** Counts of error conditions in VDO. */ struct error_statistics { … }; struct bio_stats { … }; struct memory_usage { … }; /** UDS index statistics */ struct index_statistics { … }; /** The statistics of the vdo service. */ struct vdo_statistics { … }; #endif /* not STATISTICS_H */