commit | 3ad9074b7962e1ce97f744534650fbf14d32f465 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Sep 20 17:48:27 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 20 19:49:30 2019 -0600 |
tree | 91cdaf29669158cddc0e03f257287cde93107de8 | |
parent | 5109ed3ec733968cc1aa6457020d8cc1389135bb [diff] |
Add TIMEOUT support Add support for the current TIMEOUT variant. This allows passing in a timeout and event count, first of which will trigger the completion of the timeout command. If the timeout is hit, the command completes with cqe->res == -ETIME. If the asked number of events complete first, the command completes with cqe->res == 0. test/timeout.c tests a variety of timeout conditions. Signed-off-by: Jens Axboe <axboe@kernel.dk>