From 93d1811ce6a510d36d61381840283d1ae9933b37 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 15 Jan 2019 05:57:54 -0700 Subject: [PATCH] t/io_uring: pick next file if we're over the limti Signed-off-by: Jens Axboe --- t/io_uring.c | 1 + 1 file changed, 1 insertion(+) 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++; -- 2.25.1