]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: do not track reserving state at OSD level
authorRonen Friedman <rfriedma@redhat.com>
Tue, 4 Jun 2024 09:02:55 +0000 (04:02 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 16 Jun 2024 10:51:33 +0000 (13:51 +0300)
commit1deac158036fffa8c2745f27feffcceccb889c27
tree529eafb970fcf89986a369e8d8f08918d2a116e9
parentcca76b02828ed404ec87bf8cd8c8eae95a25a96b
osd/scrub: do not track reserving state at OSD level

As we no longer block the initiation of new scrub sessions for an OSD
for which any of its PGs is in the process of reserving scrub resources,
there is no need to track the reserving state at the OSD level.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/osd_scrub.cc
src/osd/scrubber/osd_scrub.h
src/osd/scrubber/osd_scrub_sched.cc
src/osd/scrubber/osd_scrub_sched.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h
src/osd/scrubber/scrub_machine_lstnr.h