Skip to content

pacific: osd/scrub: restart snap trimming only after scrubbing is done - #45785

Merged
yuriw merged 1 commit into
ceph:pacificfrom
ronen-fr:wip-rf-45640-pacific
Apr 7, 2022
Merged

yuriw merged 1 commit into
ceph:pacificfrom
ronen-fr:wip-rf-45640-pacific

Conversation

@ronen-fr

@ronen-fr ronen-fr commented Apr 5, 2022

Copy link
Copy Markdown
Contributor

Snap trimming that was postponed as the target PG was scrubbing
must be restarted at scrub completion.
PR #38111 moved trimming restart to just before the scrub fully
terminated. The current PR fixes that.

Trimming is also restarted in those cases where scrub was
queued but aborted immediately.

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

Signed-off-by: Ronen Friedman [email protected]
(cherry picked from commit 948d326)

Conflicts:
src/osd/pg_scrubber.cc

Conflict resolved by removing a clear_queued_or_active() call that
was dragged in.

Snap trimming that was postponed as the target PG was scrubbing
must be restarted at scrub completion.
PR ceph#38111 moved trimming restart to just before the scrub fully
terminated. The current PR fixes that.

Trimming is also restarted in those cases where scrub was
queued but aborted immediately.

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

Signed-off-by: Ronen Friedman <[email protected]>
(cherry picked from commit 948d326)

Conflicts:
	src/osd/pg_scrubber.cc

Conflict resolved by removing a clear_queued_or_active() call that
was dragged in.
@github-actions github-actions Bot added the core label Apr 5, 2022
@github-actions github-actions Bot added this to the pacific milestone Apr 5, 2022
@neha-ojha
neha-ojha self-requested a review April 5, 2022 20:00
@ronen-fr

ronen-fr commented Apr 6, 2022

Copy link
Copy Markdown
Contributor Author

@ljflores

ljflores commented Apr 6, 2022

Copy link
Copy Markdown
Member

jenkins test api

@ljflores

ljflores commented Apr 7, 2022

Copy link
Copy Markdown
Member

@ljflores

ljflores commented Apr 7, 2022

Copy link
Copy Markdown
Member

jenkns test api

@ljflores

ljflores commented Apr 7, 2022

Copy link
Copy Markdown
Member

jenkins test api

@yuriw
yuriw merged commit adbb229 into ceph:pacific Apr 7, 2022
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.

4 participants