From e0f083711e83ce4d63a1b9a662c510961367dc15 Mon Sep 17 00:00:00 2001 From: Sunny Kumar Date: Fri, 15 Jan 2021 02:53:05 +0000 Subject: [PATCH] osd: handle ceph specific config changes for the mclock scheduler The below ceph parameters are set automatically while enabling the mclock scheduler with a built-in profile. The user in this case will not be able to modify these ceph specific config options during runtime. a. osd_async_recovery_min_cost b. osd_recovery_max_active{_hdd,_ssd} c. osd_max_backfills d. osd_recovery_sleep{_hdd,_ssd,_hybrid} If the custom profile is enabled for the mclock scheduler, the user can modify these parameters. Signed-off-by: Sunny Kumar --- src/common/options.cc | 9 ++++++++ src/osd/OSD.cc | 51 ++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 57 insertions(+), 3 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 71133bdfb81d7..81daec7b2f57a 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2537,6 +2537,7 @@ std::vector