Any reason why "kernel oplocks" is a global param?

James Peach jorgar at gmail.com
Mon Aug 28 11:52:59 GMT 2006


On 28/08/06, Volker Lendecke <Volker.Lendecke at sernet.de> wrote:
> Hi!
>
> Is there any reason for this? Couldn't there be file systems
> that do support oplocks where some others don't? NFS vs
> local for example?

On both Linux and IRIX, oplocks are a feature of the VFS layer, so
they are supported (locally) for all filesystem types. It would probably
make sense for this to be a share-level parameter, though, since
different shares might have different consistency trade-offs.

-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list