Remove early return from engine_map() in case of hit
At this point cacheline status in request map is stale, as lookup was performed before upgrading hash bucket lock. If indeed all cachelines are mapped, this will be determined in the main loop of engine_map(). Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
736fb2efc0
commit
e5fa15bdb2
@ -402,9 +402,6 @@ static void ocf_engine_map(struct ocf_request *req)
|
||||
uint64_t core_line;
|
||||
ocf_core_id_t core_id = ocf_core_get_id(req->core);
|
||||
|
||||
if (!ocf_engine_unmapped_count(req))
|
||||
return;
|
||||
|
||||
if (ocf_engine_unmapped_count(req) >
|
||||
ocf_freelist_num_free(cache->freelist)) {
|
||||
ocf_req_set_mapping_error(req);
|
||||
|
Loading…
Reference in New Issue
Block a user