projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc484f
)
io_uring: clean up io_queue_sqe_arm_apoll
author
Pavel Begunkov
<asml.silence@gmail.com>
Tue, 2 Nov 2021 14:38:52 +0000
(14:38 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 2 Nov 2021 15:26:14 +0000
(09:26 -0600)
The fix for linked timeout unprep got a bit distored with two rebases,
handle linked timeouts for IO_APOLL_READY as with all other cases, i.e.
queue it at the end of the function.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link:
https://lore.kernel.org/r/130b1ea5605bbd81d7b874a95332295799d33b81.1635863773.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index 3ecd4b51510eaaf51a826393dd60e3c88b19b284..61c962c29235f6e4a14ae3f649925ec91b3ef85a 100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-6950,10
+6950,6
@@
static void io_queue_sqe_arm_apoll(struct io_kiocb *req)
switch (io_arm_poll_handler(req)) {
case IO_APOLL_READY:
- if (linked_timeout) {
- io_queue_linked_timeout(linked_timeout);
- linked_timeout = NULL;
- }
io_req_task_queue(req);
break;
case IO_APOLL_ABORTED: