io_u: produce bad offsets for some time_based jobs
authorVincent Fu <vincent.fu@samsung.com>
Wed, 23 Mar 2022 22:22:37 +0000 (18:22 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Wed, 23 Mar 2022 22:22:37 +0000 (18:22 -0400)
commit46ec82705a9775bbe4abd2dec0b531810887b9f2
tree002f15dc571a1c86f80bb3c67470d1828982a9be
parentc822572d68e326384ce179b9484de0e4abf3d514
io_u: produce bad offsets for some time_based jobs

Allow get_next_seq_offset to produce bad offsets for time_based jobs
when fio is accessing more than one file. Otherwise fio will not skip to
the next file once the current one is done.

Fixes: https://github.com/axboe/fio/issues/1372

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
io_u.c