Repository navigation
nautilus: osd: optimize PG removal (part1) - #38478
Merged
Merged
Conversation
Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit 7f04700) Conflicts: src/crimson/osd/pg.cc src/crimson/osd/pg.h src/osd/PG.cc src/osd/PG.h src/osd/PeeringState.cc src/osd/PeeringState.h Legacy design for Deleting peering stat.
Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit 8684061) Conflicts: src/os/bluestore/BlueStore.cc Legacy locking in use.
Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit 0504b95) Conflicts: src/os/bluestore/BlueStore.cc trivial
Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit cc9d584)
1) Do not differentiate all-flash and hybrid(ssd+hdd) deployments since they both bound to SSD drive backing DB volume. 2) Drop osd_delete_sleep_hybrid from 2s to 1s 3) Raise osd_delete_sleep_ssd to 1s since 0 is a way too low - having it that low tend to cause a significant negative imact on OSD's regular operation. Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit 6e09f0c)
Signed-off-by: Neha Ojha <[email protected]> (cherry picked from commit 981babc)
Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit ba9b547)
tchaikov
approved these changes
Dec 8, 2020
aclamk
approved these changes
Dec 8, 2020
neha-ojha
approved these changes
Dec 8, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the first set of patches intended to improve user experience while doing pool/PG removal.
Includes previous position reuse for collection listing, trimming removed object from bluestore cache (which speeds-up final collection reaping) plus some means to gather statistics on the removal process.
Fixes: https://tracker.ceph.com/issues/48482
Signed-off-by: Igor Fedotov [email protected]
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox