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

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...
 

Detailed Description

Metadata updater operations.

Field Documentation

◆ init

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.

Parameters
[in]muHandle to metadata updater to be initialized
Return values
0Metadata updater has been initializaed successfully
Non-zeroI/O queue initialization failure

◆ kick

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.

Parameters
[in]muMetadata updater to be kicked

◆ stop

void(* stop) (ocf_metadata_updater_t mu)

Stop metadata updater.

Parameters
[in]muMetadata updater beeing stopped

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