Re: [Samba] oplocks issue when trying to copy file

2011-10-24 Thread Philip Ong
5:36 PM To: Jeremy Allison Cc: Philip Ong; 'samba@lists.samba.org' Subject: Re: [Samba] oplocks issue when trying to copy file On Mon, Oct 24, 2011 at 05:35:01PM -0700, Jeremy Allison wrote: > On Wed, Oct 19, 2011 at 11:33:32PM -0700, Philip Ong wrote: > > I've narrowed this probl

Re: [Samba] oplocks issue when trying to copy file

2011-10-21 Thread Philip Ong
I also tried 3.6.1 and it still has the issue -Original Message- From: Michael Wood [mailto:esiot...@gmail.com] Sent: Friday, October 21, 2011 12:09 AM To: Philip Ong Cc: samba@lists.samba.org; samba-techni...@lists.samba.org Subject: Re: [Samba] oplocks issue when trying to copy file

Re: [Samba] oplocks issue when trying to copy file

2011-10-19 Thread Philip Ong
atic int do_getlk(struct file *filp, i /* found a conflict */ goto out; } + fl->fl_type = saved_type; if (nfs_have_delegation(inode, FMODE_READ)) goto out_noconflict; -- -----Original Message- From: Philip Ong Sent: Tuesday, September 27, 2011 10:41 PM To: samba@lists.samba.org Cc:

Re: [Samba] strict locking and kernel oplocks in the smb.conf

2011-10-03 Thread Philip Ong
011 at 04:44:17PM -0700, Jeremy Allison wrote: > > On Fri, Sep 30, 2011 at 04:39:18PM -0700, Philip Ong wrote: > > > No other process is accessing it. So any idea why it would work fine > > > without > > > "strict locking = no" in previous kernels below 2.6.

Re: [Samba] strict locking and kernel oplocks in the smb.conf

2011-09-30 Thread Philip Ong
Standard Time To: Philip Ong Cc: 'Jeremy Allison'; 'samba@lists.samba.org' Subject: Re: [Samba] strict locking and kernel oplocks in the smb.conf On Fri, Sep 30, 2011 at 11:48:52AM -0700, Philip Ong wrote: > > Hope this helps. > [Philip Ong] Thanks, yes, it does. I'm h

Re: [Samba] strict locking and kernel oplocks in the smb.conf

2011-09-30 Thread Philip Ong
-Original Message- From: Jeremy Allison [mailto:j...@samba.org] Sent: Friday, September 30, 2011 11:31 AM To: Philip Ong Cc: 'samba@lists.samba.org' Subject: Re: [Samba] strict locking and kernel oplocks in the smb.conf On Fri, Sep 30, 2011 at 11:28:43AM -0700, Philip Ong

[Samba] strict locking and kernel oplocks in the smb.conf

2011-09-30 Thread Philip Ong
1) Does "strict locking = no" negate "kernel oplocks = yes" ? 2) What's the difference between the two? 3) What a good way to test if a file got a lock seen from the linux side and the windows side? 4) If a file has a lock, does that mean you can still open the file in linux or in windows, but

Re: [Samba] oplocks issue when trying to copy file

2011-09-29 Thread Philip Ong
Kernel tried on Centos 4.5 was 2.6.38.8 -Original Message- From: Philip Ong Sent: Wednesday, September 28, 2011 3:44 PM To: Philip Ong; 'samba@lists.samba.org' Subject: RE: oplocks issue when trying to copy file I also tried this on Centos 4.5 and it has the same result

Re: [Samba] oplocks issue when trying to copy file

2011-09-28 Thread Philip Ong
I also tried this on Centos 4.5 and it has the same results so it is probably not distro related. -Original Message- From: Philip Ong Sent: Tuesday, September 27, 2011 10:41 PM To: samba@lists.samba.org Cc: Philip Ong Subject: oplocks issue when trying to copy file I'm not su

[Samba] oplocks issue when trying to copy file

2011-09-27 Thread Philip Ong
I'm not sure if this a Kernel/samba or NFS issue. We run this on Centos 5.6 using a kernel.org kernel. Please find below the problem description When trying to copy a file to a samba share which has NFS backend on 2.6.36.3 or newer Linux kernel following message is displayed on windows client