]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: mClock default_min reservation should be 0 51656/head
authorAishwarya Mathuria <amathuri@redhat.com>
Tue, 23 May 2023 10:43:08 +0000 (16:13 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Tue, 23 May 2023 10:43:08 +0000 (16:13 +0530)
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>
src/osd/scheduler/mClockScheduler.h

index fc2f79b8cd7bc7cd27f3dfeabf7c794f546cf8bb..795e6fcdf127e2e7b94a06f30884320fad02c534 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();