From cda7cb11c14cd54252d4599b2a1aaab0107891c1 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Thu, 13 Feb 2025 03:54:28 +0000 Subject: [PATCH] test/osd/TestMClockScheduler: create_item should pass prio < cutoff Cutoff is set to 12, so let's pass something < 12 rather than 12. Comments in some tests suggest that the intent is for create_item to create things in the mclock queue rather than the high_queue. Signed-off-by: Samuel Just (cherry picked from commit 5562ecbcdb1b0ae43145cb7ea9c7a3c76e6449f4) --- src/test/osd/TestMClockScheduler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/osd/TestMClockScheduler.cc b/src/test/osd/TestMClockScheduler.cc index 0579e97fa50dd..161e90954972b 100644 --- a/src/test/osd/TestMClockScheduler.cc +++ b/src/test/osd/TestMClockScheduler.cc @@ -89,7 +89,7 @@ OpSchedulerItem create_item( return OpSchedulerItem( std::make_unique( std::forward(args)...), - 12, 12, + 12, 1, utime_t(), owner, e); } -- 2.39.5