OCF update (removed configurable eviction policy)

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
Adam Rutkowski
2021-06-21 16:47:00 +02:00
committed by Kozlowski Mateusz
parent 647124895f
commit 7aa883dbd3
10 changed files with 12 additions and 51 deletions

View File

@@ -44,7 +44,6 @@ struct command_args{
int stats_filters;
int output_format;
int io_class_id;
int eviction_policy_type;
int line_size;
int cache_state_flush;
int flush_data;
@@ -139,11 +138,6 @@ int command_handle_option(char *opt, const char **arg)
if (command_args_values.cleaning_policy_type < 0)
return FAILURE;
} else if (!strcmp(opt, "eviction-policy")) {
command_args_values.eviction_policy_type = validate_str_ev_policy((const char*)arg[0]);
if (command_args_values.eviction_policy_type < 0)
return FAILURE;
} else if (!strcmp(opt, "try-add")) {
command_args_values.try_add = true;
} else if (!strcmp(opt, "update-path")) {
@@ -336,7 +330,6 @@ int handle_start()
command_args_values.state,
command_args_values.cache_device,
command_args_values.cache_mode,
command_args_values.eviction_policy_type,
command_args_values.line_size,
command_args_values.force);