Merge pull request #526 from robertbaldyga/fix-unlock-after-invalid

Unlock request after invalidating cache lines
This commit is contained in:
Robert Baldyga 2021-06-28 13:50:40 +02:00 committed by GitHub
commit b9f160b177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;