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: v15.1.0~1878^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c69c9539f628c61a1cf4cae6aadd39cb48a8b022;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 --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 2215ec19c48c..cb0ed47d548e 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -926,6 +926,7 @@ OPTION(bdev_async_discard, OPT_BOOL) 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 bcf4ab8c4133..f99ebc782f02 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4252,7 +4252,11 @@ std::vector