Commit a62682f
io_uring: fix missing set of EPOLLONESHOT for CQ ring overflow
We should set EPOLLONESHOT if cqring_fill_event() returns false since
io_poll_add() decides to put req or not by it.
Fixes: 5082620 ("io_uring: terminate multishot poll for CQ ring overflow")
Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20210922101238.7177-3-haoxu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent bd99c71 commit a62682f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5337 | 5337 | | |
5338 | 5338 | | |
5339 | 5339 | | |
5340 | | - | |
| 5340 | + | |
| 5341 | + | |
5341 | 5342 | | |
| 5343 | + | |
5342 | 5344 | | |
5343 | 5345 | | |
5344 | 5346 | | |
| |||
0 commit comments