pub struct StorageDiagnostics {
pub generation: u64,
pub allocations: usize,
pub admitted_allocations: usize,
pub live_leases: usize,
pub extents: usize,
pub data_pages: u64,
pub metadata_pages: u64,
pub directory_bytes: u64,
pub physical_pages: u64,
pub unassigned_pages: u64,
}Expand description
StorageDiagnostics
Read-only totals from the validated current directory and physical backing. The protected root occupies one additional page: data, metadata, unassigned and root pages sum to physical pages. Unassigned pages are not reclaimable through this API. Diagnostics grant no allocation authority.
Fields§
§generation: u64Committed directory generation.
allocations: usizeRetained named allocations, including currently omitted names.
admitted_allocations: usizeNames admitted by this runtime’s bootstrap, or zero before bootstrap.
live_leases: usizeCurrently live exclusive allocation leases.
extents: usizeTotal application data extents.
data_pages: u64Logical data capacity across retained allocations, in 64 KiB pages.
metadata_pages: u64Reserved active and inactive directory arenas, in 64 KiB pages.
directory_bytes: u64Encoded byte length of the active directory snapshot.
physical_pages: u64Actual physical backing extent, in 64 KiB pages.
unassigned_pages: u64Physical pages outside data, metadata arenas and the protected root.