Open CAS Framework
Open source framework of Cache Acceleration Software
|
OCF IO class information. More...
#include <ocf_io_class.h>
Data Fields | |
char | name [OCF_IO_CLASS_NAME_MAX] |
ocf_cache_mode_t | cache_mode |
int16_t | priority |
uint32_t | curr_size |
uint32_t | min_size |
uint32_t | max_size |
uint8_t | eviction_policy_type |
ocf_cleaning_t | cleaning_policy_type |
OCF IO class information.
ocf_cache_mode_t cache_mode |
Cache mode of the IO class
ocf_cleaning_t cleaning_policy_type |
The type of cleaning policy for given IO class
uint32_t curr_size |
Current size of the IO class - number of cache lines which were assigned into this IO class
uint8_t eviction_policy_type |
The type of eviction policy for given IO class
uint32_t max_size |
Maximum number of cache lines that might be assigned into this IO class. If current size reaches maximum size then some of ioclass's cachelines are evicted.
uint32_t min_size |
Minimum number of cache lines that were guaranteed for specified IO class. If current size reach minimum size that no more eviction takes place
char name[OCF_IO_CLASS_NAME_MAX] |
The name of the IO class
int16_t priority |
IO class priority