]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: reduce calls to on_scrub_schedule_input_change()
authorRonen Friedman <rfriedma@redhat.com>
Wed, 26 Jul 2023 12:56:33 +0000 (07:56 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 3 Aug 2023 06:19:31 +0000 (09:19 +0300)
commitaeaf429ce4ffea2557e548c07f7287d465b97e70
tree97ac0e62e9361b4269e80963928004d9b256dc16
parentfed7e2f6056b0083b9a4bde3ca44608dd4abcad4
osd/scrub: reduce calls to on_scrub_schedule_input_change()

PG::handle_activate_map() modified to accept the range of
epochs since its last invocation. A possible scrub-related
parameters change will only be handled if the lastest pool
info change was within that range.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h