From: Igor Fedotov Date: Fri, 16 Feb 2018 18:53:12 +0000 (+0300) Subject: os/bluestore: avoid frequent allocator dump on bluefs rebalance failure X-Git-Tag: v12.2.11~49^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ceb032d34050525994bbf39ebe2bd2d4f6b7a3e4;p=ceph.git os/bluestore: avoid frequent allocator dump on bluefs rebalance failure Signed-off-by: Igor Fedotov (cherry picked from commit d87cb07c8e1e4d4717cfcf7bf3d5b7e1cd124bf3) --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index a51870ef6428..05c135b929b2 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1003,6 +1003,9 @@ OPTION(bluestore_bluefs_max_ratio, OPT_FLOAT) // max fs free / total free OPTION(bluestore_bluefs_gift_ratio, OPT_FLOAT) // how much to add at a time OPTION(bluestore_bluefs_reclaim_ratio, OPT_FLOAT) // how much to reclaim at a time OPTION(bluestore_bluefs_balance_interval, OPT_FLOAT) // how often (sec) to balance free space between bluefs and bluestore +// how often (sec) to dump allocation failure happened during bluefs rebalance +OPTION(bluestore_bluefs_balance_failure_dump_interval, OPT_FLOAT) + // If you want to use spdk driver, you need to specify NVMe serial number here // with "spdk:" prefix. // Users can use 'lspci -vvv -d 8086:0953 | grep "Device Serial Number"' to diff --git a/src/common/options.cc b/src/common/options.cc index ff3bb1a1be19..b157ef14b22e 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3335,6 +3335,11 @@ std::vector