[pbs-devel] [PATCH proxmox-backup 08/11] datastore: add manifest locking

Dietmar Maurer dietmar at proxmox.com
Thu Oct 15 07:43:18 CEST 2020


Note: This api does not work if you want to create a new manifest (because you
do not have a lock)

> +    /// Store a given manifest. Requires a lock acquired with load_manifest_locked for safety.
>      pub fn store_manifest(
>          &self,
>          backup_dir: &BackupDir,
>          manifest: BackupManifest,
> +        _manifest_lock: ManifestLock,
>      ) -> Result<(), Error> {





More information about the pbs-devel mailing list