is_locked optimization
Jeremy Allison
jra at samba.org
Fri Dec 10 23:36:48 GMT 2004
On Fri, Dec 10, 2004 at 04:41:00PM +1100, tridge at samba.org wrote:
>
> Please determine first if the switch potentially causes data
> corruption by writing a win32 test. If it does cause data corruption
> then we should either not have the switch or document very clearly
> that it can cause data corruption.
As expected, I have a Win32 test run using two different processes
accessing the same file using oplocks - the byte range locks and reads
are not seen on the wire. Turning off oplocks - the locks and reads
are seen again.
I think this is a safe option (but maybe not default).
Jeremy.
More information about the samba-technical
mailing list