[pbs-devel] [PATCH proxmox-backup 0/3] cleanup directory lock code

Dietmar Maurer dietmar at proxmox.com
Fri Aug 7 10:18:20 CEST 2020


This applies on top of the first three patches from stefan s series:

[pbs-devel] [PATCH proxmox-backup 1/7] finish_backup: mark backup as finished only after checks have passed (already applied)
[pbs-devel] [PATCH proxmox-backup 2/7] backup: only allow finished backups as base snapshot (already applied)
[pbs-devel] [PATCH proxmox-backup 3/7] datastore: prevent in-use deletion with locks instead of heuristic (not applied)


Dietmar Maurer (3):
  src/tools/fs.rs: new helper lock_dir_noblock
  src/backup/backup_info.rs: remove BackupGroup lock()
  src/backup/backup_info.rs: remove BackupInfo lock()

 src/backup/backup_info.rs | 86 ++-------------------------------------
 src/backup/datastore.rs   | 19 ++++-----
 src/tools/fs.rs           | 39 ++++++++++++++++--
 3 files changed, 47 insertions(+), 97 deletions(-)

-- 
2.20.1





More information about the pbs-devel mailing list