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)
commit8f86f7f25c4eb71bbdfcc6bf2d12eaaae9a8d9ec
tree437311844cb5a02124982081f3744fcdddb61232
parent9a069d306bb6f8a2cd51b8ba87b433884942d13f
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!
source/smbd/aio.c