[Linux-cluster] GFS

David Teigland teigland at redhat.com
Fri Oct 29 05:17:05 UTC 2004


On Thu, Oct 28, 2004 at 01:53:54PM -0500, tomc at teamics.com wrote:
> I thought that using flock() on a machine with a GFS patched kernel 
> included some mojo that made flock() cluster aware.  Is this not the case? 
>  
> 
> If flock() is not GFS-aware, what should be the preferred mechanism for 
> shared locks and exclusive locks?  (A reference into a manual would be 
> good reply if someone knows the answer).

Both flock() and fcntl() locks are cluster-wide on gfs.  Since 2.6.9 no
kernel patches are required.

-- 
Dave Teigland  <teigland at redhat.com>




More information about the Linux-cluster mailing list