Re: Status of AIO

From: Dan Aloni
Date: Mon Mar 06 2006 - 20:26:51 EST


On Mon, Mar 06, 2006 at 04:18:54PM -0500, Benjamin LaHaise wrote:
> On Mon, Mar 06, 2006 at 08:24:03AM +0200, Dan Aloni wrote:
> > Hello,
> >
> > I'm trying to assert the status of AIO under the current version
> > of Linux 2.6. However by searching I wasn't able to find any
> > indication about it's current state. Is there anyone using it
> > under a production environment?
>
> For O_DIRECT aio things are pretty stable (barring a patch to improve -EIO
> handling). The functionality is used by the various databases, so it gets
> a fair amount of exercise.
>
> > I'd like to know how complete it is and whether socket AIO is
> > adaquately supported.
>
> Socket AIO is not supported yet, but it is useful to get user requests to
> know there is demand for it.

Well, I've written a small test app to see if it works with network
sockets and apparently it did for that small test case (connect()
with aio_read(), loop with aio_error(), and aio_return()). I thought
perhaps the glibc implementation was running behind the scene, so I've
checked to see if it a thread was created in the background and I
there wasn't any thread.

--
Dan Aloni
da-x@xxxxxxxxxxxxx, da-x@xxxxxxxxxxx, da-x@xxxxxxx, dan@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/