[pve-devel] backup : adding a storage option like "max concurrent backup" ?
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Nov 26 09:42:12 CET 2015
On 11/26/2015 09:04 AM, Dietmar Maurer wrote:
>> My idea was to add some kind of job queue for the backup storage
> You could use the pmxcfs locking feature (instead of local lock)...
>
> That way only one task can be started cluster wide.
The cfs_lock_domain method could be helpful here:
> add function to lock a domain
>
> This can be used to execute code on an 'action domain' basis.
> E.g.: if there are actions that cannot be run simultaneously even if
> they, for example, don't access a common file and maybe also spread
> across different packages we can now secure the consistence of said
> actions on an 'action domain' basis.
More information about the pve-devel
mailing list