Commit 90df085
io_uring: cancel more aggressively in exit_work
While io_ring_exit_work() is running new requests of all sorts may be
issued, so it should do a bit more to cancel them, otherwise they may
just get stuck. e.g. in io-wq, in poll lists, etc.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent de7f1d9 commit 90df085
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
995 | 998 | | |
996 | 999 | | |
997 | 1000 | | |
| |||
8675 | 8678 | | |
8676 | 8679 | | |
8677 | 8680 | | |
8678 | | - | |
| 8681 | + | |
8679 | 8682 | | |
8680 | 8683 | | |
8681 | 8684 | | |
| |||
8830 | 8833 | | |
8831 | 8834 | | |
8832 | 8835 | | |
8833 | | - | |
8834 | | - | |
8835 | | - | |
| 8836 | + | |
| 8837 | + | |
| 8838 | + | |
| 8839 | + | |
| 8840 | + | |
8836 | 8841 | | |
8837 | 8842 | | |
8838 | 8843 | | |
| |||
0 commit comments