oplocks support on Solaris?

Jeremy Allison jra at samba.org
Tue Sep 22 12:18:16 MDT 2009

On Tue, Sep 22, 2009 at 08:21:07PM +0200, jiri sasek - Sun Microsystems - Prague Czech Republic wrote:
> Is not it set by default?  ...to "no" on platforms does not supporting  
> the oplocks in kernel?


> It was exactly what I needed to know if is not there any option to  
> emulate the oplocks on fcntl locks for instance.

No, that's simply not possible. Think about the semantics of oplocks.

> Exactly I needed to know if there is no possibility (configure or patch  
> samba) to break the oplocks on clients when some other application than  
> samba modify the oplocked file?

How could that be done with only "standard" POSIX interfaces ? Kernel
support is needed.


More information about the samba-technical mailing list