Tuesday 15 April 2014

linux - file lock leases via NFS v4 in C -


Does anyone use fax file locking features in NFS v4? (Scroll down for example). It is believed that NFS V4 supports file lock leasing with a life of 45 seconds. I am sure the Linux kernel (I am using the gentleman 2.6.30) is happy to take these details, and I can use the fcntl () and wash it all out Now I am guessing that I have to do something special to get, maintain and stay on the lock lease. All help appreciated.

You are right, fcntl takes care of all of this business for you. Lease Management NFS Client (in Linux Kernel module)


No comments:

Post a Comment