From 76e464784e0bab76886a86d9dcea2f75abeb97b4 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 6 Apr 2021 16:25:42 +0200 Subject: [PATCH] pbs block driver: run read in the AIO context of the bs Signed-off-by: Thomas Lamprecht --- ...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,