]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scheduler: Reset ephemeral changes to mClock built-in profile
authorSridhar Seshasayee <sseshasa@redhat.com>
Mon, 15 May 2023 07:16:54 +0000 (12:46 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Mon, 22 May 2023 11:40:33 +0000 (17:10 +0530)
commit41c903a4bf294b6f123484451ff36c449ca51a39
tree13ec3a8dca01310d3efc3738647b3e7e7a99f6e3
parent431e3ed24de37e6024fe5ac828a8252bb5c5c04c
osd/scheduler: Reset ephemeral changes to mClock built-in profile

This is a follow-up to PR: https://github.com/ceph/ceph/pull/48703.
This commit also considers changes made ephemerally using either the
'daemon' or the 'tell' interfaces to override the built-in mClock
QoS parameters. In such a scenario, the ephemeral changes are removed
using the rm_val() method exposed by the config subsytem and logging
this information.

Other changes:

1. Add a standalone test to exercise the fix.
2. Add documentation note on the outcome of the attempt to modify
   built-in profile defaults.

Fixes: https://tracker.ceph.com/issues/61155
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 414ac7dd2ce48d2a31f798e8df09bd3c975e95b1)
doc/rados/configuration/mclock-config-ref.rst
qa/standalone/misc/mclock-config.sh
src/osd/scheduler/mClockScheduler.cc