On Tue, Mar 10, 2015 at 4:20 AM, Florent B <flor...@coppint.com> wrote: > Hi all, > > I'm testing flock() locking system on CephFS (Giant) using Fuse. > > It seems that lock works per client, and not over all clients. > > Am I right or is it supposed to work over different clients ? Does MDS > has such a locking system and is it supported through Fuse ? > > Thank you. > > P.S.: I use a simple PHP script to test it, attached.
flock and fcntl locking has been supported in the kernel client for many years, but was only implemented for ceph-fuse recently. It will be in hammer and was backported for the next firefly point release, but is unlikely to go into giant (unless of course somebody from the community does the backport and enough testing ;). -Greg _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com