mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
crimson/os/seastore/cache: trim after adding to lru
Signed-off-by: Xinyu Huang <xinyu.huang@intel.com>
This commit is contained in:
parent
277e573e4a
commit
a041322352
@ -747,6 +747,7 @@ private:
|
||||
intrusive_ptr_add_ref(&extent);
|
||||
lru.push_back(extent);
|
||||
}
|
||||
trim_to_capacity();
|
||||
}
|
||||
|
||||
void remove_from_lru(CachedExtent &extent) {
|
||||
|
Loading…
Reference in New Issue
Block a user