]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/osd/TestMClockScheduler: create_item should pass prio < cutoff
authorSamuel Just <sjust@redhat.com>
Thu, 13 Feb 2025 03:54:28 +0000 (03:54 +0000)
committerSamuel Just <sjust@redhat.com>
Tue, 18 Mar 2025 17:39:10 +0000 (17:39 +0000)
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 <sjust@redhat.com>
(cherry picked from commit 5562ecbcdb1b0ae43145cb7ea9c7a3c76e6449f4)

src/test/osd/TestMClockScheduler.cc

index 149dd58dbd54f51225d052d010ed112c0c39fe29..ce2898b26e8b26b2a752e3875797a04552e8a90c 100644 (file)
@@ -93,7 +93,7 @@ OpSchedulerItem create_item(
   return OpSchedulerItem(
     std::make_unique<mClockSchedulerTest::MockDmclockItem>(
       std::forward<Args>(args)...),
-    12, 12,
+    12, 1,
     utime_t(), owner, e);
 }