]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerSridhar Seshasayee <sseshasa@redhat.com>
Fri, 6 Sep 2024 06:01:06 +0000 (11:31 +0530)
commit8041c5ebfa6341e89c37053e46f33df551a13e83
tree2614abecabdd8ca220cebda10a4b356ff7fb2472
parent7d0f8556ec3067b7a66722672a5c1ee3247bbac6
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>
(cherry picked from commit ef1cfd7fa3ad7bd9e367dd293b335ba160c52e32)
src/osd/OSD.cc
src/osd/OSD.h
src/osd/scheduler/OpScheduler.h
src/osd/scheduler/mClockScheduler.h