]> git.proxmox.com Git - pve-qemu.git/commit
backup: improve error when copy-before-write fails for fleecing
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 29 Apr 2024 15:20:22 +0000 (17:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 Apr 2024 15:25:20 +0000 (17:25 +0200)
commitdb293008eeaf65057481eb15d73602232efd9df0
treed5b26f5d34da438279b2d7b46e23259eb6e2a452
parent51232e2e40a1cbee21ca153ca3af909f40d5a55d
backup: improve error when copy-before-write fails for fleecing

With fleecing, failure for copy-before-write does not fail the guest
write, but only sets the snapshot error that is associated to the
copy-before-write filter, making further requests to the snapshot
access fail with EACCES, which then also fails the job. But that error
code is not the root cause of why the backup failed, so bubble up the
original snapshot error instead.

Reported-by: Friedrich Weber <f.weber@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
debian/patches/pve/0051-PVE-backup-improve-error-when-copy-before-write-fail.patch [new file with mode: 0644]
debian/patches/series