diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-11-10 16:49:31 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-24 19:17:53 +0100 |
commit | 913a571affedd17239c4d4ea90c8874b32fc2191 (patch) | |
tree | 2ff4863dcf2d02db2b256c07d55613063a0ab94d /.cocciconfig | |
parent | io_uring: improve argument types of kiocb_done() (diff) | |
download | linux-913a571affedd17239c4d4ea90c8874b32fc2191.tar.xz linux-913a571affedd17239c4d4ea90c8874b32fc2191.zip |
io_uring: clean cqe filling functions
Split io_cqring_fill_event() into a couple of more targeted functions.
The first on is io_fill_cqe_aux() for completions that are not
associated with request completions and doing the ->cq_extra accounting.
Examples are additional CQEs from multishot poll and rsrc notifications.
The second is io_fill_cqe_req(), should be called when it's a normal
request completion. Nothing more to it at the moment, will be used in
later patches.
The last one is inlined __io_fill_cqe() for a finer grained control,
should be used with caution and in hottest places.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/59a9117a4a44fc9efcf04b3afa51e0d080f5943c.1636559119.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions