io_u: wrap to beginning when end-of-file is reached for time_based
authorJens Axboe <axboe@kernel.dk>
Wed, 1 Nov 2017 17:02:30 +0000 (11:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Nov 2017 17:02:30 +0000 (11:02 -0600)
commit17373ce2f38aa0d788d5c604cefd36a367bbbc27
tree3c5ae9ad48b9dba2ea46896049e8907d94c49c2a
parent1633aa61a68593b4a4cc5dbb621129303a7c3049
io_u: wrap to beginning when end-of-file is reached for time_based

The logic around using io_size isn't correct.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c