]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: modify 'a PG is reserving' to note PG
authorRonen Friedman <rfriedma@redhat.com>
Mon, 2 Oct 2023 09:43:54 +0000 (04:43 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 14 Oct 2023 18:49:01 +0000 (21:49 +0300)
commita402e34b625ca3030a36f4621c1924017c964c9b
tree81243b3672fc7c0ab0866034e1578a518b3609a1
parent5ecd20f6204627a3dc2f5b659357a6f748d24e89
osd/scrub: modify 'a PG is reserving' to note PG

Only the PG that had set the 'I am in the process of
reserving my replicas' is allowed to clear that status.

That will simplify the follow-up commit, setting this flag from
a specific scrub-FSM state.

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