discard engine: lookup without updating hotness
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
parent
0df0eec7f0
commit
ca7f3651e9
@ -211,7 +211,7 @@ static int _ocf_discard_step(struct ocf_request *req)
|
|||||||
ocf_hb_req_prot_lock_rd(req);
|
ocf_hb_req_prot_lock_rd(req);
|
||||||
|
|
||||||
/* Travers to check if request is mapped fully */
|
/* Travers to check if request is mapped fully */
|
||||||
ocf_engine_traverse(req);
|
ocf_engine_lookup(req);
|
||||||
|
|
||||||
if (ocf_engine_mapped_count(req)) {
|
if (ocf_engine_mapped_count(req)) {
|
||||||
/* Some cache line are mapped, lock request for WRITE access */
|
/* Some cache line are mapped, lock request for WRITE access */
|
||||||
|
Loading…
Reference in New Issue
Block a user