]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: register for 'osd_max_scrubs' config changes
authorRonen Friedman <rfriedma@redhat.com>
Thu, 26 Dec 2024 13:06:10 +0000 (07:06 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 26 Dec 2024 13:53:51 +0000 (15:53 +0200)
commitae1bb4012266a7f11f301600bdb6eca677b8d460
tree95ad727e547a633ab6da2c37ad4f4e10dbf07f1e
parent26c84a09fe541e26e7f170f9499fd2774565df49
osd/scrub: register for 'osd_max_scrubs' config changes

Since https://github.com/ceph/ceph/pull/55340, the
osd_max_scrubs (also) affects the parameters of the
async scrub reserver used by the replicas. Thus,
the code must notice and acknowledge changes to this config.

Fixes: https://tracker.ceph.com/issues/69362
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 31e6bacfbf60e3e9222cae354d8527fa92282dbc)
src/osd/OSD.cc