From 9813f7d623ccad78ebd89e8cb266b4d7fcd600fd Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 9 May 2019 18:51:31 +0800 Subject: [PATCH] crimson/osd: add crimson_debug_pg_always_active option before crimson is able to peer, we should leave this option ON. Signed-off-by: Kefu Chai --- src/common/legacy_config_opts.h | 2 ++ src/common/options.cc | 4 ++++ src/crimson/osd/pg.cc | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 67607ae206d..73149ec92f0 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1538,3 +1538,5 @@ OPTION(rgw_sts_token_introspection_url, OPT_STR) // url for introspecting web t OPTION(rgw_sts_client_id, OPT_STR) // Client Id OPTION(rgw_sts_client_secret, OPT_STR) // Client Secret OPTION(debug_allow_any_pool_priority, OPT_BOOL) + +OPTION(crimson_debug_pg_always_active, OPT_BOOL) diff --git a/src/common/options.cc b/src/common/options.cc index 64512e4008c..6734274613e 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -8240,6 +8240,10 @@ std::vector