Initialize seqential cutoff in try-add / load paths
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
188559416c
commit
15fd53cbb0
@ -437,6 +437,8 @@ static int _ocf_mngt_init_instance_add_cores(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ocf_core_seq_cutoff_init(core);
|
||||||
|
|
||||||
hd_lines = ocf_bytes_2_lines(cache,
|
hd_lines = ocf_bytes_2_lines(cache,
|
||||||
ocf_volume_get_length(&core->volume));
|
ocf_volume_get_length(&core->volume));
|
||||||
|
|
||||||
|
@ -289,6 +289,8 @@ static void ocf_mngt_cache_try_add_core_insert(ocf_pipeline_t pipeline,
|
|||||||
if (!(--cache->ocf_core_inactive_count))
|
if (!(--cache->ocf_core_inactive_count))
|
||||||
env_bit_clear(ocf_cache_state_incomplete, &cache->cache_state);
|
env_bit_clear(ocf_cache_state_incomplete, &cache->cache_state);
|
||||||
|
|
||||||
|
ocf_core_seq_cutoff_init(core);
|
||||||
|
|
||||||
OCF_PL_NEXT_RET(pipeline);
|
OCF_PL_NEXT_RET(pipeline);
|
||||||
|
|
||||||
error_after_open:
|
error_after_open:
|
||||||
|
Loading…
Reference in New Issue
Block a user