]> git.proxmox.com Git - pve-qemu.git/commit - debian/patches/series
pick fix for potential deadlock with QMP resize and iothread
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 11 Dec 2023 13:28:39 +0000 (14:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 11 Dec 2023 15:56:50 +0000 (16:56 +0100)
commitdfac4f359304a80a34ead27d31090a67c36fb7ee
treec9ff530406e26dfbf3d68988d68ed4f7fe50ae76
parent6b7c1815e1c89cb66ff48fbba6da69fe6d254630
pick fix for potential deadlock with QMP resize and iothread

While the patch gives bdrv_graph_wrlock() as an example where the
issue can manifest, something similar can happen even when that is
disabled. Was able to reproduce the issue with
while true; do qm resize 115 scsi0 +4M; sleep 1; done
while running
fio --name=make-mirror-work --size=100M --direct=1 --rw=randwrite \
 --bs=4k --ioengine=psync --numjobs=5 --runtime=1200 --time_based
in the VM.

Fix picked up from:
https://lists.nongnu.org/archive/html/qemu-devel/2023-12/msg01102.html

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
debian/patches/bitmap-mirror/0001-drive-mirror-add-support-for-sync-bitmap-mode-never.patch
debian/patches/bitmap-mirror/0003-mirror-add-check-for-bitmap-mode-without-bitmap.patch
debian/patches/bitmap-mirror/0006-mirror-move-some-checks-to-qmp.patch
debian/patches/extra/0011-block-Fix-AioContext-locking-in-qmp_block_resize.patch [new file with mode: 0644]
debian/patches/pve/0030-PVE-Backup-Proxmox-backup-patches-for-QEMU.patch
debian/patches/series