Skip to main content

find_or_create_test_partition

Function find_or_create_test_partition 

Source
pub async fn find_or_create_test_partition(
    service: Service<PartitionServiceMarker>,
    manager: PartitionsManagerProxy,
    partition_size_bytes: u64,
) -> Result<PartitionServiceProxy>
Expand description

Finds a partition reserved for testing/benchmarks in GPT, or creates it if absent.