Commit febb985
committed
io_uring/poll: add hash if ready poll request can't complete inline
If we don't, then we may lose access to it completely, leading to a
request leak. This will eventually stall the ring exit process as
well.
Cc: [email protected]
Fixes: 49f1c68 ("io_uring: optimise submission side poll_refs")
Reported-and-tested-by: [email protected]
Link: https://lore.kernel.org/io-uring/[email protected]/
Suggested-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>1 parent e6db6f9 commit febb985
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
536 | 544 | | |
537 | 545 | | |
538 | 546 | | |
| |||
591 | 599 | | |
592 | 600 | | |
593 | 601 | | |
594 | | - | |
| 602 | + | |
| 603 | + | |
595 | 604 | | |
| 605 | + | |
596 | 606 | | |
597 | 607 | | |
598 | 608 | | |
599 | 609 | | |
600 | 610 | | |
601 | 611 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
| 612 | + | |
606 | 613 | | |
607 | 614 | | |
608 | 615 | | |
| |||
0 commit comments