Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

octopus: osd: Try other PGs when reservation failures occur #40088

Open
wants to merge 5 commits into
base: octopus
Choose a base branch
from

Conversation

dzafman
Copy link
Contributor

@dzafman dzafman commented Mar 12, 2021

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Signed-off-by: David Zafman <dzafman@redhat.com>
This operates like the latest code from Pacific onwards.
It is need to make the test of parallelism work because
the PG can go into scrubbing then pause like a scrub which
takes time to finish would.

The old code needlessly did 2 sleeps in a row at the start,
first at INACTIVE then immediately again at NEW_CHUNK.

Signed-off-by: David Zafman <dzafman@redhat.com>
Taken from: d3cc647

Signed-off-by: David Zafman <dzafman@redhat.com>
Fixes: https://tracker.ceph.com/issues/48843

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 08c3ede)

Conflicts:
	PendingReleaseNotes (trivial)
	src/osd/OSD.cc (trivial)
	src/osd/PG.cc (set_reserve_failed() in appropriate places)
	src/osd/PG.h (add reserve_failed to scrubber)
	src/osd/pg_scrubber.h (not present)
	src/osd/scrub_machine.cc (not present)
	src/osd/scrub_machine_lstnr.h (not present)
	src/osd/scrubber_common.h (not present)
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit dd63577)

Increase osd_scrub_sleep time to 7 seconds to make it work in this older release
@dzafman dzafman added this to the octopus milestone Mar 12, 2021
@neha-ojha neha-ojha added the DNM label Mar 17, 2021
Copy link
Member

@neha-ojha neha-ojha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@idryomov idryomov changed the base branch from octopus to octopus-saved April 20, 2021 18:12
@idryomov idryomov changed the base branch from octopus-saved to octopus April 20, 2021 18:12
@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@jdurgin jdurgin changed the base branch from octopus to octopus-saved May 14, 2021 21:57
@jdurgin jdurgin changed the base branch from octopus-saved to octopus May 14, 2021 21:57
@abhipsa079
Copy link

heya all! can you help me out how to make contributions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants