diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-03-09 01:37:58 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-10 15:28:42 +0100 |
commit | 33cc89a9fc248a486857381584cc6b67d9405fab (patch) | |
tree | 18ab08aa5f5391d9adf3b7b64f31db5316d1c666 /fs/btrfs/subpage.h | |
parent | io_uring: fix io_sq_offload_create error handling (diff) | |
download | linux-33cc89a9fc248a486857381584cc6b67d9405fab.tar.xz linux-33cc89a9fc248a486857381584cc6b67d9405fab.zip |
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 'fs/btrfs/subpage.h')
0 files changed, 0 insertions, 0 deletions