]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scheduler: introduce mClockScheduler
authorSamuel Just <sjust@redhat.com>
Tue, 17 Sep 2019 19:10:52 +0000 (12:10 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 23 Oct 2019 20:33:55 +0000 (13:33 -0700)
commit9ec24d3bfef13a02b228d214b24003870c1275c5
tree73b95ce65370dc98dbacb737a403592e9c931b09
parent17a05cb15b7d69db744299efa230a95cc8efb6c8
osd/scheduler: introduce mClockScheduler

mClockScheduler schedules items based on op_scheduler_class
with configured mclock parameters.  Items which should be
scheduled immediately (op_scheduler_class::immediate) are placed
into a single queue as it's not clear that there's a reason to
differentiate among them.

A subsequent patch will add support for client provided mclock
params and dmclock request state.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/common/options.cc
src/dmclock
src/osd/CMakeLists.txt
src/osd/scheduler/OpScheduler.cc
src/osd/scheduler/OpSchedulerItem.h
src/osd/scheduler/mClockScheduler.cc [new file with mode: 0644]
src/osd/scheduler/mClockScheduler.h [new file with mode: 0644]
src/test/osd/CMakeLists.txt
src/test/osd/TestMClockClientQueue.cc
src/test/osd/TestMClockScheduler.cc [new file with mode: 0644]