diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-12-02 13:48:58 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-12-03 14:42:05 -0500 |
commit | ac393d60a3d390ffc3b5f79e9099ecb805e80ba9 (patch) | |
tree | ad21272572060c5935c6b0402b88b5999c8d13e1 /bench/ioq.c | |
parent | 8a317180e462e3641fb4f3a55f0da1dfe903b506 (diff) | |
download | bfs-ac393d60a3d390ffc3b5f79e9099ecb805e80ba9.tar.xz |
ioq: Submit and pop requests in batches
The new ioq_submit() function is now necessary to call to ensure the
pending request batch is flushed.
Diffstat (limited to 'bench/ioq.c')
-rw-r--r-- | bench/ioq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/ioq.c b/bench/ioq.c index 0886e9e..b3fbfbf 100644 --- a/bench/ioq.c +++ b/bench/ioq.c @@ -304,6 +304,7 @@ int main(int argc, char *argv[]) { break; } } + ioq_submit(ioq); } while (pop(ioq, &lap, true)); |