]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: allow new scrubs while reserving
authorRonen Friedman <rfriedma@redhat.com>
Tue, 4 Jun 2024 08:53:04 +0000 (03:53 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 16 Jun 2024 10:51:33 +0000 (13:51 +0300)
commitcca76b02828ed404ec87bf8cd8c8eae95a25a96b
treeb640776b498919ae8ef900209bd378ec5f3dd82f
parent414085c1d72de0fd6669746cf5d1dc2815ee48b1
osd/scrub: allow new scrubs while reserving

allow new scrub session to be initiated by an OSD even while a PG is
in the process of reserving scrub resources.
The existing restriction made sense when the replica reservation process
was expected to succeed or fail within a few milliseconds. It makes less
sense now that the reservation process is queue-based (Reserver based)
and can take unlimited time (hours, days, ...) to complete.

Fixes: https://tracker.ceph.com/issues/66351
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/osd_scrub.cc
src/osd/scrubber/osd_scrub_sched.cc