[pve-devel] applied: [PATCH qemu 2/3] pbs block driver: run read in the AIO context of the bs
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Apr 6 16:41:58 CEST 2021
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
...2-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/pve/0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch b/debian/patches/pve/0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch
index 4c31eaa..9c7c66e 100644
--- a/debian/patches/pve/0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch
+++ b/debian/patches/pve/0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch
@@ -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,
--
2.29.2
More information about the pve-devel
mailing list