]> git.proxmox.com Git - pve-qemu.git/commitdiff
pbs block driver: run read in the AIO context of the bs
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Apr 2021 14:25:42 +0000 (16:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Apr 2021 14:31:53 +0000 (16:31 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/patches/pve/0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch

index 4c31eaa07145922f03a3529494d3d7d3c04cfb9d..9c7c66e5f9c7002d5ef9b1ea84dc39708613f845 100644 (file)
@@ -241,7 +241,7 @@ index 0000000000..1481a2bfd1
 +
 +    ReadCallbackData rcb = {
 +        .co = qemu_coroutine_self(),
-+        .ctx = qemu_get_current_aio_context(),
++        .ctx = bdrv_get_aio_context(bs),
 +    };
 +
 +    proxmox_restore_read_image_at_async(s->conn, s->aid, buf, offset, bytes,