mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
os/bluestore: Removed bluestore_debug_misc option
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
This commit is contained in:
parent
7d490c05d3
commit
2c66ff7351
@ -1058,7 +1058,6 @@ OPTION(bluestore_blobid_prealloc, OPT_U64)
|
||||
OPTION(bluestore_clone_cow, OPT_BOOL) // do copy-on-write for clones
|
||||
OPTION(bluestore_default_buffered_read, OPT_BOOL)
|
||||
OPTION(bluestore_default_buffered_write, OPT_BOOL)
|
||||
OPTION(bluestore_debug_misc, OPT_BOOL)
|
||||
OPTION(bluestore_debug_no_reuse_blocks, OPT_BOOL)
|
||||
OPTION(bluestore_debug_small_allocations, OPT_INT)
|
||||
OPTION(bluestore_debug_too_many_blobs_threshold, OPT_INT)
|
||||
|
@ -4811,10 +4811,6 @@ std::vector<Option> get_global_options() {
|
||||
.set_flag(Option::FLAG_RUNTIME)
|
||||
.set_description("Cache writes by default (unless hinted NOCACHE or WONTNEED)"),
|
||||
|
||||
Option("bluestore_debug_misc", Option::TYPE_BOOL, Option::LEVEL_DEV)
|
||||
.set_default(false)
|
||||
.set_description(""),
|
||||
|
||||
Option("bluestore_debug_no_reuse_blocks", Option::TYPE_BOOL, Option::LEVEL_DEV)
|
||||
.set_default(false)
|
||||
.set_description(""),
|
||||
|
@ -3617,8 +3617,7 @@ BlueStore::OnodeRef BlueStore::Collection::get_onode(
|
||||
}
|
||||
if (v.length() == 0) {
|
||||
ceph_assert(r == -ENOENT);
|
||||
if (!store->cct->_conf->bluestore_debug_misc &&
|
||||
!create)
|
||||
if (!create)
|
||||
return OnodeRef();
|
||||
|
||||
// new object, new onode
|
||||
|
@ -7890,7 +7890,6 @@ int main(int argc, char **argv) {
|
||||
g_ceph_context->_conf.set_val_or_die("bluestore_fsck_on_mkfs", "false");
|
||||
g_ceph_context->_conf.set_val_or_die("bluestore_fsck_on_mount", "false");
|
||||
g_ceph_context->_conf.set_val_or_die("bluestore_fsck_on_umount", "false");
|
||||
g_ceph_context->_conf.set_val_or_die("bluestore_debug_misc", "true");
|
||||
g_ceph_context->_conf.set_val_or_die("bluestore_debug_small_allocations", "4");
|
||||
g_ceph_context->_conf.set_val_or_die("bluestore_debug_freelist", "true");
|
||||
g_ceph_context->_conf.set_val_or_die("bluestore_clone_cow", "true");
|
||||
|
Loading…
Reference in New Issue
Block a user