[Samba] Need some explanation on Samba/NFS locks handle
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Mar 20 13:22:06 GMT 2007
On Tue, Mar 20, 2007 at 11:52:43AM +0100, Alain.Gorlier at altissemiconductor.com wrote:
> >> And what API do you have in mind to use on the Linux side?
>
> Perhaps we could use byte range locks at NFS client side
> and modify Samba server side to check byte range locks opening the file :
> - if no lock : apply byte range locks and open the file
> - if there is a lock : return to the smb client a sharing violation
Nope. Won't happen. Share modes are share modes and byte
range locks are byte range locks. We will not add code that
mixes those two. This is really something the app must take
care of.
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20070320/f0bf2910/attachment.bin
More information about the samba
mailing list