s3: Restore async i/o with the "native" AIO interface
commit5df1fda0f5f775c0ccf23412b29b2fd8b013156e
authorVolker Lendecke <vl@samba.org>
Mon, 25 Jun 2012 10:23:22 +0000 (25 12:23 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Jun 2012 12:08:22 +0000 (26 14:08 +0200)
treec65f1bb9c9176edfcaa40f59489f0c7ec537ca66
parent93399c1ec309fd98eb78d10ba11a3a92d8217837
s3: Restore async i/o with the "native" AIO interface

eff3609 moved the async signal handler initialization to later in the process
to enable aio_fork and aio_pthread on platforms without realtime signals. This
commit broke the use of the native aio interface. aio_pending_size is
initialized to 0, so aio.c will not allow async i/0 at all if modules do not
set that variable correctly. Initialize to 100 right from the start.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jun 26 14:08:22 CEST 2012 on sn-devel-104
source3/smbd/aio.c
source3/smbd/globals.c