diff options
| author | Pavel Begunkov <[email protected]> | 2021-03-04 13:59:25 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-03-04 22:45:01 +0000 |
| commit | dd59a3d595cc10230ded4c8b727b096e16bceeb5 (patch) | |
| tree | 137825498fc28aa2199bcf7350561fc7506f8eed /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | io_uring: cancel-match based on flags (diff) | |
| download | kernel-dd59a3d595cc10230ded4c8b727b096e16bceeb5.tar.gz kernel-dd59a3d595cc10230ded4c8b727b096e16bceeb5.zip | |
io_uring: reliably cancel linked timeouts
Linked timeouts are fired asynchronously (i.e. soft-irq), and use
generic cancellation paths to do its stuff, including poking into io-wq.
The problem is that it's racy to access tctx->io_wq, as
io_uring_task_cancel() and others may be happening at this exact moment.
Mark linked timeouts with REQ_F_INLIFGHT for now, making sure there are
no timeouts before io-wq destraction.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
