Skip to content

Commit 05848b4

Browse files
committed
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 <[email protected]>
1 parent 43544d2 commit 05848b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osd/scheduler/mClockScheduler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
namespace ceph::osd::scheduler {
3535

36-
constexpr double default_min = 1.0;
36+
constexpr double default_min = 0.0;
3737
constexpr double default_max = std::numeric_limits<double>::is_iec559 ?
3838
std::numeric_limits<double>::infinity() :
3939
std::numeric_limits<double>::max();

0 commit comments

Comments
 (0)