[PATCHES] Fix AIO with SMB2 and locks

Jeremy Allison jra at samba.org
Thu Dec 5 19:28:03 MST 2013


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).

Jeremy.


More information about the samba-technical mailing list