projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b29f92
)
io_uring: correct comment on poll vs iopoll
author
Jens Axboe
<axboe@kernel.dk>
Tue, 23 Feb 2021 15:18:36 +0000
(08:18 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Sun, 11 Apr 2021 23:41:58 +0000
(17:41 -0600)
The correct function is io_iopoll_complete(), which deals with completions
of IOPOLL requests, not io_poll_complete().
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index 9ee33c32bea4d6eb00fd4bf98444e8f129164c95..13d087ebe057425360e1ff82a0b7f0afa84850c0 100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-2564,7
+2564,7
@@
static void io_complete_rw_iopoll(struct kiocb *kiocb, long res, long res2)
req_set_fail_links(req);
WRITE_ONCE(req->result, res);
- /* order with io_poll_complete() checking ->result */
+ /* order with io_
io
poll_complete() checking ->result */
smp_wmb();
WRITE_ONCE(req->iopoll_completed, 1);
}