Open CAS Framework
Open source framework of Cache Acceleration Software
|
Metadata updater operations. More...
#include <ocf_ctx.h>
Data Fields | |
int(* | init )(ocf_metadata_updater_t mu) |
Initialize metadata updater. More... | |
void(* | kick )(ocf_metadata_updater_t mu) |
Kick metadata updater processing. More... | |
void(* | stop )(ocf_metadata_updater_t mu) |
Stop metadata updater. More... | |
Metadata updater operations.
int(* init) (ocf_metadata_updater_t mu) |
Initialize metadata updater.
This function should create worker, thread, timer or any other mechanism responsible for calling metadata updater routine.
[in] | mu | Handle to metadata updater to be initialized |
0 | Metadata updater has been initializaed successfully |
Non-zero | I/O queue initialization failure |
void(* kick) (ocf_metadata_updater_t mu) |
Kick metadata updater processing.
This function should inform worker, thread or any other mechanism, that there are new metadata requests to be processed.
[in] | mu | Metadata updater to be kicked |
void(* stop) (ocf_metadata_updater_t mu) |
Stop metadata updater.
[in] | mu | Metadata updater beeing stopped |