On Wed, 4 Jun 2008, Sage Weil wrote:
> The code is doing
> 
>   lock_fd = ::open(t, O_CREAT|O_RDWR, 0600);
>   ...
>   int r = ::flock(lock_fd, LOCK_EX|LOCK_NB);
> 
> to make sure no other cmon processes are running on the same mondata 
> directory.  I can add an option to skip the locking.. or switch to 
> fnctl-based locking, which should work over NFS at least.  The latter is 
> probably best anyway..

I just pushed a change to the unstable branch to use fcntl instead of 
flock.. please let me know if that works for you!

http://ceph.newdream.net/git/?p=ceph.git;a=commit;h=ae09ad0ef5ffa2c24060d86f6769576ce6c66a8b

sage




> 
> sage
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Ceph-devel mailing list
> Ceph-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ceph-devel
> 
> 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to