Re: Granularity of a lock

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

 



Hi,

On Fri, 2008-05-30 at 11:12 +0100, Lipika Deka wrote:
> Hello List,
>     Would anyone tell me what is the granularity of a lock in GFS
> using DLM and is locking part of a file possible.Is there something
> similar to byte range locks of GPFS in GFS?
>  
> Thanks in advance.
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster

I'm not sure of exactly what GPFS does in this regard, but the locking
in GFS (and GFS2) is one lock per inode I'm afraid. Its a RW-lock though
so that read accesses at least can be done across the whole cluster at
once. With GFS2 that includes read accesses to rw-mapped mmaped regions
of files, for GFS that requires an exclusive lock I'm afraid,

Steve.


--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux