From: Aishwarya Mathuria Date: Tue, 23 May 2023 10:43:08 +0000 (+0530) Subject: osd: mClock default_min reservation should be 0 X-Git-Tag: v18.1.0~21^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=38c88e744980de488296b36f8db738ee5086a17e;p=ceph-ci.git osd: mClock default_min reservation should be 0 All the mClock profiles enforce no minimum reservation for the background best-effort client. For this purpose, the default_min value should 0 and not 1. Signed-off-by: Aishwarya Mathuria (cherry picked from commit 05848b4957713c5c98c249e15eb8de01d1c6a1e6) --- diff --git a/src/osd/scheduler/mClockScheduler.h b/src/osd/scheduler/mClockScheduler.h index fc2f79b8cd7..795e6fcdf12 100644 --- a/src/osd/scheduler/mClockScheduler.h +++ b/src/osd/scheduler/mClockScheduler.h @@ -33,7 +33,7 @@ namespace ceph::osd::scheduler { -constexpr double default_min = 1.0; +constexpr double default_min = 0.0; constexpr double default_max = std::numeric_limits::is_iec559 ? std::numeric_limits::infinity() : std::numeric_limits::max();