Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
|
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>
|
|
We'll rework it for the final version, kill the early version
test case and liburing addition.
This reverts commits:
efb39e105afdb4dd5c0f1e964720cfa3cdcceb18
e4269d2c10586c03786df24d6382da99a956f03c
4652762d5be96e08a0ff8194de1e6f6d8127cee5
f102231b0fdbfe8587efda0b24c79a69ee4d8ba7
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
|
We need a wakeup even if we don't hit the desired number of
available commands if a timeout has triggered. Add a test case
for that.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
|
In my testing, we're always right on 1000 msec, but allow some slack
and just judge it good if we're within +- 50%.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
|
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|