.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(""),
.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."),
return;
size_t block_size = 4096;
- // this will enable continuous allocations
- SetVal(g_conf(), "bluestore_allocator", "avl");
StartDeferred(block_size);
SetVal(g_conf(), "bluestore_max_blob_size", "131072");
SetVal(g_conf(), "bluestore_prefer_deferred_size", "65536");
size_t alloc_size = 4096;
size_t large_object_size = 1 * 1024 * 1024;
- // this will enable continuous allocations
- SetVal(g_conf(), "bluestore_allocator", "avl");
StartDeferred(alloc_size);
SetVal(g_conf(), "bluestore_max_blob_size", "131072");
SetVal(g_conf(), "bluestore_prefer_deferred_size", "65536");