By flipping Source and Dest in snapshot_get and snapshot_exist, we can allow
multiple sync jobs to share the same source.
snapshot_get now checks the destination instead of source, and sets last_sync to
the last snapshot regardless of name. old_sync and whether to delete it is still
based on the job/name.
snapshot_exist now checks the source instead of the destination.
Other functions and/or their calls are changed to match the new situation.

Bruce Wainer (1):
  pve-zsync: Flip Source and Dest in functions to so jobs can share Dest

 pve-zsync | 42 +++++++++++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 17 deletions(-)

-- 
2.20.1

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to