]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: uniform handling of reservation requests 56777/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 3 Apr 2024 07:52:35 +0000 (02:52 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 9 Apr 2024 11:01:19 +0000 (06:01 -0500)
commita437c24a236f768fe63f3601b8b08966287d1904
tree8eba1d51b617fd2db4619edc568295ef04196b51
parent3774a79bc8f87ac59b33c5000b22a9d4ec1aa58b
osd/scrub: uniform handling of reservation requests

we now allow - on the replica side - reservation requests
regardless of the ReplicaActive sub-state. I.e. - we will
honor such requests even when handling a chunk request
(in ReplicaActiveOp).

Note that the current Primary code would never send such
a request. But a future primary code might.

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