forked from cloud-hypervisor/cloud-hypervisor
-
Notifications
You must be signed in to change notification settings - Fork 5
virtio-blk: blockdev-mirroring for live storage migration #175
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
Open
Coffeeri
wants to merge
34
commits into
cyberus-technology:gardenlinux
Choose a base branch
from
Coffeeri:blockdev-mirror-cyberus-synchronous-completions
base: gardenlinux
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
69324fa
block: add mirror module skeleton
Coffeeri d1c15d5
block: add MirroringAsyncIo skeleton
Coffeeri c1ef6e0
block: add range lock primitive for mirror
Coffeeri ff3ee95
block: add CompletionIo for single-fd waits
Coffeeri 00ba1fe
block: mirror mutating I/O to destination
Coffeeri 8d3db3e
block: add background copy worker for mirror
Coffeeri 62fa1c0
virtio-devices: swap disk_image via queue commands
Coffeeri 659fc7b
virtio-devices: set up mirror command channels
Coffeeri 29c4eda
virtio-devices, block: add Block::start_mirror
Coffeeri c99d234
vmm: add device manager block mirror start and status
Coffeeri d14343b
vmm: add vm.disk-mirror-start REST endpoint
Coffeeri bc55b80
vmm: add vm.disk-mirror-status REST endpoint
Coffeeri fd29c80
block: implement MirroringAsyncIo::submit_batch_requests
Coffeeri da9d0b1
virtio-devices, block: add Block::complete_mirror
Coffeeri 7461879
vmm: add vm.disk-mirror-complete REST endpoint
Coffeeri 04280c8
virtio-devices, block: add Block::cancel_mirror
Coffeeri 7c628fa
vmm: deny conflicting ops while a disk mirror runs
Coffeeri 9e78653
block: use source passthrough after mirror failure
Coffeeri 22c9fc6
vmm: add vm.disk-mirror-cancel REST endpoint
Coffeeri 6883547
block: preserve sparseness in CopyWorker
Coffeeri c277080
block: add mirror unit tests
Coffeeri 016f0a3
block: test range guard held across mirror write
Coffeeri d316fc5
virtio-devices, block: reject mirror ops on a paused device
Coffeeri c237c6a
vmm: reject mirror destination already backing a disk
Coffeeri ee7ea10
block: test batched submit on partial failure
Coffeeri f719f69
block: test mirror phase transitions and op fan-out
Coffeeri 8efe174
docs: add disk mirroring guide
Coffeeri 83ddad3
vmm: dedup block device lookup in DeviceManager
Coffeeri db17488
virtio-devices, vmm: lock mirror destination
Coffeeri bf0bdbc
block: reject QCOW2 backing chains for mirroring
Coffeeri 55ae7b3
vmm: generalize postponed lifecycle events
Coffeeri 12646b6
vmm: postpone guest lifecycle for disk mirrors
Coffeeri eaa2671
virtio-devices, block: emit disk mirror events
Coffeeri b728f99
virtio-devices: drain queues before a mirror switch-over
Coffeeri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.