From: Sridhar Seshasayee Date: Tue, 3 Aug 2021 08:33:26 +0000 (+0530) Subject: osd: Add config option to skip running the OSD benchmark on start-up. X-Git-Tag: v16.2.7~110^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=69d3d5903550a4b30d341dfb3fbd39396df56763;p=ceph.git osd: Add config option to skip running the OSD benchmark on start-up. Introduce a new dev config option "osd_mclock_skip_benchmark" that when set skips running the OSD benchmark on start-up. By default this option is disabled. This is useful in the following scenarios: - Dev/CI testing, - Configurations that don't need QoS. If the option is enabled, the default OSD iops capacity is read from osd_mclock_max_capacity_iops_[hdd,ssd]. Fixes: https://tracker.ceph.com/issues/52025 Signed-off-by: Sridhar Seshasayee (cherry picked from commit 6ca32bde2e1d0dd58df168126582a570ac09aad6) Conflicts: src/common/options/osd.yaml.in - Removed non-existent file: src/common/options/osd.yaml.in since the switch to yaml for config options is not available in pacific yet. --- diff --git a/src/common/options.cc b/src/common/options.cc index 5eab18040e6d..1f71079a8a21 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3138,6 +3138,14 @@ std::vector