t/io_uring: ensure batch counts are smaller or equal to depth
authorJens Axboe <axboe@kernel.dk>
Thu, 23 Sep 2021 15:15:16 +0000 (09:15 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 Sep 2021 15:15:16 +0000 (09:15 -0600)
If you use a batch submit or complete count that's larger than the
depth, then t/io_uring will stall. Make sure to sanitize the counts
so that any batch values is always <= total depth.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found