Rename LOOKUP_MAPPED to LOOKUP_INSERTED

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
Adam Rutkowski
2021-03-05 11:20:46 +01:00
parent a09587f521
commit b34f5fd721
4 changed files with 7 additions and 7 deletions

View File

@@ -161,7 +161,7 @@ int space_managment_evict_do(struct ocf_cache *cache,
} else {
free = ocf_freelist_num_free(cache->freelist);
if (evict_cline_no <= free)
return LOOKUP_MAPPED;
return LOOKUP_INSERTED;
evict_cline_no -= free;
@@ -169,7 +169,7 @@ int space_managment_evict_do(struct ocf_cache *cache,
}
if (evict_cline_no <= evicted)
return LOOKUP_MAPPED;
return LOOKUP_INSERTED;
ocf_req_set_mapping_error(req);
return LOOKUP_MISS;