commit | 27a67079c0e548d5c3232c40951517cfa630fe51 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Apr 12 12:07:36 2023 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 12 12:07:36 2023 -0600 |
tree | bccb34ab7a3cd613af685f1f43ad669aa40a6980 | |
parent | 360cd42c4e95ff06d8d7b0a54e42236c7e7c187f [diff] |
io_uring/uring_cmd: take advantage of completion batching We know now what the completion context is for the uring_cmd completion handling, so use that to have io_req_task_complete() decide what the best way to complete the request is. This allows batching of the posted completions if we have multiple pending, rather than always doing them one-by-one. Signed-off-by: Jens Axboe <axboe@kernel.dk>