]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Add function to get osd_bandwidth_cost_per_io
authorAishwarya Mathuria <amathuri@redhat.com>
Tue, 27 Feb 2024 18:21:58 +0000 (18:21 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Wed, 3 Apr 2024 03:56:08 +0000 (03:56 +0000)
commitef1cfd7fa3ad7bd9e367dd293b335ba160c52e32
tree8544e0ab7ae7edc230dbb18467cbe035563102f7
parent5e5ae5c9faa97c8e3bf5fcb62230227a06d6db1d
osd: Add function to get osd_bandwidth_cost_per_io

In order to expose osd_bandwidth_cost_per_io, we add a new function get_cost_per_io. The intention is to use this value for better cost estimation for operations being queued in the mClock scheduler.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/scheduler/OpScheduler.h
src/osd/scheduler/mClockScheduler.h