forked from cloud-hypervisor/cloud-hypervisor
-
Notifications
You must be signed in to change notification settings - Fork 4
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
40
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
40 commits
Select commit
Hold shift + click to select a range
e0ac0f2
block: add mirror module skeleton
Coffeeri 5d51ed7
block: add MirroringAsyncIo skeleton
Coffeeri 9536e55
block: add range lock primitive for mirror
Coffeeri 9493478
block: add CompletionWaiter for single-fd waits
Coffeeri a470c6e
block: mirror mutating I/O to destination
Coffeeri 6960766
block: add background copy worker for mirror
Coffeeri 4f45301
virtio-devices: swap disk_image via queue commands
Coffeeri cb570bb
virtio-devices: pre-allocate per-queue command slots
Coffeeri 7b460b6
block: add BlockMirrorHandle
Coffeeri 8487ccf
block: add MirroringAsyncIo::create
Coffeeri 6263c1d
virtio-devices: add Block::start_mirror
Coffeeri c6e5a66
virtio-devices, block: add mirror status helper
Coffeeri 4626540
vmm: add device manager block mirror start and status
Coffeeri b6a01bd
vmm: add vm.disk-mirror-start REST endpoint
Coffeeri 30046ea
vmm: add vm.disk-mirror-status REST endpoint
Coffeeri 13619a9
block: implement MirroringAsyncIo::submit_batch_requests
Coffeeri 60586d7
virtio-devices: drain mirror wrapper before disk_image swap
Coffeeri b39ab4e
virtio-devices, block: add Block::complete_mirror
Coffeeri 6a7767c
vmm: add vm.disk-mirror-complete REST endpoint
Coffeeri f52c12b
virtio-devices, block: add Block::cancel_mirror
Coffeeri 66c63f9
vmm: deny conflicting ops while a disk mirror runs
Coffeeri eb99ccd
block: use source passthrough after mirror failure
Coffeeri 61df06c
vmm: add vm.disk-mirror-cancel REST endpoint
Coffeeri aa07314
block: preserve sparseness in CopyWorker
Coffeeri c0714c4
block: add mirror unit tests
Coffeeri e0585ac
block: test range guard held across mirror write
Coffeeri f8870aa
virtio-devices, block: reject mirror ops on a paused device
Coffeeri cc4bd7a
vmm: reject mirror destination already backing a disk
Coffeeri 5e3abaf
vmm: seccomp: allow io_uring and eventfd2 on vcpus
Coffeeri 738336e
block: test batched submit on partial failure
Coffeeri bb94499
block: test mirror phase transitions and op fan-out
Coffeeri b744756
docs: add disk mirroring guide
Coffeeri 434161e
vmm: dedup block device lookup in DeviceManager
Coffeeri b2f7bdc
virtio-devices: generalize lock granularity
Coffeeri 695aafe
virtio-devices: generalize disk locking
Coffeeri fb38ff3
virtio-devices, vmm: lock mirror destination
Coffeeri ec579b7
block: release stale QEMU lock after downgrade
Coffeeri dd1bf41
block: reject QCOW2 backing chains for mirroring
Coffeeri 40cadaf
vmm: generalize postponed lifecycle events
Coffeeri 40ce520
vmm: postpone guest lifecycle for disk mirrors
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
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
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.