Commit 80c18e4
io_uring: trigger eventfd for IOPOLL
Make sure io_iopoll_complete() tries to wake up eventfd, which currently
is skipped together with io_cqring_ev_posted() for non-SQPOLL IOPOLL.
Add an iopoll version of io_cqring_ev_posted(), duplicates a bit of
code, but they actually use different sets of wait queues may be for
better.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 3e2224c commit 80c18e4
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
1716 | 1726 | | |
1717 | 1727 | | |
1718 | 1728 | | |
| |||
2428 | 2438 | | |
2429 | 2439 | | |
2430 | 2440 | | |
2431 | | - | |
2432 | | - | |
| 2441 | + | |
2433 | 2442 | | |
2434 | 2443 | | |
2435 | 2444 | | |
| |||
0 commit comments