Re: [PATCH 4/5] io_uring: add a helper for poll clean

From: Hao Xu
Date: Sat May 07 2022 - 02:37:20 EST


在 2022/5/6 下午10:36, Jens Axboe 写道:
On 5/6/22 1:01 AM, Hao Xu wrote:
From: Hao Xu <howeyxu@xxxxxxxxxxx>

Add a helper for poll clean, it will be used in the multishot accept in
the later patches.

Should this just go into io_clean_op()? Didn't look at it thoroughly,
but it'd remove some cases from the next patch if it could.

Actually this was my first version, here I put it in io_accept() to make
it happen as early as possible. I rethinked about this, seems it's ok to
put it into the io_clean_op().