]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Retain overridden mClock recovery settings across osd restarts
authorSridhar Seshasayee <sseshasa@redhat.com>
Tue, 21 Feb 2023 12:24:36 +0000 (17:54 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Mon, 8 May 2023 10:52:00 +0000 (16:22 +0530)
commitb6a442c7cc0d26af6b36a8351f979e28582e5b58
tree512fcf279ab0560fc168f469bf4bd5b12f9d42a4
parentf93fd394b1e56de4477a05a66d921e4fde6bce02
osd: Retain overridden mClock recovery settings across osd restarts

Fix an issue where an overridden mClock recovery setting (set prior to
an osd restart) could be lost after an osd restart.

For e.g., consider that prior to an osd restart, the option
'osd_max_backfill' was successfully set to a value different from the
mClock default. If the osd was restarted for some reason, the
boot-up sequence was incorrectly resetting the backfill value to the
mclock default within the async local/remote reservers. This fix
ensures that no change is made if the current overriden value is
different from the mClock default.

Modify an existing standalone test to verify that the local and remote
async reservers are updated to the desired number of backfills under
normal conditions and also across osd restarts.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
qa/standalone/misc/mclock-config.sh
src/osd/OSD.cc