diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-09-09 12:58:41 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-28 11:47:19 -0600 |
| commit | 5530a5102e3cc88f5dba2a0bb6c76671c19616d4 (patch) | |
| tree | 9a11afc445192179dbd78b519e65420eb043ef63 /rust/kernel/alloc/kvec/errors.rs | |
| parent | 0c1cf9f3a6a327c139312d12d451a847757ae6a2 (diff) | |
io_uring: post io-wq completions from the last request reference
io-wq holds a reference on a request for the duration of the issue, as
the completion may run before the issue returns. If it does, the CQE is
posted from that completion while the worker still holds its reference,
and the file is only put once the worker drops it. That means the actual
file put happens potentially long after CQE posting.
Post the completion with the last put for refcounted requests.
io_free_req() no longer marks the request as CQE_SKIP, that is now done
by whoever posted the CQE while another reference was still held.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
