From: Sage Weil Date: Wed, 7 Aug 2019 15:44:38 +0000 (-0500) Subject: os/bluestore/BlueFS: add bluefs_shared_alloc_size X-Git-Tag: v12.2.13~146^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=261a14b5c8fe3d158f3f7654d621d6939ad01fef;p=ceph.git os/bluestore/BlueFS: add bluefs_shared_alloc_size Add a separate config option that controls the alloc_size for the shared device (BDEV_SLOW). Signed-off-by: Sage Weil (cherry picked from commit c69c9539f628c61a1cf4cae6aadd39cb48a8b022) - no Option::TYPE_SIZE --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 8cd09eaeb41..eab1f3fd354 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -983,6 +983,7 @@ OPTION(bdev_nvme_retry_count, OPT_INT) // -1 means by default which is 4 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 diff --git a/src/common/options.cc b/src/common/options.cc index 6f4529da03a..fc41bc02da6 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3288,7 +3288,11 @@ std::vector