creating file locks on a gfs volume

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

 



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@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