io_uring: add io_commit_cqring_flush()
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 20 Jun 2022 00:25:57 +0000 (01:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jun 2022 17:32:34 +0000 (11:32 -0600)
commitb099fe49222ec2a5717d8c85dfc835f88c4d6f0e
tree276c0c8319add0c5df08b04a162e4ea154cd8738
parent0f7c88992eb60c93ad24b185e175ee355f2391e9
io_uring: add io_commit_cqring_flush()

Since __io_commit_cqring_flush users moved to different files, introduce
io_commit_cqring_flush() helper and encapsulate all flags testing details
inside.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0da03887435dd9869ffe46dcd3962bf104afcca3.1655684496.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/rw.c