Add a separate config option that controls the alloc_size for the shared
device (BDEV_SLOW).
Signed-off-by: Sage Weil <sage@redhat.com>
OPTION(objectstore_blackhole, OPT_BOOL)
OPTION(bluefs_alloc_size, OPT_U64)
+OPTION(bluefs_shared_alloc_size, OPT_U64)
OPTION(bluefs_max_prefetch, OPT_U64)
OPTION(bluefs_min_log_runway, OPT_U64) // alloc when we get this low
OPTION(bluefs_max_log_runway, OPT_U64) // alloc this much at a time
Option("bluefs_alloc_size", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(1_M)
- .set_description(""),
+ .set_description("Allocation unit size for DB and WAL devices"),
+
+ Option("bluefs_shared_alloc_size", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
+ .set_default(64_K)
+ .set_description("Allocation unit size for primary/shared device"),
Option("bluefs_max_prefetch", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(1_M)