There have been several fixes in master to the aio subsystem that need to be back-ported to 3.6.next (IMHO) to improve aio stability. One is the lifecycle of the outstanding_aio_calls counter, another one is the initialization of aio_pending_size. These are a mixture of Volker's changes and mine. I'll attach a git-am back port for 3.6.next for Volker to review. Jeremy.
Created attachment 7453 [details] git-am patchset for 3.6.next. Volker please review and let me know if you think it's appropriate. Jeremy.
I think we should not do mass-porting of patches to 3.6. This is for master only I think. Nobody runs 3.6 on OS/X really, Apple have provided their own version of CIFS service. So it's a nice excercise to make AIO work on OS/X, but it is nothing for a production release. We have the next major release for that.
Comment on attachment 7453 [details] git-am patchset for 3.6.next. See my comment in the bug.
Ok, it's not essential to have these fixes. They mainly clean up the error paths (fyi, this is nothing to do with running Samba on OSX) and we can do without them until 4.0. Jeremy.