Open CAS Framework
Open source framework of Cache Acceleration Software
Data Fields
ocf_io_class_info Struct Reference

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
 

Detailed Description

OCF IO class information.

Field Documentation

◆ cache_mode

ocf_cache_mode_t cache_mode

Cache mode of the IO class

◆ cleaning_policy_type

ocf_cleaning_t cleaning_policy_type

The type of cleaning policy for given IO class

◆ curr_size

uint32_t curr_size

Current size of the IO class - number of cache lines which were assigned into this IO class

◆ eviction_policy_type

uint8_t eviction_policy_type

The type of eviction policy for given IO class

◆ max_size

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.

◆ min_size

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

◆ name

The name of the IO class

◆ priority

int16_t priority

IO class priority


The documentation for this struct was generated from the following file: