[pve-devel] [PATCH pve-zsync 0/1] Allow pve-zsync jobs to share dest

Bruce Wainer brwainer at gmail.com
Tue Jun 16 20:53:34 CEST 2020


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




More information about the pve-devel mailing list