No description
With blockdev-mirror, it is possible to change the aio setting on the fly and this is useful for migrations between storages where one wants to use io_uring by default and the other doesn't. The node below the top throttle node needs to be replaced so that the limits stay intact and that the top node still has the drive ID as the node name. That node is not necessarily a format node. For example, it could also be a zeroinit node from an earlier mirror operation. So query QEMU itself. QEMU automatically drops nodes after mirror only if they were implicitly added, i.e. not explicitly added via blockdev-add. Since a previous mirror target is explicitly added (and not just implicitly as the child of a top throttle node), it is necessary to detach the appropriate block node after mirror. Already mock blockdev_mirror in the tests. Co-developed-by: Alexandre Derumier <alexandre.derumier@groupe-cyllene.com> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> |
||
|---|---|---|
| debian | ||
| src | ||
| .gitignore | ||
| Makefile | ||