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

Stefan Reiter s.reiter at proxmox.com
Thu Oct 15 09:53:12 CEST 2020


On 10/15/20 7:39 AM, Dietmar Maurer wrote:
> Holding the lock for such long time seems wrong to me.
> 
> Instead, can we simple reload the manifest before we update
> the verify_state?
>   

I did so to avoid the manifest changing while were using the snapshot, 
but I suppose we already hold the flock on the snapshot dir anyway. So 
yes, can do.





More information about the pbs-devel mailing list