DMMultipathPath represents one underlying path device for a DM-multipath map.
| 42 | |
| 43 | // DMMultipathPath represents one underlying path device for a DM-multipath map. |
| 44 | type 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-". |
nothing calls this directly
no outgoing calls
no test coverage detected