]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: mClock default_min reservation should be 0 51728/head
authorAishwarya Mathuria <amathuri@redhat.com>
Tue, 23 May 2023 10:43:08 +0000 (16:13 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Thu, 25 May 2023 02:57:18 +0000 (02:57 +0000)
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 <amathuri@redhat.com>
(cherry picked from commit 05848b4957713c5c98c249e15eb8de01d1c6a1e6)

src/osd/scheduler/mClockScheduler.h

index bae303322accab114eea4ae90f345526b1178f48..dd016645e998b0c8e1e0610ec0f2b0bca6e8320e 100644 (file)
@@ -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<double>::is_iec559 ?
   std::numeric_limits<double>::infinity() :
   std::numeric_limits<double>::max();