commit | b0dd8a412699afe3420a08f841333f3474ad45c5 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Nov 18 12:14:54 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 25 19:56:05 2019 -0700 |
tree | a37efea0c53bb299335da5d06f35f05c8b9854e7 | |
parent | e0e328c4b330712e45ba799dc589bda751323110 [diff] |
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: Jens Axboe <axboe@kernel.dk>