]> git.proxmox.com Git - pve-qemu.git/commit - debian/patches/pve/0045-block-copy-before-write-support-unligned-snapshot-di.patch
fix #5409: backup: fix copy-before-write timeout
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 29 Apr 2024 15:20:21 +0000 (17:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 Apr 2024 15:25:20 +0000 (17:25 +0200)
commit51232e2e40a1cbee21ca153ca3af909f40d5a55d
tree6a4d36facd64793de2412d48792855d5b4bb0f6a
parent2cd560e0d2d700159d3dbf452815b006996765ae
fix #5409: backup: fix copy-before-write timeout

The type for the copy-before-write timeout in nanoseconds was wrong.
By being just uint32_t, a maximum of slightly over 4 seconds was
possible. Larger values would overflow and thus the 45 seconds set by
Proxmox's backup with fleecing, resulted in effectively 2 seconds
timeout for copy-before-write operations.

Reported-by: Friedrich Weber <f.weber@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
debian/patches/extra/0005-block-copy-before-write-use-uint64_t-for-timeout-in-.patch [new file with mode: 0644]
debian/patches/pve/0044-block-copy-before-write-fix-permission.patch
debian/patches/pve/0045-block-copy-before-write-support-unligned-snapshot-di.patch
debian/patches/pve/0046-block-copy-before-write-create-block_copy-bitmap-in-.patch
debian/patches/pve/0047-qapi-blockdev-backup-add-discard-source-parameter.patch
debian/patches/pve/0048-copy-before-write-allow-specifying-minimum-cluster-s.patch
debian/patches/pve/0049-backup-add-minimum-cluster-size-to-performance-optio.patch
debian/patches/series