Merge pull request #480 from arutk/lru_fix4

Clear hot flag when removing node from LRU list
This commit is contained in:
Michał Mielewczyk 2021-03-26 11:04:47 +01:00 committed by GitHub
commit 78d7e5294f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,7 @@ static void remove_lru_list(ocf_cache_t cache,
node->prev = end_marker;
}
node->hot = false;
--list->num_nodes;
}