mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 01:50:35 +00:00
Merge branch 'flashcache' of github.com:cloudius-systems/seastar-dev
Flashcache fixes from Raphael.
This commit is contained in:
@@ -466,6 +466,7 @@ public:
|
||||
_total_mem -= item_ref.size();
|
||||
break;
|
||||
case item_state::TO_MEM_DISK:
|
||||
_total_mem_disk -= item_ref.size();
|
||||
break;
|
||||
case item_state::MEM_DISK:
|
||||
_mem_disk_lru.erase(_mem_disk_lru.iterator_to(item_ref));
|
||||
@@ -473,6 +474,7 @@ public:
|
||||
break;
|
||||
case item_state::DISK:
|
||||
_disk_lru.erase(_disk_lru.iterator_to(item_ref));
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user