Skip to content

squid: osd/scrub: allow new scrubs while reserving#58089

Merged
yuriw merged 2 commits intoceph:squidfrom
ronen-fr:wip-rf-57865-squid
Jul 9, 2024
Merged

squid: osd/scrub: allow new scrubs while reserving#58089
yuriw merged 2 commits intoceph:squidfrom
ronen-fr:wip-rf-57865-squid

Conversation

@ronen-fr
Copy link
Copy Markdown
Contributor

@ronen-fr ronen-fr commented Jun 17, 2024

allow new scrub sessions to be initiated by an OSD even while a PG is
in the process of reserving scrub resources.

The existing restriction made sense when the replica reservation process
was expected to succeed or fail within a few milliseconds. It makes less
sense now that the reservation process is queue-based (Reserver based)
and can take unlimited time (hours, days, ...) to complete.

Backport of #57865

Fixes: https://tracker.ceph.com/issues/66524
Original tracker: https://tracker.ceph.com/issues/66351

ronen-fr added 2 commits June 17, 2024 07:49
allow new scrub session to be initiated by an OSD even while a PG is
in the process of reserving scrub resources.
The existing restriction made sense when the replica reservation process
was expected to succeed or fail within a few milliseconds. It makes less
sense now that the reservation process is queue-based (Reserver based)
and can take unlimited time (hours, days, ...) to complete.

Fixes: https://tracker.ceph.com/issues/66351

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit cca76b0)
As we no longer block the initiation of new scrub sessions for an OSD
for which any of its PGs is in the process of reserving scrub resources,
there is no need to track the reserving state at the OSD level.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 1deac15)
@github-actions github-actions bot added the core label Jun 17, 2024
@github-actions github-actions bot added this to the squid milestone Jun 17, 2024
@ronen-fr ronen-fr marked this pull request as ready for review June 17, 2024 13:13
@ronen-fr ronen-fr requested a review from a team as a code owner June 17, 2024 13:13
@ronen-fr ronen-fr requested review from ljflores and neha-ojha June 17, 2024 13:13
@yuriw
Copy link
Copy Markdown
Contributor

yuriw commented Jul 9, 2024

@yuriw yuriw merged commit a38a725 into ceph:squid Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants