os/bluestore: default to bitmap allocator for bluestore/bluefs

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
This commit is contained in:
Igor Fedotov 2018-05-18 22:14:59 +03:00
parent 95bd72fc22
commit 231b7dd9c5

View File

@ -3741,7 +3741,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)
@ -4070,7 +4070,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"),