]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Change scrub cost in case of mClock scheduler
authorAishwarya Mathuria <amathuri@redhat.com>
Fri, 19 May 2023 11:46:11 +0000 (17:16 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Tue, 23 May 2023 06:33:03 +0000 (12:03 +0530)
commit43544d296c5fc14aaf638ddf21de9ea9d99f6059
treee70d0993887a8a2fbff0ed5910383bc7170bdbf8
parent0345083c3cf243c26556f0a971bd46ee061cf0e4
osd: Change scrub cost in case of mClock scheduler

With osd_op_queue as WPQ, high costs were assigned to scrub in order to throttle it effectively.
In the case of mClock scheduler, mClock parameters are used to do the throttling and the cost should represent a realistic value.

Fixes: https://tracker.ceph.com/issues/61313
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
src/common/options/global.yaml.in
src/osd/OSD.cc
src/osd/OSD.h