From: Samuel Just Date: Thu, 13 Feb 2025 03:54:28 +0000 (+0000) Subject: test/osd/TestMClockScheduler: create_item should pass prio < cutoff X-Git-Tag: v19.2.3~268^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ef851de888913de0ac6d7f13c7d01dc9fbbaa606;p=ceph.git 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) --- diff --git a/src/test/osd/TestMClockScheduler.cc b/src/test/osd/TestMClockScheduler.cc index 149dd58dbd54f..ce2898b26e8b2 100644 --- a/src/test/osd/TestMClockScheduler.cc +++ b/src/test/osd/TestMClockScheduler.cc @@ -93,7 +93,7 @@ OpSchedulerItem create_item( return OpSchedulerItem( std::make_unique( std::forward(args)...), - 12, 12, + 12, 1, utime_t(), owner, e); }