projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21198d
)
t/io_uring: pick next file if we're over the limti
author
Jens Axboe
<axboe@kernel.dk>
Tue, 15 Jan 2019 12:57:54 +0000
(
05:57
-0700)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 15 Jan 2019 12:57:54 +0000
(
05:57
-0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c
patch
|
blob
|
blame
|
history
diff --git
a/t/io_uring.c
b/t/io_uring.c
index 7ddeef39e047d8f1660c86bc571f9b967ff0f635..b5f1e094139193bb4cb5c97aa28171c673f9469b 100644
(file)
--- 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++;