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

Atomic metadata for extended sector. More...

#include <ocf_metadata.h>

Data Fields

uint64_t core_line: 46
 
uint32_t core_seq_no: 16
 
uint32_t valid: 1
 
uint32_t dirty: 1
 

Detailed Description

Atomic metadata for extended sector.

Warning
The size of this structure has to be equal 8 bytes

Field Documentation

◆ core_line

uint64_t core_line

Core line of core (in cache line size unit) which are cached

◆ core_seq_no

uint32_t core_seq_no

Core sequence number to which this line belongs to

◆ dirty

uint32_t dirty

Set bit indicates that sector is dirty

◆ valid

uint32_t valid

Set bit indicates that given sector is valid (is cached)


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