extra assertion in metadata passive update
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
d0b00817f3
commit
b455a393dd
@ -208,6 +208,9 @@ static void cleanup_old_mapping(ocf_cache_t cache, ocf_cache_line_t start,
|
|||||||
if (!core)
|
if (!core)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
ENV_BUG_ON(ocf_metadata_get_partition_id(cache, cline) !=
|
||||||
|
PARTITION_DEFAULT);
|
||||||
|
|
||||||
_dec_core_stats(core);
|
_dec_core_stats(core);
|
||||||
|
|
||||||
ocf_hb_cline_prot_lock_wr(&cache->metadata.lock, lock_idx, core_id,
|
ocf_hb_cline_prot_lock_wr(&cache->metadata.lock, lock_idx, core_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user