]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: uniform handling of reservation requests 56459/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 3 Apr 2024 07:52:35 +0000 (02:52 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 3 Apr 2024 08:42:33 +0000 (03:42 -0500)
commit005839bdd41835a3235af81c5b9a42f19b663686
tree9539daa47306a369772e498c36dacc7add865b63
parent4a26aa169a46a8ba916c1f8a5bb8c0c9261e11a7
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>
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h