Merge pull request #404 from robertbaldyga/cleanup-map-entires

Cleanup request map entries in error handling path
This commit is contained in:
Robert Baldyga 2020-09-03 14:21:52 +02:00 committed by GitHub
commit 1024b4e033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -299,6 +299,8 @@ static void ocf_engine_map_hndl_error(struct ocf_cache *cache,
OCF_DEBUG_RQ(req, "Canceling cache line %u",
entry->coll_idx);
entry->status = LOOKUP_MISS;
ocf_metadata_start_collision_shared_access(cache,
entry->coll_idx);