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

src/common/options.cc

index 85df2fcc090721b01ccb72e3fb268ad2c4245b18..c32e57a62130efa3f66132cf3a26f5b26f4b57f5 100644 (file)
@@ -3821,7 +3821,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)
@@ -4157,7 +4157,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("stupid")
+    .set_default("bitmap")
     .set_enum_allowed({"bitmap", "stupid"})
     .set_description("Allocator policy"),