pve-qemu/debian/patches/pve
Fabian Ebner 7bd4d8645a fix #4101: acquire job's aio context before calling job_unref
Otherwise, we might run into an abort via bdrv_co_yield_to_drain()
(can at least happen when a disk with iothread is used):
> #0  0x00007fef4f5dece1 __GI_raise (libc.so.6 + 0x3bce1)
> #1  0x00007fef4f5c8537 __GI_abort (libc.so.6 + 0x25537)
> #2  0x00005641bce3c71f error_exit (qemu-system-x86_64 + 0x80371f)
> #3  0x00005641bce3d02b qemu_mutex_unlock_impl (qemu-system-x86_64 + 0x80402b)
> #4  0x00005641bcd51655 bdrv_co_yield_to_drain (qemu-system-x86_64 + 0x718655)
> #5  0x00005641bcd52de8 bdrv_do_drained_begin (qemu-system-x86_64 + 0x719de8)
> #6  0x00005641bcd47e07 blk_drain (qemu-system-x86_64 + 0x70ee07)
> #7  0x00005641bcd498cd blk_unref (qemu-system-x86_64 + 0x7108cd)
> #8  0x00005641bcd31e6f block_job_free (qemu-system-x86_64 + 0x6f8e6f)
> #9  0x00005641bcd32d65 job_unref (qemu-system-x86_64 + 0x6f9d65)
> #10 0x00005641bcd93b3d pvebackup_co_complete_stream (qemu-system-x86_64 + 0x75ab3d)
> #11 0x00005641bce4e353 coroutine_trampoline (qemu-system-x86_64 + 0x815353)

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-09 14:57:28 +02:00
..
0001-PVE-Config-block-file-change-locking-default-to-off.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0002-PVE-Config-Adjust-network-script-path-to-etc-kvm.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0003-PVE-Config-set-the-CPU-model-to-kvm64-32-instead-of-.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0004-PVE-Config-ui-spice-default-to-pve-certificates.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0005-PVE-Config-glusterfs-no-default-logfile-if-daemonize.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0006-PVE-Config-rbd-block-rbd-disable-rbd_cache_writethro.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0007-PVE-Up-qmp-add-get_link_status.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0008-PVE-Up-glusterfs-allow-partial-reads.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0009-PVE-Up-qemu-img-return-success-on-info-without-snaps.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0010-PVE-Up-qemu-img-dd-add-osize-and-read-from-to-stdin-.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0011-PVE-Up-qemu-img-dd-add-isize-parameter.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0012-PVE-Up-qemu-img-dd-add-n-skip_create.patch fix getopt-string when introducing -n option for qemu-img dd 2022-02-15 14:03:07 +01:00
0013-PVE-virtio-balloon-improve-query-balloon.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0014-PVE-qapi-modify-query-machines.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0015-PVE-qapi-modify-spice-query.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0016-PVE-add-savevm-async-for-background-state-snapshots.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0017-PVE-add-optional-buffer-size-to-QEMUFile.patch update submodule and patches to 6.1.1 2022-01-13 10:56:39 +01:00
0018-PVE-block-add-the-zeroinit-block-driver-filter.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0019-PVE-Add-dummy-id-command-line-parameter.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0020-PVE-Config-Revert-target-i386-disable-LINT0-after-re.patch update and rebase to QEMU v6.1.0 2021-10-11 15:13:26 +02:00
0021-PVE-Up-Config-file-posix-make-locking-optiono-on-cre.patch patches: update context 2022-04-25 10:07:01 +02:00
0022-PVE-monitor-disable-oob-capability.patch update submodule and patches to 6.1.1 2022-01-13 10:56:39 +01:00
0023-PVE-Compat-4.0-used-balloon-qemu-4-0-config-size-fal.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0024-PVE-Allow-version-code-in-machine-type.patch update submodule and patches to 6.2.0 2022-02-15 14:03:07 +01:00
0025-block-backup-move-bcs-bitmap-initialization-to-job-c.patch patches: update context 2022-04-25 10:07:01 +02:00
0026-PVE-Backup-add-vma-backup-format-code.patch vma: restore: call blk_unref for all opened block devices 2022-04-25 10:05:29 +02:00
0027-PVE-Backup-add-backup-dump-block-driver.patch patches: update context 2022-04-25 10:07:01 +02:00
0028-PVE-Backup-proxmox-backup-patches-for-qemu.patch patches: update context 2022-04-25 10:07:01 +02:00
0029-PVE-Backup-pbs-restore-new-command-to-restore-from-p.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0030-PVE-Backup-Add-dirty-bitmap-tracking-for-incremental.patch patches: update context 2022-04-25 10:07:01 +02:00
0031-PVE-various-PBS-fixes.patch patches: update context 2022-04-25 10:07:01 +02:00
0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch patches: update context 2022-04-25 10:07:01 +02:00
0033-PVE-add-query_proxmox_support-QMP-command.patch patches: update context 2022-04-25 10:07:01 +02:00
0034-PVE-add-query-pbs-bitmap-info-QMP-call.patch patches: update context 2022-04-25 10:07:01 +02:00
0035-PVE-redirect-stderr-to-journal-when-daemonized.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0036-PVE-Add-sequential-job-transaction-support.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0037-PVE-Backup-Use-a-transaction-to-synchronize-job-stat.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0038-PVE-Backup-Don-t-block-on-finishing-and-cleanup-crea.patch patches: update context 2022-04-25 10:07:01 +02:00
0039-PVE-Migrate-dirty-bitmap-state-via-savevm.patch patches: update context 2022-04-25 10:07:01 +02:00
0040-migration-block-dirty-bitmap-migrate-other-bitmaps-e.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0041-PVE-fall-back-to-open-iscsi-initiatorname.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0042-PVE-Use-coroutine-QMP-for-backup-cancel_backup.patch patches: update context 2022-04-25 10:07:01 +02:00
0043-PBS-add-master-key-support.patch patches: update context 2022-04-25 10:07:01 +02:00
0044-PVE-block-pbs-fast-path-reads-without-allocation-if-.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0045-PVE-block-stream-increase-chunk-size.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0046-block-io-accept-NULL-qiov-in-bdrv_pad_request.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0047-block-add-alloc-track-driver.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0048-PVE-whitelist-invalid-QAPI-names-for-backwards-compa.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0049-PVE-savevm-async-register-yank-before-migration_inco.patch backup: add patch to initialize bcs bitmap early enough for PBS 2022-03-03 11:37:17 +01:00
0050-qemu-img-dd-add-l-option-for-loading-a-snapshot.patch patches: update context 2022-04-25 10:07:01 +02:00
0051-vma-allow-partial-restore.patch vma: allow partial restore 2022-04-25 10:07:37 +02:00
0052-pbs-namespace-support.patch namespace support 2022-05-12 13:49:35 +02:00
0053-Revert-block-rbd-implement-bdrv_co_block_status.patch add revert to work around performance regression when backing up large RBD disk 2022-05-19 09:23:38 +02:00
0054-PVE-Backup-create-jobs-correctly-cancel-in-error-sce.patch pbs cleanup fixes 2022-06-08 13:10:51 +02:00
0055-PVE-Backup-ensure-jobs-in-di_list-are-referenced.patch fix #4101: acquire job's aio context before calling job_unref 2022-06-09 14:57:28 +02:00
0056-PVE-Backup-avoid-segfault-issues-upon-backup-cancel.patch pbs cleanup fixes 2022-06-08 13:10:51 +02:00