Remove eviction policy abstraction
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
@@ -1167,9 +1167,9 @@ static void _recovery_rebuild_cline_metadata(ocf_cache_t cache,
|
||||
ocf_metadata_add_to_collision(cache, core_id, core_line, hash_index,
|
||||
cache_line);
|
||||
|
||||
ocf_eviction_init_cache_line(cache, cache_line);
|
||||
evp_lru_init_cline(cache, cache_line);
|
||||
|
||||
ocf_eviction_set_hot_cache_line(cache, cache_line);
|
||||
evp_lru_hot_cline(cache, cache_line);
|
||||
|
||||
env_atomic_inc(&core->runtime_meta->cached_clines);
|
||||
env_atomic_inc(&core->runtime_meta->
|
||||
|
@@ -49,8 +49,6 @@ struct ocf_superblock_config {
|
||||
ocf_promotion_t promotion_policy_type;
|
||||
struct promotion_policy_config promotion[PROMOTION_POLICY_TYPE_MAX];
|
||||
|
||||
ocf_eviction_t eviction_policy_type;
|
||||
|
||||
/*
|
||||
* Checksum for each metadata region.
|
||||
* This field has to be the last one!
|
||||
|
Reference in New Issue
Block a user