Open CAS Framework
Open source framework of Cache Acceleration Software
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
ocf_metadata_updater.h File Reference

OCF metadata updater API. More...

Go to the source code of this file.

Functions

uint32_t ocf_metadata_updater_run (ocf_metadata_updater_t mu)
 Run metadata updater. More...
 
void ocf_metadata_updater_set_priv (ocf_metadata_updater_t mu, void *priv)
 Set metadata updater private data. More...
 
void * ocf_metadata_updater_get_priv (ocf_metadata_updater_t mu)
 Get metadata updater private data. More...
 
ocf_cache_t ocf_metadata_updater_get_cache (ocf_metadata_updater_t mu)
 Get cache instance to which metadata updater belongs. More...
 

Detailed Description

OCF metadata updater API.

Function Documentation

◆ ocf_metadata_updater_get_cache()

ocf_cache_t ocf_metadata_updater_get_cache ( ocf_metadata_updater_t  mu)

Get cache instance to which metadata updater belongs.

Parameters
[in]cMetadata updater handle
Return values
Cacheinstance

◆ ocf_metadata_updater_get_priv()

void* ocf_metadata_updater_get_priv ( ocf_metadata_updater_t  mu)

Get metadata updater private data.

Parameters
[in]cMetadata updater handle
Return values
Metadataupdater private data

◆ ocf_metadata_updater_run()

uint32_t ocf_metadata_updater_run ( ocf_metadata_updater_t  mu)

Run metadata updater.

Parameters
[in]muMetadata updater instance to run
Return values
Hintif there is need to rerun without waiting.

◆ ocf_metadata_updater_set_priv()

void ocf_metadata_updater_set_priv ( ocf_metadata_updater_t  mu,
void *  priv 
)

Set metadata updater private data.

Parameters
[in]cMetadata updater handle
[in]privPrivate data