Skip to content
Commit 29de5f6a authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
parent 80ad8943
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment