Re: [pve-devel] Add 'action domain' lock and sue it for the ha-manager

2015-09-26 Thread Dietmar Maurer
applied, thanks! Note: I really like this kind of patches/cleanups. IMHO is really important to have clean code. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] Add 'action domain' lock and sue it for the ha-manager

2015-09-25 Thread Thomas Lamprecht
An 'action domain' locks guarantees that under all calls using an domainname the passed code executed atomically. Indifferent if the have no common file to read/write to. This can be used in the ha-manger where such behaviour is needed to avoid parallel changes to different configs and command