From 5c6b533697814af8acfd9e731a2599b2294687ef Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 8 Mar 2019 13:16:19 -0600 Subject: [PATCH] os/bluestore: make osd_memory_limit default to .8x the cgroup limit We do this at runtime in _set_cache_sizes so that changes to these values at runtime will be picked up. Signed-off-by: Sage Weil --- src/common/options.cc | 7 +++++++ src/os/bluestore/BlueStore.cc | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/common/options.cc b/src/common/options.cc index 93970645f4d..44a83e60ea5 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4013,6 +4013,13 @@ std::vector