Skip to content

Commit

Permalink
Merge pull request #403 from robertbaldyga/v20.3.2-cleanup-map-entires
Browse files Browse the repository at this point in the history
Cleanup request map entries in error handling path
  • Loading branch information
Robert Baldyga authored Sep 2, 2020
2 parents 0851870 + c9dd94f commit d0a1d52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/engine/engine_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,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);

Expand Down

0 comments on commit d0a1d52

Please sign in to comment.