23 #ifndef STORAGE_BCACHE_H
24 #define STORAGE_BCACHE_H
27 #include "storage/Devices/BlkDevice.h"
47 unsigned int get_number()
const;
79 const Impl& get_impl()
const;
81 virtual Bcache* clone()
const override;
90 bool is_bcache(
const Device* device);
static std::vector< Bcache * > get_all(Devicegraph *devicegraph)
Sorted by number.
A bcache device.
Definition: Bcache.h:40
const BlkDevice * get_blk_device() const
Get the BlkDevice used as backing device.
The master container of the libstorage.
Definition: Devicegraph.h:133
bool has_bcache_cset() const
Returns true if a cache is attached.
const BcacheCset * get_bcache_cset() const
Get the BcacheCset used as cache.
An abstract Block Device.
Definition: BlkDevice.h:40
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:73
A bcache cache set.
Definition: BcacheCset.h:41
The storage namespace.
Definition: Actiongraph.h:36