commit | 87f80d623c6c93c721b2aaead8a45e848bc8ffbf | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Dec 03 11:23:54 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 03 11:23:54 2019 -0700 |
tree | 02d8894b7e6d9e896fa767545f7abc958fae3c52 | |
parent | 6c6b3549142255c3fe4bab5560efdf8391c8d858 [diff] |
io_uring: handle connect -EINPROGRESS like -EAGAIN Right now we return it to userspace, which means the application has to poll for the socket to be writeable. Let's just treat it like -EAGAIN and have io_uring handle it internally, this makes it much easier to use. Signed-off-by: Jens Axboe <axboe@kernel.dk>