t/io_uring: Fix the parameters calculation for multiple threads scenario
authorPankaj Raghav <p.raghav@samsung.com>
Fri, 15 Oct 2021 12:09:56 +0000 (14:09 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 Oct 2021 12:20:47 +0000 (06:20 -0600)
commit7d1ce4b752e67868b3c7eb9aa5972ceec51210aa
tree2b68bec2d28c2f761ad111964fb38b134cc553ba
parent246054544cc74b56b063640ecb538893ea613936
t/io_uring: Fix the parameters calculation for multiple threads scenario

The this_done, this_call and this_reap parameter should be a summation of
the corresponding field from all the submitters.

Currently, we are adding the done, calls and reaps param of the last used
submitter nthread times.

Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c