[Samba] oplocks issue when trying to copy file

Jeremy Allison jra at samba.org
Mon Oct 24 18:08:04 MDT 2011


On Fri, Oct 21, 2011 at 01:16:00PM -0700, Philip Ong wrote:
> I also tried 3.6.1 and it still has the issue
> 
> -----Original Message-----
> From: Michael Wood [mailto:esiotrot at gmail.com] 
> Sent: Friday, October 21, 2011 12:09 AM
> To: Philip Ong
> Cc: samba at lists.samba.org; samba-technical at lists.samba.org
> Subject: Re: [Samba] oplocks issue when trying to copy file
> 
> Try the samba-technical list.
> 
> On 20 October 2011 08:33, Philip Ong <phong at nvidia.com> wrote:
> > I've narrowed this problem down to a patch that is applied in 2.6.36.3. I replaced file.c from 2.6.36.2 into 2.6.36.3 and Samba works fine. The problem is I'm not sure if Samba needs to be fixed or the kernel needs to be. Anyone know what the right action is? One thing I noticed was the invalid argument being sent in the debugging log.
> >
> > "  linux_set_kernel_oplock: Refused oplock on file home/foo/open/test.cfg, fd = 33, file_id = 17:aa41ab:0. (Invalid argument)"
> >
> > Any advice would help.

Hmmm. As the Samba code hasn't changed here w.r.t. requesting
kernel oplocks it looks like a kernel regression to me.

Jeremy.


More information about the samba-technical mailing list