commit | 29de5f6a350778a621a748cecc7efbb8f0cfa5a7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Feb 20 09:56:08 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 02 14:04:24 2020 -0700 |
tree | ed72ae7e02d2c1d77877e8a2f1b614500222da1e | |
parent | 80ad894382bf1d73eb688c29714fa10c0afcf2e7 [diff] |
io_uring: consider any io_read/write -EAGAIN as final If the -EAGAIN happens because of a static condition, then a poll or later retry won't fix it. We must call it again from blocking condition. Play it safe and ensure that any -EAGAIN condition from read or write must retry from async context. Signed-off-by: Jens Axboe <axboe@kernel.dk>