pub type AllocatorMutation = AllocatorMutationV32;
Aliased Type§
enum AllocatorMutation {
Allocate {
device_range: DeviceRangeV32,
owner_object_id: u64,
},
Deallocate {
device_range: DeviceRangeV32,
owner_object_id: u64,
},
SetLimit {
owner_object_id: u64,
bytes: u64,
},
MarkForDeletion(u64),
}
Variants§
Allocate
Deallocate
SetLimit
MarkForDeletion(u64)
Marks all extents with a given owner_object_id for deletion. Used to free space allocated to encrypted ObjectStore where we may not have the key. Note that the actual deletion time is undefined so this should never be used where an ObjectStore is still in use due to a high risk of corruption. Similarly, owner_object_id should never be reused for the same reasons.