Re: [PATCH v4 15/15] nvme-fc: Do not cancel requests in io taget before it is initialized

From: Randy Jennings

Date: Fri May 15 2026 - 20:35:38 EST


On Fri, Mar 27, 2026 at 5:46 PM Mohamed Khalfella
<mkhalfella@xxxxxxxxxxxxxxx> wrote:
>
> A new nvme-fc controller in CONNECTING state sees admin request timeout
> schedules ctrl->ioerr_work to abort inflight requests. This ends up
> calling __nvme_fc_abort_outstanding_ios() which aborts requests in both
> admin and io tagsets. In case fc_ctrl->tag_set was not initialized we
> see the warning below. This is because ctrl.queue_count is initialized
> early in nvme_fc_alloc_ctrl().

> Signed-off-by: Mohamed Khalfella <mkhalfella@xxxxxxxxxxxxxxx>
> Signed-off-by: James Smart <jsmart833426@xxxxxxxxx>

Reviewed-by: Randy Jennings <randyj@xxxxxxxxxxxxxxx>