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>
Thu, 21 Jul 2022 14:44:29 +0000 (08:44 -0600)
commit0dc54bfa4883cbf291e7ac868a1972abf61e6cad
tree503a483bfc1b32da93d17edf0afe56a95af5a584
parent3805a7e49eea4d24fb3ff11756dc09767fa441af
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