]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Collection::split_cache no longer purges cache 65792/head
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 26 May 2026 10:38:17 +0000 (10:38 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Tue, 26 May 2026 10:38:17 +0000 (10:38 +0000)
commitd2f2d866991b356bc4f8c595982abd20e591d7a4
tree9a2491e8fb212679bf2140e53845add98596bea1
parent42b298640a98093076bd440c89eee6c6806b579b
os/bluestore: Collection::split_cache no longer purges cache

There are 2 cases when Collection::split_cache is used:
1) Merge Collections.
   It this case we get more elements in dest collection,
   but we do not want to trim by force as it might cause stall.
2) Split Collection
   Source cache is getting thinner, and dest cache is growing.
   Similarly, trimming dest will cause stall.

Decision:
It is better to not trim forcibly and relay on gradual trimming
from MempoolThread or client IO.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/os/bluestore/BlueStore.cc