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
librbd: Asynchronous (v2) image creation #9585
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
21e6573
librbd / ImageCtx: singleton thread pool instance helper
vshankar 1416f1c
librbd / ImageCtx: singleton safetimer instance helper
vshankar c0848e2
journaler: asynchronous JournalTrimmer::remove_objects()
vshankar 0dfbadd
journaler: implement asynchronous exists()
vshankar 226a5d2
journaler: implement asynchronous remove()
vshankar c4e439d
librbd / journal: async journal removal state machine
vshankar c412941
journaler: async journal object creation
vshankar d5fa466
librbd / journal: async journal creation state machine
vshankar 65d44d5
librbd: asynchronous image creation state machine
vshankar 1c82132
librbd: helper to generate unique image id
vshankar d2baf76
cls / librbd: use asynchronous image creation state machine
vshankar 830e0f1
librbd: minor refactor in create_v1()
vshankar 76e2d86
rbd-mirror: asynchronously create mirror images
vshankar 1713148
test: fix CreateImageRequest unit test case
vshankar 3492153
journaler: remove ununsed synchronous API routines
vshankar File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd leave all the sync versions that are still needed by librbd -- just have the sync version call the async version to setup the object operation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sync versions do use the async helpers which got introduced in the prior commit. This commit changes the sync version to use async helpers.