commit | e1e16097e265daac918ce355bf1a0d1677adf0c7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Jun 22 09:17:17 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 25 07:22:41 2020 -0600 |
tree | 021ae31525ecdfa8e33bd3132b4ad69f2974e213 | |
parent | d3cac64c498c4fb2df46b97ee6f4c7d6d75f5e3d [diff] |
io_uring: provide generic io_req_complete() helper We have lots of callers of: io_cqring_add_event(req, result); io_put_req(req); Provide a helper that does this for us. It helps clean up the code, and also provides a more convenient location for us to change the completion handling. Signed-off-by: Jens Axboe <axboe@kernel.dk>