From: Jens Axboe Date: Tue, 15 Jan 2019 12:57:54 +0000 (-0700) Subject: t/io_uring: pick next file if we're over the limti X-Git-Tag: fio-3.13~21 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=93d1811ce6a510d36d61381840283d1ae9933b37 t/io_uring: pick next file if we're over the limti Signed-off-by: Jens Axboe --- diff --git a/t/io_uring.c b/t/io_uring.c index 7ddeef39..b5f1e094 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -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++;