commit | 0c195ae51db8a15e20d117afb88423118baafc11 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Fri Oct 03 13:10:23 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:21 2015 -0800 |
tree | d9072e6b893864aa4305d8b14d2baaad25cc2047 | |
parent | cc7c47ae53f6eb1f6209edf8c25a3327735dc28e [diff] |
engines/libaio: modify getevents and commit error handling If we get some error other than -EAGAIN in getevents(), treat it as fatal and break. If we get -ENOMEM on submission, reap events if we can. If we have no pending events, treat it as a fatal error and break. Signed-off-by: Jens Axboe <axboe@fb.com>