[Samba] oplocks, kernel oplocks, kernel share modes, .. - how it all works?
mjt at tls.msk.ru
Tue Jan 24 21:58:47 UTC 2023
25.01.2023 00:43, Jeremy Allison via samba wrote:
> On Tue, Jan 24, 2023 at 01:39:34PM -0800, Jeremy Allison via samba wrote:
>> Locking and share modes have bugger-all to do with leases and oplocks.
>> Please separate the two in your mind, things will make
>> much more sense when you do :-).
> Actually, separate the three :-).
Yes. I know the concepts, I understand quite well how they works.
I wrote a wiki page about it yesterday. They're definitely separate
in my mind :)
What I mean is that inotify mechanism can be used by smbd to at
least tell windows that the lease/oplock should be broken now.
More information about the samba