From 0504b9554998005307647744ba82ffbe9ad8c703 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Fri, 14 Jun 2019 14:04:33 +0300 Subject: [PATCH] os/bluestore: track kv utilization in kv_sync_thread Signed-off-by: Igor Fedotov --- src/common/legacy_config_opts.h | 1 + src/common/options.cc | 8 ++++++++ src/os/bluestore/BlueStore.cc | 22 ++++++++++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index dd5b3e0af2f..8539b353bb1 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1051,6 +1051,7 @@ OPTION(bluestore_debug_enforce_settings, OPT_STR) OPTION(bluestore_volume_selection_policy, OPT_STR) OPTION(bluestore_volume_selection_reserved_factor, OPT_DOUBLE) OPTION(bluestore_volume_selection_reserved, OPT_INT) +OPTION(bluestore_kv_sync_util_logging_s, OPT_DOUBLE) OPTION(kstore_max_ops, OPT_U64) OPTION(kstore_max_bytes, OPT_U64) diff --git a/src/common/options.cc b/src/common/options.cc index 7de01868ccf..cf963230ed1 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4799,6 +4799,14 @@ std::vector