]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: remove the fast track (w/o resources acquisition) for repair scrubs 45374/head
authorRonen Friedman <rfriedma@redhat.com>
Fri, 20 Aug 2021 15:33:25 +0000 (15:33 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 16 Mar 2022 08:45:26 +0000 (08:45 +0000)
commit643715be74d0e6ec412eb7a3f239622a64dc0d8b
tree7818e939e1b22c16be963c70ce6b966297755076
parent0b615587ec899834612fb8c89322e0625ac06ba1
osd/scrub: remove the fast track (w/o resources acquisition) for repair scrubs

Previously, after-repair scrubs were started without waiting for either local
or remote OSDs' scrub resources.
The tagging of scrub sessions by the replicas is based on monitoring replica-request
and replica-release messages from the primary. Scrub-map requests arriving without
any reservations interfere with this mechanism.
The benefits of this fast-track were limited at best, and do not justify the complexity
of a solution that accommodates both the bypass and the tagging.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 7011d73ef243b1999a574c786523e4f3fa865f9d)
src/osd/PG.cc
src/osd/PG.h
src/osd/scrub_machine.h