]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scheduler: simplify qos specific params in OpSchedulerItem
authorSamuel Just <sjust@redhat.com>
Tue, 4 Apr 2023 23:34:17 +0000 (23:34 +0000)
committerSridhar Seshasayee <sseshasa@redhat.com>
Thu, 27 Apr 2023 13:13:45 +0000 (18:43 +0530)
commitc2cc638273b8220ce5dd10cde73b39b3ad4c194b
tree8cb0199ec36ccc9987270f1f4d54868bd1397837
parent41c1a2c5754d2ed13a7021e6edb588a7de5e8e7b
osd/scheduler: simplify qos specific params in OpSchedulerItem

is_qos_item() was only used in operator<< for OpSchedulerItem.  However,
it's actually useful to see priority for mclock items since it affects
whether it goes into the immediate queues and, for some types, the
class.  Unconditionally display both class_id and priority.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/OSD.cc
src/osd/scheduler/OpSchedulerItem.h