diff options
| author | Yang Xiuwei <yangxiuwei@kylinos.cn> | 2026-11-14 12:11:23 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-11-14 07:31:09 -0700 |
| commit | 9ed19503a7b34e1ffb2b81236843204c473b0ae0 (patch) | |
| tree | da898f07264b632241fc8c9c0d4d16aa7d4be986 /rust/kernel/alloc/allocator | |
| parent | d2a64291eec3327cf5421cf228e8cbc6d1dd368f (diff) | |
io_uring: fail soft links on negative IOU_COMPLETE results
Handlers such as fsync return IOU_COMPLETE with a negative cqe.res.
The old io_req_complete() path called req_set_fail() for res < 0.
After completions moved into the core, that check was dropped,
so IOSQE_IO_LINK dependents kept running after the head failed.
Fixes: 97b388d70b53 ("io_uring: handle completions in the core")
Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Link: https://patch.msgid.link/20261114041123.109163-1-yangxiuwei@kylinos.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
