]> git.proxmox.com Git - pve-qemu.git/commit
vma: allow partial restore
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Apr 2022 08:07:24 +0000 (10:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Apr 2022 08:07:37 +0000 (10:07 +0200)
commitf87d0523dfa2b2eee35983b3bb0f041e551c1a6c
tree476f6141ff1da640a3927c897672ed8afeeb8029
parent2fd4ea28139fa4cbc85f764662625a164f01caf7
vma: allow partial restore

Introduce a new map line for skipping a certain drive, of the form
skip=drive-scsi0

Since in PVE, most archives are compressed and piped to vma for
restore, it's not easily possible to skip reads.

For the reader, a new skip flag for VmaRestoreState is added and the
target is allowed to be NULL if skip is specified when registering.
If
the skip flag is set, no writes will be made as well as no check for
duplicate clusters. Therefore, the flag is not set for verify.

Originally-by: Fabian Ebner <f.ebner@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/patches/pve/0051-vma-allow-partial-restore.patch [new file with mode: 0644]
debian/patches/series