]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: default to bitmap allocator for bluestore/bluefs 28972/head
authorIgor Fedotov <ifedotov@suse.com>
Fri, 18 May 2018 19:14:59 +0000 (22:14 +0300)
committerNeha <nojha@redhat.com>
Wed, 10 Jul 2019 17:25:29 +0000 (17:25 +0000)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 231b7dd9c5dc1d22e93a8f81d07e772a6615f9f0)

Conflicts:
src/common/options.cc: this a dev option in luminous

src/common/options.cc

index fdbc23312aeee539d396bf27647722cd211a1938..aeb47fbf0ccc423ebbe1c281ed349aed25d181a2 100644 (file)
@@ -3314,7 +3314,7 @@ std::vector<Option> get_global_options() {
     .set_description(""),
 
     Option("bluefs_allocator", Option::TYPE_STR, Option::LEVEL_DEV)
-    .set_default("stupid")
+    .set_default("bitmap")
     .set_description(""),
 
     Option("bluefs_preextend_wal_files", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
@@ -3655,7 +3655,7 @@ std::vector<Option> get_global_options() {
     .set_description("Key value database to use for bluestore"),
 
     Option("bluestore_allocator", Option::TYPE_STR, Option::LEVEL_DEV)
-    .set_default("stupid")
+    .set_default("bitmap")
     .set_enum_allowed({"bitmap", "stupid"})
     .set_description("Allocator policy"),