Merge pull request #480 from arutk/lru_fix4
Clear hot flag when removing node from LRU list
This commit is contained in:
commit
78d7e5294f
@ -170,6 +170,7 @@ static void remove_lru_list(ocf_cache_t cache,
|
|||||||
node->prev = end_marker;
|
node->prev = end_marker;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
node->hot = false;
|
||||||
--list->num_nodes;
|
--list->num_nodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user