Commit a71976f
io_uring: remove timeout.list after hrtimer cancel
Remove timeouts from ctx->timeout_list after hrtimer_try_to_cancel()
successfully cancels it. With this we don't need to care whether there
was a race and it was removed in io_timeout_fn(), and that will be handy
for following patches.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 0bdf7a2 commit a71976f
1 file changed
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5301 | 5301 | | |
5302 | 5302 | | |
5303 | 5303 | | |
| 5304 | + | |
5304 | 5305 | | |
5305 | 5306 | | |
5306 | 5307 | | |
5307 | | - | |
5308 | | - | |
5309 | | - | |
5310 | | - | |
5311 | | - | |
5312 | | - | |
5313 | | - | |
5314 | 5308 | | |
5315 | 5309 | | |
5316 | 5310 | | |
| |||
5326 | 5320 | | |
5327 | 5321 | | |
5328 | 5322 | | |
5329 | | - | |
5330 | | - | |
5331 | 5323 | | |
5332 | 5324 | | |
5333 | 5325 | | |
| 5326 | + | |
5334 | 5327 | | |
5335 | 5328 | | |
5336 | 5329 | | |
| |||
0 commit comments