[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFj5m9LZF2jk5Wq2FTPRv+tmOtG0dUJ0fv8N0aKYD9M7fWYXFA@mail.gmail.com>
Date: Fri, 30 Jan 2026 23:57:53 +0800
From: Ming Lei <ming.lei@...hat.com>
To: Caleb Sander Mateos <csander@...estorage.com>
Cc: Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ublk: remove "can't touch 'ublk_io' any more" comments
On Fri, Jan 30, 2026 at 11:25 PM Caleb Sander Mateos
<csander@...estorage.com> 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@...estorage.com>
Reviewed-by: Ming Lei <ming.lei@...hat.com>
Thanks,
Powered by blists - more mailing lists