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: v17.2.7~360^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=85c39a06d24dd81f9c74277696260a99e8ba9bad;p=ceph.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 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();