Re: [PATCH] ublk: remove "can't touch 'ublk_io' any more" comments

From: Ming Lei

Date: Fri Jan 30 2026 - 10:59:52 EST


On Fri, Jan 30, 2026 at 11:25 PM Caleb Sander Mateos
<csander@xxxxxxxxxxxxxxx> wrote:
>
> The struct ublk_io is in fact accessed in __ublk_complete_rq() after the
> comment. But it's not racy to access the ublk_io between clearing its
> UBLK_IO_FLAG_OWNED_BY_SRV flag and completing the request, as no other
> thread can use the ublk_io in the meantime.
>
> Signed-off-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx>

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>

Thanks,