is_locked optimization
Simo Sorce
idra at samba.org
Sat Dec 11 13:37:06 GMT 2004
On Sat, 2004-12-11 at 00:36, Jeremy Allison wrote:
> 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.
Jeremy,
I'm just curious, what happen if the client receives an oplock break
requests? Are all the locks flushed down to the server with the data?
Are they released?
Simo.
--
Simo Sorce - idra at samba.org
Samba Team - http://www.samba.org
Italian Site - http://samba.xsec.it
More information about the samba-technical
mailing list