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

J. Bruce Fields bfields at fieldses.org
Wed Feb 6 20:13:28 UTC 2019


On Tue, Feb 05, 2019 at 08:11:15AM +0100, Volker Lendecke wrote:
> On Tue, Feb 05, 2019 at 08:07:50AM +0100, Volker Lendecke via samba-technical wrote:
> > On Mon, Feb 04, 2019 at 06:52:17PM -0500, J. Bruce Fields wrote:
> > > Mainly what I need from SMB folks is really precise documentation of the
> > > semantics expected from the SMB side and/or some tests for those
> > > semantics.
> > > 
> > > I'm especially interested in lease/delegation work (as I have work to do
> > > in that area anyway).
> > 
> > That's a problem unfortunately. We can't really propose an API,
> > because we don't know enough about SMB semantics. And we can't propose
> 
> Crap, I of course meant "we don't know enough about NFS semantics"....  :-)

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?

> > anythying to the kernel, as it needs to be perfect from day 1. We need
> > to play with this in user space before we can approach you guys, so
> > this means we need cooperation by Ganesha. The kernel is very hostile
> > to anything that comes from the SMB world (see richacls), so we need a
> > 100% water-proof story with two external users before approaching you
> > with a proposal.

OK, well, I'll be interested.

--b.



More information about the samba-technical mailing list