Messages in this thread | | | Date | Tue, 05 Dec 2006 16:18:47 -0500 | From | Phillip Susi <> | Subject | Re: slow io_submit |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |