Struct devicemapper::ThinDev [−][src]
pub struct ThinDev { /* fields omitted */ }
Expand description
DM construct for a thin block device
Implementations
support use of DM for thin provisioned devices over pools
Create a ThinDev using thin_pool as the backing store. If the specified thin_id is already in use by the thin pool an error is returned. If the device is already among the list of devices that dm is aware of, return an error.
Set up a thin device which already belongs to the given thin_pool. The thin device is identified by the thin_id, which is already known to the pool.
If the device is already known to kernel, just verify that specified data matches and return an error if it does not.
If the device has no thin id already registered with the thin pool an error is returned.
Create a snapshot of a ThinDev. Once created a snapshot is the same as any other thin provisioned device. There is no need to track any connection between the source and the snapshot.
Get the current status of the thin device.
Set the table for the thin device’s target
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ThinDev
impl UnwindSafe for ThinDev