Allow "max mux" async i/o requests
authorVolker Lendecke <vl@samba.org>
Sun, 24 Feb 2008 10:32:22 +0000 (11:32 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 24 Feb 2008 10:39:59 +0000 (11:39 +0100)
commitfcee8fee63fc907f106477a55d651b5a1be692bf
tree06290c088f7d87984908f17b56a7bf7877b10ca3
parent21b6a036780ae0c020e199043c25c63fbbf8fa95
Allow "max mux" async i/o requests

In the negprot reply, we allowed the client to issued "max mux" concurrent
requests. The OS might allow less, for example AFAIK AIX has a configurable
limit of concurrent AIO requests. We will fall back to sync operation for the
requests that are too many when aio_read/aio_write return an error.

Jeremy, please check!
(This used to be commit 8f86f7f25c4eb71bbdfcc6bf2d12eaaae9a8d9ec)
source3/smbd/aio.c