Open CAS Framework
Open source framework of Cache Acceleration Software
|
Cache attach configuration. More...
#include <ocf_mngt.h>
Data Fields | |
struct ocf_volume_uuid | uuid |
Cache volume UUID. | |
uint8_t | volume_type |
Cache volume type. | |
ocf_cache_line_size_t | cache_line_size |
Cache line size. | |
bool | open_cores |
Automatically open core volumes when loading cache. More... | |
bool | force |
Ignore warnings and initialize new cache instance. More... | |
bool | perform_test |
If set, cache features (like discard) are tested before starting cache. | |
bool | discard_on_start |
If set, cache device will be discarded on cache start. | |
void * | volume_params |
Optional opaque volume parameters, passed down to cache volume open callback. | |
Cache attach configuration.
bool force |
Ignore warnings and initialize new cache instance.
If set to true, it will force initializing new cache despite the existing metadata from previous cache instance.
bool open_cores |
Automatically open core volumes when loading cache.
If set to false, cache load will not attempt to open core volumes, and so cores will be marked "inactive" unless their volumes were earlier added to the core pool. In such case user will be expected to add cores later using function ocf_mngt_cache_add_core().