23 #ifndef STORAGE_BCACHE_CSET_H 24 #define STORAGE_BCACHE_CSET_H 27 #include "storage/Devices/Device.h" 48 const std::string& get_uuid()
const;
49 void set_uuid(
const std::string& uuid);
81 const Impl& get_impl()
const;
92 bool is_bcache_cset(
const Device* device);
std::vector< const BlkDevice * > get_blk_devices() const
Returns the BlkDevices used by this BcacheCset.
The master container of the libstorage.
Definition: Devicegraph.h:153
BcacheCset * to_bcache_cset(Device *device)
Converts pointer to Device to pointer to BcacheCset.
std::vector< const Bcache * > get_bcaches() const
Returns the Bcaches using this BcacheCset.
static std::vector< BcacheCset * > get_all(Devicegraph *devicegraph)
Get all BcacheCsets.
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
A bcache cache set.
Definition: BcacheCset.h:41
static bool compare_by_uuid(const BcacheCset *lhs, const BcacheCset *rhs)
Compare (less than) two BcacheCsets by UUID.
The storage namespace.
Definition: Actiongraph.h:37