commit | 1409c4a4d81e3a86fecbc42889541e866fc30abe | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Sep 27 06:29:44 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 27 06:32:18 2019 -0600 |
tree | 1c584b6d51aad80fe9c2f1f81f2eec41fb6c5dcc | |
parent | fe13f562c148e2e0d18ed84600a49dd7b8ccf264 [diff] |
Fix io_uring_wait_cqes_timeout() with ts == NULL The TIMEOUT command requires a valid timeout set, or we fail. We don't need to arm a timer if we only need to wait for a certain number of requests, so just punt to io_uring_wait_cqes() instead. Signed-off-by: Jens Axboe <axboe@kernel.dk>