[pve-devel] does /etc/pve support flock?

Dietmar Maurer dietmar at proxmox.com
Mon May 12 06:04:58 CEST 2014


> >>Is there any other machanism usable for this task?
> 
> PVE::Cluster::cfs_lock() ?
> 
> (in Cluster.pm)

But such lock have a timeout, so please do not try to hold them longer that 60 seconds.

PVE::Cluster::cfs_lock() enforces that timeout using an alarm timer.


More information about the pve-devel mailing list