]> www.infradead.org Git - users/hch/misc.git/commit
io_uring: add helper of io_req_commit_cqe()
authorMing Lei <ming.lei@redhat.com>
Fri, 25 Oct 2024 12:22:40 +0000 (20:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Nov 2024 22:24:33 +0000 (15:24 -0700)
commit2fb4c53cb7181aab745594c25e0babc895e6b3f9
tree1dc111732c8bf645372e7a3bfddd036d5a734e16
parentcf19ce516dfc342f7b9282f52394434511242674
io_uring: add helper of io_req_commit_cqe()

Add helper of io_req_commit_cqe() for simplifying
__io_submit_flush_completions() a bit.

No functional change, and the added helper will be reused in sqe group
code with same lock rule.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241025122247.3709133-4-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c