[PATCHES] Fix AIO with SMB2 and locks

Christof Schmitt cs at samba.org
Fri Dec 6 08:00:02 MST 2013


On Thu, Dec 05, 2013 at 06:28:03PM -0800, Jeremy Allison wrote:
> On Thu, Dec 05, 2013 at 04:44:42PM -0700, Christof Schmitt wrote:
> > Running the SMB2 lock tests against an AIO enabled share results in:
> > 
> > [1/4 in 0s] samba3.smb2.lock aio(s3dc)
> > UNEXPECTED(failure): samba3.smb2.lock aio.rw-exclusive(s3dc)
> > REASON: _StringException: _StringException: ../source4/torture/smb2/lock.c:416: status was NT_STATUS_FILE_LOCK_CONFLICT, expected NT_STATUS_OK: (../source4/torture/smb2/lock.c:416)
> > 
> > The first patch fixes this problem and the second patch fixes an issue with the
> > SMB2 AIO read error path that came up while debugging this problem. The last
> > three patches add an AIO share to the testsuite and also run the smb2.lock
> > tests against that share.
> 
> LGTM - pushed to autobuild. Good catch !
> 
> We will need a bug report for this so we can
> get it into 4.0.next and 4.1.next.
> 
> If you don't get to it first :-) I'll do that
> tomorrow morning (US Pacific time).

Thanks for pushing the patches. I will open a bug report.

Christof


More information about the samba-technical mailing list