]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
scrub/osd: add clearer reminders that a scrub is blocked
authorRonen Friedman <rfriedma@redhat.com>
Sat, 11 Jun 2022 07:27:47 +0000 (07:27 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 16 Jun 2022 12:29:28 +0000 (12:29 +0000)
commitc344665ee2dbc275993dd967c16a5c20d8403a40
treeb68099f93f93e2f49e7431cb89021bed5f4c6a22
parentd0b69a3cdfe89b5a2cf553065040747d86236d7c
scrub/osd: add clearer reminders that a scrub is blocked

Whenever a scrub session is waiting for an excessive length
of time for a locked object to be unlocked, the total
number of concurrent scrubs in the system is reduced.

The existing cluster warning issued on such occurrences is
easily overlooked. Here we add a constant reminder each time
the OSD tries to schedule scrubs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/OSD.cc
src/osd/osd_types.cc
src/osd/osd_types.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_lstnr.h