Fix comment
This commit is contained in:
parent
1aedd57a62
commit
99ad5553eb
2
cache/lru_cache.cc
vendored
2
cache/lru_cache.cc
vendored
@ -258,7 +258,7 @@ void LRUCacheShard::SetCapacity(size_t capacity) {
|
|||||||
EvictFromLRU(0, &last_reference_list);
|
EvictFromLRU(0, &last_reference_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to insert the evicted entries into NVM cache
|
// Try to insert the evicted entries into tiered cache
|
||||||
// Free the entries outside of mutex for performance reasons
|
// Free the entries outside of mutex for performance reasons
|
||||||
for (auto entry : last_reference_list) {
|
for (auto entry : last_reference_list) {
|
||||||
if (tiered_cache_ && entry->IsTieredCacheCompatible() &&
|
if (tiered_cache_ && entry->IsTieredCacheCompatible() &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user