t/io_uring: pick next file if we're over the limti
[fio.git] / t / io_uring.c
index 7ddeef39e047d8f1660c86bc571f9b967ff0f635..b5f1e094139193bb4cb5c97aa28171c673f9469b 100644 (file)
@@ -172,6 +172,7 @@ static void init_io(struct submitter *s, unsigned index)
                        s->cur_file++;
                        if (s->cur_file == s->nr_files)
                                s->cur_file = 0;
+                       f = &s->files[s->cur_file];
                }
        }
        f->pending_ios++;