X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=backend.c;h=92c4648645a964ed4b3563b167c8e4036a934076;hb=9746fdbbd89cb202ecf2ee402b79ef215390eaea;hp=f1e5e3646070d824e524d63a1aa3e74f55a80062;hpb=6a4cf74fc2521b601cb1cc9478526cc441830a5c;p=fio.git diff --git a/backend.c b/backend.c index f1e5e364..92c46486 100644 --- a/backend.c +++ b/backend.c @@ -558,7 +558,8 @@ static void do_io(struct thread_data *td) td_set_runstate(td, TD_RUNNING); while ((td->o.read_iolog_file && !flist_empty(&td->io_log_list)) || - (!flist_empty(&td->trim_list)) || !io_bytes_exceeded(td)) { + (!flist_empty(&td->trim_list)) || !io_bytes_exceeded(td) || + td->o.time_based) { struct timeval comp_time; unsigned long bytes_done[2] = { 0, 0 }; int min_evts = 0;