MCPcopy Create free account
hub / github.com/prometheus/procfs / DMMultipathPath

Struct DMMultipathPath

blockdevice/dm_multipath.go:44–50  ·  view source on GitHub ↗

DMMultipathPath represents one underlying path device for a DM-multipath map.

Source from the content-addressed store, hash-verified

42
43// DMMultipathPath represents one underlying path device for a DM-multipath map.
44type DMMultipathPath struct {
45 // Device is the block device name, e.g. "sdi".
46 Device string
47 // State is the raw device state read from
48 // /sys/block/<device>/device/state, e.g. "running", "offline", "live".
49 State string
50}
51
52// DMMultipathDevices discovers DM-multipath devices by scanning
53// /sys/block/dm-* and filtering on dm/uuid prefix "mpath-".

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected