[pve-devel] backup : adding a storage option like "max concurrent backup" ?
Alexandre DERUMIER
aderumier at odiso.com
Thu Nov 26 11:51:23 CET 2015
>> 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:
Sound great! I'll try to look at this.
----- Mail original -----
De: "Thomas Lamprecht" <t.lamprecht at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 26 Novembre 2015 09:42:12
Objet: Re: [pve-devel] backup : adding a storage option like "max concurrent backup" ?
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.
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list