Hi everyone, Does Gluster NFS mount support file locking? My program blocked at "flock(3, LOCK_EX" "rpcinfo -p" said nlockmgr is running firewalld (of both client and server) already disabled mounted with "local_lock=none" Many thanks, Chen -- Chen Chen Shanghai SmartQuerier Biotechnology Co., Ltd. Add: Add: 3F, 1278 Keyuan Road, Shanghai 201203, P. R. China Mob: +86 15221885893 Email: chenchen at smartquerier.com Web: www.smartquerier.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4260 bytes Desc: S/MIME Cryptographic Signature URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160427/13ec02af/attachment.p7s>
Kaleb S. KEITHLEY
2016-Apr-27 11:25 UTC
[Gluster-users] Does Gluster NFS mount support locking?
On 04/27/2016 05:37 AM, Chen Chen wrote:> Hi everyone, > > Does Gluster NFS mount support file locking? > > My program blocked at "flock(3, LOCK_EX" > "rpcinfo -p" said nlockmgr is running > firewalld (of both client and server) already disabled > mounted with "local_lock=none" >NFS (and Gluster NFS, Gluster Native) _only_ supports POSIX advisory locking, i.e. fcntl (fd, F_SETLK, ....); -- Kaleb