]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Rename keyvaluestore_check_backend to keyvaluestore_debug_check_backend 1282/head 1295/head
authorHaomai Wang <haomaiwang@gmail.com>
Sat, 22 Feb 2014 15:57:02 +0000 (23:57 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Sat, 22 Feb 2014 15:57:02 +0000 (23:57 +0800)
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/common/config_opts.h
src/os/KeyValueStore.cc

index 5332d276df1996e35166246493815cfd28a5916e..7b8b74aa05a197c5edb014adf1c6c476aface07b 100644 (file)
@@ -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)
index 59219c367fe5255d0e87983413cda76f9731cf77..334e09d9a723cf5a25091aa4ec2072895053af11 100644 (file)
@@ -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;