From 57c1542ed45f08938c1bc8b94dcd338a387a1d59 Mon Sep 17 00:00:00 2001 From: "chuanhong.wang" Date: Sun, 22 Jan 2017 11:26:57 +0800 Subject: [PATCH] common: delete unused conf "filestore_debug_disable_sharded_check" Signed-off-by: Chuanhong Wang --- src/common/config_opts.h | 2 -- src/test/objectstore/store_test.cc | 1 - 2 files changed, 3 deletions(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 772fee72f205..295767261a49 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -1106,8 +1106,6 @@ OPTION(kstore_default_stripe_size, OPT_INT, 65536) OPTION(filestore_omap_backend, OPT_STR, "leveldb") OPTION(filestore_omap_backend_path, OPT_STR, "") -OPTION(filestore_debug_disable_sharded_check, OPT_BOOL, false) - /// filestore wb throttle limits OPTION(filestore_wbthrottle_enable, OPT_BOOL, true) OPTION(filestore_wbthrottle_btrfs_bytes_start_flusher, OPT_U64, 41943040) diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 87a1afe60c29..f41c1d759709 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -5667,7 +5667,6 @@ int main(int argc, char **argv) { g_ceph_context->_conf->set_val("filestore_index_retry_probability", "0.5"); g_ceph_context->_conf->set_val("filestore_op_thread_timeout", "1000"); g_ceph_context->_conf->set_val("filestore_op_thread_suicide_timeout", "10000"); - g_ceph_context->_conf->set_val("filestore_debug_disable_sharded_check", "true"); //g_ceph_context->_conf->set_val("filestore_fiemap", "true"); g_ceph_context->_conf->set_val("bluestore_fsck_on_mount", "true"); g_ceph_context->_conf->set_val("bluestore_fsck_on_umount", "true"); -- 2.47.3