commit | ccc02050c1a371385897aa964988dbab68597545 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Thu Jul 14 12:45:13 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Thu Jul 14 12:45:13 2011 +0200 |
tree | aa5ce1a7245cb4f424373506c8c565cb3540d4c8 | |
parent | b42ffd195f4f4263cef197a0c3d22e6937c7580f [diff] |
Fix infinite loop on platforms with severely limited aio resources Problem hit on OSX, where with 4 jobs each with a queue depth larger than what the system supports, you can get into a situation where any given process can get EAGAIN on queueing AIO even if it has nothing queued already. Check for this condition to avoid fio's IO loop going into a death spiral. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>