On Fri, Dec 01 2006, Raz Ben-Jehuda(caro) wrote:
> Jens suparna hello
>
> I have managed to understand why io_submit is sometimes very slow.
> It is because the device is plugged once too many io's are being sent.
> I have conducted a simple test with nr_request to default value of 128
> and and 256.
> and it proved to be correct.
I don't understand your email. The device is plugged when it is empty,
not when it has emptied the request list.
> I would truely appreciate your comment on this.Who returns EGAIN to whom ? I am not sure i understand what you mean here.
On what? :-)
If it's no blocking and returning EAGAIN instead, then I agree this is
what should eventually happen.
Right now nobody is working on that
afaik, so it's not something that will hit the next kernel.
--
Jens Axboe