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

Cache start configuration. More...

#include <ocf_mngt.h>

Data Fields

char name [OCF_CACHE_NAME_SIZE]
 Cache name.
 
ocf_cache_mode_t cache_mode
 Cache mode.
 
ocf_eviction_t eviction_policy
 Eviction policy type.
 
ocf_promotion_t promotion_policy
 Promotion policy type.
 
ocf_cache_line_size_t cache_line_size
 Cache line size.
 
ocf_metadata_layout_t metadata_layout
 Metadata layout (stripping/sequential)
 
bool metadata_volatile
 
struct {
   uint32_t   max_queue_size
 
   uint32_t   queue_unblock_size
 
backfill
 Backfill configuration.
 
bool locked
 Start cache and keep it locked. More...
 
bool pt_unaligned_io
 Use pass-through mode for I/O requests unaligned to 4KiB.
 
bool use_submit_io_fast
 If set, try to submit all I/O in fast path.
 

Detailed Description

Cache start configuration.

Field Documentation

◆ locked

bool locked

Start cache and keep it locked.

Note
In this case caller is able to perform additional activities and then shall unlock cache

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