Oplock support for BSD?

John E. Malmberg malmberg at Encompasserve.org
Mon Jun 25 14:27:18 GMT 2001

On Fri, 15 Jun 2001, Christopher R. Hertel wrote:

> > On Tue, 12 Jun 2001, Ephi Dror wrote:
> > 
> > > Hi All,
> > >
> > > Does anyone know if there is a work in progress to support Oplock on
> > > any of the BSD based OSs (FreeBSD, OpenBSD, NetBSD, etc.) besides
> > > Linux and Irix.
> > 
> > No idea.  Does anyone have word on this?
> What would be involved?  Is this a change to the filesystem?  I'm curious 
> to know what has to happen in the OS to make OpLocks happen.

The owner of the lock needs a way to be signaled to run a routine to
release the lock, and possibly negotiate a less blocking lock.

This capability is native in OpenVMS, and well documented for use with
out doing "kernel hacking".

I have not found any documentation to be used as a guide to implementing
a LINUX compatable version, and likely will have to resort to deciphering
the LINUX sources.

wb8tyw at qsl.network
Personal Opinion Only

More information about the samba-technical mailing list