From e36fb7f3c8f85f1c751adcba196d97d407581e39 Mon Sep 17 00:00:00 2001 From: Sridhar Seshasayee Date: Fri, 14 May 2021 13:54:19 +0530 Subject: [PATCH] osd: Remove the generic "osd_mclock_max_capacity_iops" option. Remove the generic "osd_mclock_max_capacity_iops" option and use the "osd_mclock_max_capacity_iops_[hdd,ssd]" options. It is better to have a clear indication about the type of underlying device. This helps in avoiding confusion when trying to read or override the options. Signed-off-by: Sridhar Seshasayee (cherry picked from commit 6ad38a291dd1fffb5a8b9ad786dd7ca22f67f411) 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. - Removed config option "osd_mclock_max_capacity_iops" from options.cc. --- src/common/options.cc | 6 ------ src/osd/scheduler/mClockScheduler.cc | 17 +++++------------ 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 96bbf56c1a02..a53c15c12512 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3118,12 +3118,6 @@ std::vector