struct FragmentationStats

Defined at line 45 of file ../../src/storage/blobfs/metrics/fragmentation_metrics.h

Exact fragmentation statistics that Blobfs calculates. Used for testing/validation purposes.

Although we could construct |FragmentationMetrics| from this data, these statistics can consume

a lot of memory if the filesystem is heavily fragmented, so this is not used in production.

|FragmentationMetrics| instead stores these values in histograms, using a fixed amount of memory.

Public Members

uint64_t total_nodes
uint64_t files_in_use
uint64_t extent_containers_in_use
map extents_per_file
map free_fragments
map in_use_fragments