Commit 773af69
committed
io_uring: always reissue from task_work context
As a safeguard, if we're going to queue async work, do it from task_work
from the original task. This ensures that we can always sanely create
threads, regards of what the reissue context may be.
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 110aa25 commit 773af69
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2060 | 2060 | | |
2061 | 2061 | | |
2062 | 2062 | | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
2063 | 2069 | | |
2064 | 2070 | | |
2065 | 2071 | | |
| |||
2248 | 2254 | | |
2249 | 2255 | | |
2250 | 2256 | | |
2251 | | - | |
| 2257 | + | |
2252 | 2258 | | |
2253 | 2259 | | |
2254 | 2260 | | |
| |||
2771 | 2777 | | |
2772 | 2778 | | |
2773 | 2779 | | |
2774 | | - | |
| 2780 | + | |
2775 | 2781 | | |
2776 | 2782 | | |
2777 | 2783 | | |
| |||
0 commit comments