diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-03-09 00:37:58 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-10 07:28:42 -0700 |
commit | 33cc89a9fc248a486857381584cc6b67d9405fab (patch) | |
tree | 18ab08aa5f5391d9adf3b7b64f31db5316d1c666 /init | |
parent | 97a73a0f9fbfb2be682fd037814576dbfa0e0da8 (diff) |
io_uring: add io_disarm_next() helper
A preparation patch placing all preparations before extracting a next
request into a separate helper io_disarm_next().
Also, don't spuriously do ev_posted in a rare case where REQ_F_FAIL_LINK
is set but there are no requests linked (i.e. after cancelling a linked
timeout or setting IOSQE_IO_LINK on a last request of a submission
batch).
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/44ecff68d6b47e1c4e6b891bdde1ddc08cfc3590.1615250156.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions