The Samba VFS and return values ...
Volker Lendecke
Volker.Lendecke at SerNet.DE
Wed Apr 15 09:40:36 MDT 2015
On Wed, Apr 15, 2015 at 07:29:26AM -0700, Richard Sharpe wrote:
> Ahhh, this is an important area I had not thought about.
>
> I currently do not need to return SHARING_VIOLATION but we were doing
> that at Panzura because we were running lots of separate instances of
> Samba and pretending that they were one big NTFS thing.
>
> Also, as I recall, the 1-second delay is only for SMB1?
Correct. However, in the current implementation we overload
SHARING_VIOLATION to indicate waiting for a lease/oplock break up the
chain, and this is relevant for SMB2 as well.
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical
mailing list