From ca7f3651e9d4a162bb3f0086042d2433028cafe0 Mon Sep 17 00:00:00 2001 From: Michal Mielewczyk Date: Mon, 26 Aug 2024 13:18:23 +0200 Subject: [PATCH] discard engine: lookup without updating hotness Signed-off-by: Michal Mielewczyk --- src/engine/engine_discard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/engine_discard.c b/src/engine/engine_discard.c index 9b7c01b9..bcef8c5d 100644 --- a/src/engine/engine_discard.c +++ b/src/engine/engine_discard.c @@ -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 */