From 90ebdcc4a67aa7a243ccc4b633a60ed06b1d9278 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Sat, 22 Feb 2014 23:57:02 +0800 Subject: [PATCH] Rename keyvaluestore_check_backend to keyvaluestore_debug_check_backend Signed-off-by: Haomai Wang --- src/common/config_opts.h | 2 +- src/os/KeyValueStore.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 5332d276df199..7b8b74aa05a19 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -652,7 +652,7 @@ OPTION(journal_force_aio, OPT_BOOL, false) OPTION(keyvaluestore_queue_max_ops, OPT_INT, 50) OPTION(keyvaluestore_queue_max_bytes, OPT_INT, 100 << 20) -OPTION(keyvaluestore_check_backend, OPT_BOOL, 0) // Expensive debugging check on sync +OPTION(keyvaluestore_debug_check_backend, OPT_BOOL, 0) // Expensive debugging check on sync OPTION(keyvaluestore_op_threads, OPT_INT, 2) OPTION(keyvaluestore_op_thread_timeout, OPT_INT, 60) OPTION(keyvaluestore_op_thread_suicide_timeout, OPT_INT, 180) diff --git a/src/os/KeyValueStore.cc b/src/os/KeyValueStore.cc index 59219c367fe52..334e09d9a723c 100644 --- a/src/os/KeyValueStore.cc +++ b/src/os/KeyValueStore.cc @@ -864,7 +864,7 @@ int KeyValueStore::mount() } stringstream err2; - if (g_conf->keyvaluestore_check_backend && !dbomap->check(err2)) { + if (g_conf->keyvaluestore_debug_check_backend && !dbomap->check(err2)) { derr << err2.str() << dendl;; delete dbomap; ret = -EINVAL; -- 2.39.5