is_locked optimization

Jeremy Allison jra at samba.org
Fri Dec 10 06:33:04 GMT 2004


On Thu, Dec 09, 2004 at 09:46:23PM -0800, Jeremy Allison 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.
> 
> Ok - will do.

Actually, it struck me that the correct change to this parameter
(once I've proved it doesn't cause problems of course :-) is to
make "strict locking" a tristate :

yes (default) = always check locks
no = never check
auto = don't check on oplocked files.

Jeremy.


More information about the samba-technical mailing list