diff --git a/src/mngt/ocf_mngt_cache.c b/src/mngt/ocf_mngt_cache.c index 5286ffc..89c762e 100644 --- a/src/mngt/ocf_mngt_cache.c +++ b/src/mngt/ocf_mngt_cache.c @@ -432,6 +432,10 @@ static int _ocf_mngt_init_instance_add_cores( if (!core->counters) goto err; + ret = ocf_core_seq_cutoff_init(core); + if (ret < 0) + goto err; + if (!core->opened) { env_bit_set(ocf_cache_state_incomplete, &cache->cache_state); @@ -442,10 +446,6 @@ static int _ocf_mngt_init_instance_add_cores( continue; } - ret = ocf_core_seq_cutoff_init(core); - if (ret < 0) - goto err; - length = ocf_volume_get_length(&core->volume); if (length != core->conf_meta->length) { ocf_cache_log(cache, log_err,