]> www.infradead.org Git - nvme.git/commit
nvme-fc: go straight to connecting state when initializing
authorDaniel Wagner <wagi@kernel.org>
Thu, 9 Jan 2025 13:30:47 +0000 (14:30 +0100)
committerKeith Busch <kbusch@kernel.org>
Thu, 23 Jan 2025 18:04:25 +0000 (10:04 -0800)
commitd3d380eded7ee5fc2fc53b3b0e72365ded025c4a
treec0191842744c27282f9f55d49d66c8535b2929ec
parent11cb3529d18514f7d28ad2190533192aedefd761
nvme-fc: go straight to connecting state when initializing

The initial controller initialization mimiks the reconnect loop
behavior by switching from NEW to RESETTING and then to CONNECTING.

The transition from NEW to CONNECTING is a valid transition, so there is
no point entering the RESETTING state. TCP and RDMA also transition
directly to CONNECTING state.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/fc.c