Add in the threaded async open engine.
authorJeremy Allison <jra@samba.org>
Wed, 11 Jul 2012 03:59:27 +0000 (20:59 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 11 Jul 2012 06:04:56 +0000 (08:04 +0200)
commit8ee30be431246863a0ddb2f942b7b6fe51788d6d
treefa37f9c359dd1ea7789740857f12a513c28e37d2
parentd81e20653baa53c678b2c421d90b6351a7388a37
Add in the threaded async open engine.

Fixes all issues raised originally. This code
will only do threaded opens with thread-specific
credentials (Linux for now) and changes credentials
before doing the call. Also only fires on O_CREAT|O_EXCL
so will only create new files, never open old ones
async.

Volker, this is isolated enough that it shouldn't
prevent you from refactoring it into a new module
when the aio pread/pwrite code is moved into the
default aio path.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jul 11 08:04:56 CEST 2012 on sn-devel-104
source3/modules/vfs_aio_pthread.c