No description
Find a file
Fiona Ebner 1da911757c block job: add blockdev mirror
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>
2025-07-03 10:46:44 +02:00
debian drive: parse: handle dropped properties 2025-06-20 13:50:44 +02:00
src block job: add blockdev mirror 2025-07-03 10:46:44 +02:00
.gitignore gitignore: sort content 2023-11-17 15:54:24 +01:00
Makefile adopt perltidy also for executables without perl extension 2025-07-02 22:47:05 +02:00