]> git-server-git.apps.pok.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)
committerAishwarya Mathuria <amathuri@redhat.com>
Thu, 13 Jun 2024 03:38:19 +0000 (09:08 +0530)
commit7161d8ad03782b23f44b2d3afcbb80cd043ff35f
treed6388c0d1ad16e6c07eb00e55df0875849f13f53
parent1373963c202323287783ccb099bbae1ec8f14a5d
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