Re: [PATCHSET 0/4][io_uring-post] cleanup after linked timeouts

Jens Axboe
2019-11-19T22:11:02Z

On 11/19/19 1:32 PM, Pavel Begunkov wrote:
> The second fixes mild misbehaving for a very rare case.
> The last one fixes a nasty bug, which leaks request with a uring
> reference, so hunging a process.
>
> Pavel Begunkov (4):
> io_uring: Always REQ_F_FREE_SQE for allocated sqe
> io_uring: break links for failed defer
> io_uring: remove redundant check
> io_uring: Fix leaking linked timeouts
>
> fs/io_uring.c | 58 ++++++++++++++++++++++++---------------------------
> 1 file changed, 27 insertions(+), 31 deletions(-)

Thanks, added 2-4 for now.

--
Jens Axboe