[PATCH] nvme_fc: correct hang in nvme_ns_remove()

Sagi Grimberg sagi at grimberg.me
Sun Jan 14 02:44:53 PST 2018


> diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c
> index fe98e994498c..99bf51c7e513 100644
> --- a/drivers/nvme/host/fc.c
> +++ b/drivers/nvme/host/fc.c
> @@ -2938,6 +2938,9 @@ nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl)
>   	 * waiting for io to terminate
>   	 */
>   	nvme_fc_delete_association(ctrl);
> +
> +	/* resume the io queues so that things will fast fail */
> +	nvme_start_queues(nctrl);

Is fc also unquiescing the admin queue here?



More information about the Linux-nvme mailing list