[PATCH] nvme-fc: wait for queues to freeze before calling update_hr_hw_queues

Hannes Reinecke hare at suse.de
Mon Oct 19 06:06:16 EDT 2020


On 10/16/20 11:17 PM, James Smart wrote:
> On reconnect, the code currently does not freeze the controller before
> possibly updating the number hw queues for the controller.
> 
> Add the freeze before updating the number of hw queues. Note: the queues
> are already started and remain started through the reconnect.
> 
> Signed-off-by: James Smart <james.smart at broadcom.com>
> ---
>   drivers/nvme/host/fc.c | 7 +++++--
>   1 file changed, 5 insertions(+), 2 deletions(-)
> Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



More information about the Linux-nvme mailing list