Commit ebe1002
committed
io_uring: don't cancel all work on process exit
If we're sharing the ring across forks, then one process exiting means
that we cancel ALL work and prevent future work. This is overly
restrictive. As long as we cancel the work associated with the files
from the current task, it's safe to let others persist. Normal fd close
on exit will still wait (and cancel) pending work.
Fixes: fcb323c ("io_uring: io_uring: add support for async work inheriting files")
Reported-by: Andres Freund <andres@anarazel.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 73e08e7 commit ebe1002
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5044 | 5044 | | |
5045 | 5045 | | |
5046 | 5046 | | |
5047 | | - | |
5048 | | - | |
5049 | | - | |
5050 | | - | |
5051 | 5047 | | |
5052 | 5048 | | |
5053 | 5049 | | |
| |||
0 commit comments