Merge pull request #239 from imjfckm/pp-implementation

nhit promotion policy implementation
This commit is contained in:
Michal Rakowski
2019-08-27 12:42:03 +02:00
committed by GitHub
11 changed files with 654 additions and 47 deletions

View File

@@ -210,7 +210,7 @@ typedef enum {
* OCF supported promotion policy types
*/
typedef enum {
ocf_promotion_nop = 0,
ocf_promotion_always = 0,
/*!< No promotion policy. Cache inserts are not filtered */
ocf_promotion_nhit,
@@ -219,7 +219,7 @@ typedef enum {
ocf_promotion_max,
/*!< Stopper of enumerator */
ocf_promotion_default = ocf_promotion_nop,
ocf_promotion_default = ocf_promotion_always,
/*!< Default promotion policy */
} ocf_promotion_t;