]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Add config option to skip running the OSD benchmark on start-up.
authorSridhar Seshasayee <sseshasa@redhat.com>
Tue, 3 Aug 2021 08:33:26 +0000 (14:03 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Mon, 13 Sep 2021 11:04:24 +0000 (16:34 +0530)
commit69d3d5903550a4b30d341dfb3fbd39396df56763
treeaa280fc19278b587e1da0248b4e09bbc45713749
parentb48d709d30d8514d9bc9242772f4b56f6bc3534e
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 <sseshasa@redhat.com>
(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.
src/common/options.cc
src/osd/OSD.cc