Add promotion policy API and use it in I/O path
Promotion policy is supposed to perform ALRU noise filtering by eliminating one-hit wonders being added to cache and polluting it. Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "utils_cache_line.h"
|
||||
#include "../promotion/promotion.h"
|
||||
|
||||
static inline void ocf_cleaning_set_hot_cache_line(struct ocf_cache *cache,
|
||||
ocf_cache_line_t line)
|
||||
|
@@ -7,9 +7,9 @@
|
||||
#define UTILS_CACHE_LINE_H_
|
||||
|
||||
#include "../metadata/metadata.h"
|
||||
#include "../concurrency/ocf_cache_concurrency.h"
|
||||
#include "../eviction/eviction.h"
|
||||
#include "../eviction/ops.h"
|
||||
#include "../concurrency/ocf_cache_concurrency.h"
|
||||
#include "../engine/cache_engine.h"
|
||||
#include "../ocf_request.h"
|
||||
#include "../ocf_def_priv.h"
|
||||
|
Reference in New Issue
Block a user