discard engine: lookup without updating hotness

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Michal Mielewczyk 2024-08-26 13:18:23 +02:00
parent 0df0eec7f0
commit ca7f3651e9

View File

@ -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 */