[Linux-cluster] creating file locks on a gfs volume

Shawn Hood shawnlhood at gmail.com
Tue Aug 12 13:12:42 UTC 2008


Christine Caulfield has blessed us with an excellent reference that answers
these questions:

http://people.redhat.com/ccaulfie/docs/rhdlmbook.pdf



On Tue, Aug 12, 2008 at 8:46 AM, Brett Cave <brettcave at gmail.com> wrote:

> Hi,
>
> Not sure if this is the correct place for discussing this, but here it is.
> On a gfs cluster running dlm locking, is it possible to create a file
> lock on a file on the volume? (e.g. in C).
> Have seen that there is a libdlm library, and have not tested yet. By
> calling dlm_lock, would gfs be aware of the file lock?
>
> This is to allow an application we are developing to create file locks
> with different lock modes, based on what the app is doing (e.g. CR /
> CW / PW / EX locks).
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>



--
Shawn Hood
910.670.1819 m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080812/6730ea8f/attachment.htm>


More information about the Linux-cluster mailing list