]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: make _set_cache_sizes ratio aware of cache_kv_onode_ratio 55235/head
authorRaimund Sacherer <rsachere@redhat.com>
Fri, 26 May 2023 15:15:43 +0000 (17:15 +0200)
committerIgor Fedotov <igor.fedotov@croit.io>
Thu, 18 Jan 2024 15:44:17 +0000 (18:44 +0300)
commit3ca089e9f9f661234c8d25653b900d1e5020d684
tree06d05328b9c3575d434c576cd2bee233ff4dacc6
parent65e37f1fc1524aaa668d14454c20a9c1ea9c11d9
osd: make _set_cache_sizes ratio aware of cache_kv_onode_ratio

The formula checking if all the cache sizes sum up to <= 1 did not take
cache_kv_onode_ratio into account.

The last dout line did also not take cache_kv_onode_ratio into account.

Signed-off-by: Raimund Sacherer <rsachere@redhat.com>
(cherry picked from commit 8d32e586dcbf355ea7155a4a8c06389be07a2fe8)
src/os/bluestore/BlueStore.cc