fn verify_global_specs_total_size(g_specs: &[SideMetadataSpec]) -> Result<()>
Expand description

Checks whether the input global specifications fit within the current upper bound for all global metadata (limited by metadata::constants::LOG_GLOBAL_SIDE_METADATA_WORST_CASE_RATIO).

Returns Ok if all global specs fit and Err otherwise.

Arguments:

  • g_specs: a slice of global specs to be checked.