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

io_uring: correct poll cancel and linked timeout expiration completion



Currently a poll request fills a completion entry of 0, even if it got
cancelled. This is odd, and it makes it harder to support with chains.
Ensure that it returns -ECANCELED in the completions events if it got
cancelled, and furthermore ensure that the linked timeout that triggered
it completes with -ETIME if we did indeed trigger the completions
through a timeout.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e0e328c4
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