]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: make _set_cache_sizes ratio aware of cache_kv_onode_ratio 55220/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 01:48:10 +0000 (04:48 +0300)
commitc154718c8aeefb109e6db6dc9633a4748064648b
tree6d1d5277affc07dc4b6797e5e9ef2424c854e4a8
parent0432ec0b08f828168daabb662f8f7ed8f0d29dcc
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