[linux-cifs-client] [RFC] patch to add support for leases to cifs

Steve French smfrench at gmail.com
Tue Oct 21 22:03:58 GMT 2008


fcntl(F_SETLEASE) currently is not exported by cifs (nor by local file
systems) so cifs grants leases based on how other local processes have
opened the file not by whether the file is cacheable (oplocked).  This
adds the check to make sure that the file is cacheable on the client
before checking whether we can grant the lease locally
(generic_setlease).



-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cifs-setlease.patch
Type: text/x-patch
Size: 2431 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20081021/e0b1ba70/cifs-setlease-0001.bin


More information about the linux-cifs-client mailing list