remove metadata updater
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:

committed by
Kozlowski Mateusz

parent
953e0f25d7
commit
f589341c9a
@@ -159,32 +159,6 @@ static void ctx_cleaner_stop(ocf_cleaner_t c)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize metadata updater thread. Metadata updater thread is left
|
||||
* non-implemented to keep this example as simple as possible.
|
||||
*/
|
||||
static int ctx_metadata_updater_init(ocf_metadata_updater_t mu)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Kick metadata updater thread. Metadata updater thread is left
|
||||
* non-implemented to keep this example as simple as possible.
|
||||
*/
|
||||
static void ctx_metadata_updater_kick(ocf_metadata_updater_t mu)
|
||||
{
|
||||
ocf_metadata_updater_run(mu);
|
||||
}
|
||||
|
||||
/*
|
||||
* Stop metadata updater thread. Metadata updater thread is left
|
||||
* non-implemented to keep this example as simple as possible.
|
||||
*/
|
||||
static void ctx_metadata_updater_stop(ocf_metadata_updater_t mu)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Function prividing interface for printing to log used by OCF internals.
|
||||
* It can handle differently messages at varous log levels.
|
||||
@@ -257,12 +231,6 @@ static const struct ocf_ctx_config ctx_cfg = {
|
||||
.stop = ctx_cleaner_stop,
|
||||
},
|
||||
|
||||
.metadata_updater = {
|
||||
.init = ctx_metadata_updater_init,
|
||||
.kick = ctx_metadata_updater_kick,
|
||||
.stop = ctx_metadata_updater_stop,
|
||||
},
|
||||
|
||||
.logger = {
|
||||
.print = ctx_logger_print,
|
||||
.dump_stack = ctx_logger_dump_stack,
|
||||
|
Reference in New Issue
Block a user