Merge pull request #526 from robertbaldyga/fix-unlock-after-invalid
Unlock request after invalidating cache lines
This commit is contained in:
commit
b9f160b177
@ -394,15 +394,15 @@ static void ocf_engine_remap(struct ocf_request *req)
|
||||
/* mark error */
|
||||
ocf_req_set_mapping_error(req);
|
||||
|
||||
/* unlock cachelines locked during remapping */
|
||||
ocf_req_unlock(ocf_cache_line_concurrency(req->cache),
|
||||
req);
|
||||
|
||||
/* request cleaning */
|
||||
ocf_req_set_cleaning_required(req);
|
||||
|
||||
/* unmap inserted and replaced cachelines */
|
||||
ocf_engine_map_hndl_error(req->cache, req);
|
||||
|
||||
/* unlock cachelines locked during remapping */
|
||||
ocf_req_unlock(ocf_cache_line_concurrency(req->cache),
|
||||
req);
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user