Oplock support for BSD?

Christopher R. Hertel crh at nts.umn.edu
Mon Jun 25 17:21:39 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.

John,

I think Linux already has OpLock support.  The BSDs support a virtual 
filesystem layer and that's where the it could be added for *BSD.

Chris -)-----

-- 
Christopher R. Hertel -)-----                   University of Minnesota
crh at nts.umn.edu              Networking and Telecommunications Services

    Ideals are like stars; you will not succeed in touching them
    with your hands...you choose them as your guides, and following
    them you will reach your destiny.  --Carl Schultz




More information about the samba-technical mailing list