]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: set hybrid allocator as a default for bluefs/bluestore
authorIgor Fedotov <ifedotov@suse.com>
Thu, 16 Apr 2020 15:06:04 +0000 (18:06 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 8 Jun 2020 23:06:02 +0000 (02:06 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit cacc7391dca779c7e6e3b57e6d1753a53b8c49b9)

 Conflicts:
src/test/objectstore/store_test.cc
 Non-backported test cases tried to sneak in.

src/common/options.cc

index 79cd99ab0753f313ae5195eaf5564615bfe5d600..2dc3fcae496eabbcfba7daa302f144128ad91155 100644 (file)
@@ -4004,7 +4004,7 @@ std::vector<Option> get_global_options() {
     .set_description(""),
 
     Option("bluefs_allocator", Option::TYPE_STR, Option::LEVEL_DEV)
-    .set_default("bitmap")
+    .set_default("hybrid")
     .set_enum_allowed({"bitmap", "stupid", "avl", "hybrid"})
     .set_description(""),
 
@@ -4372,7 +4372,7 @@ std::vector<Option> get_global_options() {
     .set_description("Key value database to use for bluestore"),
 
     Option("bluestore_allocator", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-    .set_default("bitmap")
+    .set_default("hybrid")
     .set_enum_allowed({"bitmap", "stupid", "avl", "hybrid"})
     .set_description("Allocator policy")
     .set_long_description("Allocator to use for bluestore.  Stupid should only be used for testing."),