On 10/20/21 02:48, Jens Axboe wrote:
On 10/19/21 7:26 PM, Pavel Begunkov wrote:
io_unprep_linked_timeout() is broken, first it needs to return back
REQ_F_ARM_LTIMEOUT, so the linked timeout is enqueued and disarmed. But
now we refcounted it, and linked timeouts may get not executed at all,
leaking a request.
Just kill the unprep optimisation.
This appears to be against something that is not 5.15, can you please
check the end result:
Yeah, it was 5.16 for some reason. Looks good, thanks!
https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.15&id=46cb76b2f5ff39bf019bf7a072524fc7fe6deb01
--
Pavel Begunkov