From 85c39a06d24dd81f9c74277696260a99e8ba9bad Mon Sep 17 00:00:00 2001 From: Aishwarya Mathuria Date: Tue, 23 May 2023 16:13:08 +0530 Subject: [PATCH] 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) --- src/osd/scheduler/mClockScheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/scheduler/mClockScheduler.h b/src/osd/scheduler/mClockScheduler.h index bae303322acca..dd016645e998b 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(); -- 2.39.5