]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: discard ReplicaIdle sub-states
authorRonen Friedman <rfriedma@redhat.com>
Mon, 25 Mar 2024 14:27:31 +0000 (09:27 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 2 Apr 2024 11:16:01 +0000 (06:16 -0500)
commit03a2f8c1113cb12fd19f678ab0353a30ed331c47
tree565dcd936c9c608c5314e3b8c6776d9e2932d802
parent765d4750e2d6c833871540ee446f4208908c9f83
osd/scrub: discard ReplicaIdle sub-states

The 'reservation requested' & 'reservation was granted' states
are now maintained directly in the ReplicaActive state.

'StartReplica' (or 'do process a chunk') - the last event
handled by the sub-states - is now handled by ReplicaIdle.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h