[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] GFS



On Thu, Oct 28, 2004 at 01:53:54PM -0500, tomc 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 redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]