[Samba] oplocks, kernel oplocks, kernel share modes, .. - how it all works?
slow at samba.org
Wed Jan 25 06:22:58 UTC 2023
On 1/24/23 22:58, Michael Tokarev via samba wrote:
> 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.
no, as that doesn't block the oplock/lease contender until the
oplock/lease holder had the time to flush his changes. It might be
possible to us fanotify() with FAN_OPEN_PERM, but that's a story for
Ralph Boehme, Samba Team https://samba.org/
SerNet Samba Team Lead https://sernet.de/en/team-samba
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 840 bytes
Desc: OpenPGP digital signature
More information about the samba