Move extent stats to the PA module.

While we're at it, make them non-atomic -- they are purely derived statistics
(and in fact aren't even in the arena_t or pa_shard_t).
This commit is contained in:
David Goldblatt 2020-03-11 17:59:06 -07:00 committed by David Goldblatt
parent 527dd4cdb8
commit f6bfa3dcca
6 changed files with 43 additions and 59 deletions

View file

@ -44,7 +44,7 @@ typedef struct ctl_arena_stats_s {
bin_stats_data_t bstats[SC_NBINS];
arena_stats_large_t lstats[SC_NSIZES - SC_NBINS];
arena_stats_extents_t estats[SC_NPSIZES];
pa_extent_stats_t estats[SC_NPSIZES];
} ctl_arena_stats_t;
typedef struct ctl_stats_s {