On 21.04.22 13:26, Fabian Ebner wrote: > 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. > > Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> > --- > > Better viewed with -w > > Changes from v1: > * Use dedicated map line skip=<drivename> rather than a special path > "/dev/null" to communicate that a drive should be skipped. > > vma-reader.c | 64 ++++++++++++--------- > vma.c | 157 +++++++++++++++++++++++++++++---------------------- > vma.h | 2 +- > 3 files changed, 126 insertions(+), 97 deletions(-) > >
applied, with Wolfgang's Ack, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel