commit | 26166ef7c7090fb8791d17fcd635cbb0a93c694c | [log] [tgz] |
---|---|---|
author | Andrey Kuzmin <andrey.v.kuzmin@gmail.com> | Thu Oct 09 20:14:27 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:23 2015 -0800 |
tree | a450a2dd7a0d566e39225584a5d327528ec0bba8 | |
parent | e93fd530b57b2cd4bf8205d557c509dbdb2a69cc [diff] |
engines/libaio: better protect against a busy loop in getevents() If we reap nothing and we were asked to reap > 0 events, then reuse our commit, sleep, and retry loop. Signed-off-by: Jens Axboe <axboe@fb.com>