Open CAS Framework
Open source framework of Cache Acceleration Software
|
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... | |
OCF metadata updater API.
ocf_cache_t ocf_metadata_updater_get_cache | ( | ocf_metadata_updater_t | mu | ) |
Get cache instance to which metadata updater belongs.
[in] | c | Metadata updater handle |
Cache | instance |
void* ocf_metadata_updater_get_priv | ( | ocf_metadata_updater_t | mu | ) |
Get metadata updater private data.
[in] | c | Metadata updater handle |
Metadata | updater private data |
uint32_t ocf_metadata_updater_run | ( | ocf_metadata_updater_t | mu | ) |
Run metadata updater.
[in] | mu | Metadata updater instance to run |
Hint | if there is need to rerun without waiting. |
void ocf_metadata_updater_set_priv | ( | ocf_metadata_updater_t | mu, |
void * | priv | ||
) |
Set metadata updater private data.
[in] | c | Metadata updater handle |
[in] | priv | Private data |