]> git.apps.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>
Thu, 18 May 2023 08:33:45 +0000 (14:03 +0530)
commit414ac7dd2ce48d2a31f798e8df09bd3c975e95b1
tree17b535ca25dae0ac3a42b0b665815634690e3b32
parent69160081eea908ba1d5841b6b827352515fb304e
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>
doc/rados/configuration/mclock-config-ref.rst
qa/standalone/misc/mclock-config.sh
src/osd/scheduler/mClockScheduler.cc