why doesn't the kernel enforce oplocks? (was: Re: [Samba] Re: How Samba let us down)

Ben Johnson ben at blarg.net
Thu Oct 24 21:42:00 GMT 2002

heh heh...  so maybe I have yet more reading to do.  sorry.

One thing I don't get though....  Is Samba written to allow poorly
written applications that are accessing the files through Samba to
corrupt the files they share?  These poorly written database apps for
instance, Access, Paradox, and FoxPro apps.  They apparently are able to
corrupt files on the Samba server when they don't honor oplock breaks.
Is that true?  How does it happen?  Does Samba allow programs that don't
honor the oplock breaks to write to the incorrectly locked file?

I gotta test this oplock stuff.  sounds very interesting.

Thanks for your time.

- Ben

On Thu, Oct 24, 2002 at 09:01:16PM +0000, jra at dp.samba.org wrote:
> But you're describing the kernal oplock api ! :-). We agree, that's why
> it got added for Linux :-).
> Jeremy.

More information about the samba-technical mailing list