[Gluster-users] Does Gluster NFS mount support locking?

Kaleb S. KEITHLEY kkeithle at redhat.com
Wed Apr 27 11:25:12 UTC 2016


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


More information about the Gluster-users mailing list