Skip to content

Commit

Permalink
discard engine: lookup without updating hotness
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Mielewczyk <[email protected]>
  • Loading branch information
mmichal10 committed Sep 10, 2024
1 parent 0df0eec commit ca7f365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/engine_discard.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ static int _ocf_discard_step(struct ocf_request *req)
ocf_hb_req_prot_lock_rd(req);

/* Travers to check if request is mapped fully */
ocf_engine_traverse(req);
ocf_engine_lookup(req);

if (ocf_engine_mapped_count(req)) {
/* Some cache line are mapped, lock request for WRITE access */
Expand Down

0 comments on commit ca7f365

Please sign in to comment.