Commit 0f8da75
io_uring: fix assign file locking issue
io-wq work cancellation path can't take uring_lock as how it's done on
file assignment, we have to handle IO_WQ_WORK_CANCEL first, this fixes
encountered hangs.
Fixes: 6bf9c47 ("io_uring: defer file assignment")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0d9b9f37841645518503f6a207e509d14a286aba.1649773463.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 82733d1 commit 0f8da75
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7277 | 7277 | | |
7278 | 7278 | | |
7279 | 7279 | | |
7280 | | - | |
7281 | | - | |
7282 | | - | |
7283 | | - | |
7284 | 7280 | | |
7285 | 7281 | | |
7286 | 7282 | | |
| 7283 | + | |
7287 | 7284 | | |
7288 | 7285 | | |
7289 | 7286 | | |
| 7287 | + | |
| 7288 | + | |
| 7289 | + | |
| 7290 | + | |
| 7291 | + | |
7290 | 7292 | | |
7291 | 7293 | | |
7292 | 7294 | | |
| |||
0 commit comments