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>
Mon, 25 Jul 2022 00:39:15 +0000 (18:39 -0600)
commit46929b086886ade8302cff6e85ccea66bce0cf98
tree81ec1206f12b3e260b276126484ce6af19129a25
parent253993210bd8aa3b39a392807c03c8ef1cd7dc3d
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