23 #ifndef STORAGE_DM_RAID_H 24 #define STORAGE_DM_RAID_H 27 #include "storage/Devices/Partitionable.h" 45 unsigned long long size);
59 bool is_rotational()
const;
79 const Impl& get_impl()
const;
81 virtual DmRaid* clone()
const override;
90 bool is_dm_raid(
const Device* device);
static std::vector< DmRaid * > get_all(Devicegraph *devicegraph)
Get all DmRaids.
A start/length pair with a block size.
Definition: Region.h:73
The master container of the libstorage.
Definition: Devicegraph.h:153
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
Definition: Partitionable.h:40
static DmRaid * find_by_name(Devicegraph *devicegraph, const std::string &name)
Find a DmRaid by its name.
The storage namespace.
Definition: Actiongraph.h:37
A DM RAID device.
Definition: DmRaid.h:37
DmRaid * to_dm_raid(Device *device)
Converts pointer to Device to pointer to DmRaid.