Struct devicemapper::ThinPoolWorkingStatus[][src]

pub struct ThinPoolWorkingStatus {
    pub transaction_id: u64,
    pub usage: ThinPoolUsage,
    pub held_metadata_root: Option<MetaBlocks>,
    pub discard_passdown: bool,
    pub no_space_policy: ThinPoolNoSpacePolicy,
    pub summary: ThinPoolStatusSummary,
    pub needs_check: bool,
    pub meta_low_water: Option<u64>,
}
Expand description

Status of a working thin pool, i.e, one that does not have status Fail

Fields

transaction_id: u64

The transaction id.

usage: ThinPoolUsage

A struct recording block usage for meta and data devices.

held_metadata_root: Option<MetaBlocks>

A single block value indicating the held metadata root

discard_passdown: bool

discard_passdown/no_discard_passdown

no_space_policy: ThinPoolNoSpacePolicy

no space policy

summary: ThinPoolStatusSummary

A summary of some other status information.

needs_check: bool

needs_check flag has been set in metadata superblock

meta_low_water: Option<u64>

The lowater value for the metadata device in metablocks. This value is set by the kernel. Available in kernel version 4.19 and later.

Implementations

Make a new ThinPoolWorkingStatus struct

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.