Re: slow io_submit

From: Phillip Susi
Date: Tue Dec 05 2006 - 16:18:42 EST


Raz Ben-Jehuda(caro) wrote:
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 ?

It is handling it; by blocking until the queue is not full. A better way of handling it would be to return in such a way that the caller knows the queue is full and needs to wait before it can submit more requests, possibly doing some computation or submitting requests to other devices in the mean time.


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