[PATCH] flock() files even with a permissive share mode.

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Feb 6 20:26:09 UTC 2019

On Wed, Feb 06, 2019 at 03:13:28PM -0500, J. Bruce Fields via samba-technical wrote:
> I could help write up or compile some sort of "introduction to NFS
> locking for SMB developers".  NFSv4 has byte-range locks, share locks,
> and delegations, you're interested in all three?

Very much so. For a start:

brlocks == brlocks (how similar are they to Posix in NFS?)
Share locks == share modes (i.e. per-open locks in different modes)
delegations == oplocks/leases (i.e. permission to cache contents)


It's the fine details that make the differences.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at sernet.de
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 - http://www.sernet.de

More information about the samba-technical mailing list