Re: slow io_submit

From: Raz Ben-Jehuda(caro)
Date: Tue Dec 05 2006 - 11:23:38 EST


On 12/4/06, Phillip Susi <psusi@xxxxxxxxxx> wrote:
Raz Ben-Jehuda(caro) wrote:
> Who returns EGAIN to whom ? I am not sure i understand what you mean
> here.

If the queue is full then io_sumbit() should return EAGAIN or some other
error to indicate that the queue is full, but right now it just blocks
instead.

thanks Phiilip
But... hmmm ... should'nt an asynchronous operation act as
"send and forget" . isn't "queue full" a problem that aio must at
least try and handle before returning to the user ?

--
Raz
-
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/