Accessors for req->info.mapping_error

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2020-12-07 04:15:51 -05:00
parent 9e11a88f2e
commit 60680b15b2
6 changed files with 19 additions and 9 deletions

View File

@@ -125,6 +125,6 @@ int space_managment_evict_do(struct ocf_cache *cache,
if (evict_cline_no <= evicted)
return LOOKUP_MAPPED;
req->info.mapping_error |= true;
ocf_req_set_mapping_error(req);
return LOOKUP_MISS;
}