Struct lsm::VolumeRaidInfo [] [src]

pub struct VolumeRaidInfo {
    pub raid_type: RaidType,
    pub strip_size: u32,
    pub disk_count: u32,
    pub min_io_size: u32,
    pub opt_io_size: u32,
}

Represent volume RAID informtion.

Fields

RAID type

The size of strip on each disk or other storage extent. For RAID1/JBOD, it should be set as block size. If plugin failed to detect strip size, it should be set as 0.

The count of disks used for assembling the RAID group(s) where this volume allocated from. For any RAID system using the slice of disk, this value indicate how many disk slices are used for the RAID. For example, on LVM RAID, the 'disk_count' here indicate the count of PVs used for certain volume. Another example, on EMC VMAX, the 'disk_count' here indicate how many hyper volumes are used for this volume. For any RAID system using remote LUN for data storing, each remote LUN should be count as a disk. If the plugin failed to detect disk_count, it should be set as 0.

The minimum I/O size, device preferred I/O size for random I/O. Any I/O size not equal to a multiple of this value may get significant speed penalty. Normally it refers to strip size of each disk(extent). If plugin failed to detect min_io_size, it should try these values in the sequence of: logical sector size -> physical sector size -> 0

The optimal I/O size, device preferred I/O size for sequential I/O. Normally it refers to RAID group stripe size. If plugin failed to detect opt_io_size, it should be set to 0.

Trait Implementations

impl Debug for VolumeRaidInfo
[src]

[src]

Formats the value using the given formatter.

impl Clone for VolumeRaidInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more