Set entry->core_id in ocf_engine_lookup_map_entry
core_id should be set in this function. The fact that it is missing might lead to incorrect behaviour e.g. in case of promotion policy. Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
9d07955640
commit
b14312dcef
@ -51,6 +51,7 @@ void ocf_engine_lookup_map_entry(struct ocf_cache *cache,
|
||||
entry->status = LOOKUP_MISS;
|
||||
entry->coll_idx = cache->device->collision_table_entries;
|
||||
entry->core_line = core_line;
|
||||
entry->core_id = core_id;
|
||||
|
||||
line = ocf_metadata_get_hash(cache, hash);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user