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: v13.0.2~214^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d87cb07c8e1e4d4717cfcf7bf3d5b7e1cd124bf3;p=ceph.git os/bluestore: avoid frequent allocator dump on bluefs rebalance failure Signed-off-by: Igor Fedotov --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 298721ef83bd..77828795fe6d 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -962,6 +962,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 628fc57269f6..889fcb97032c 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3481,6 +3481,11 @@ std::vector