Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* nvme-fc unregister remote port
@ 2018-01-12 22:25 Trapp, Darren
  2018-01-12 23:23 ` James Smart
  0 siblings, 1 reply; 6+ messages in thread
From: Trapp, Darren @ 2018-01-12 22:25 UTC (permalink / raw)


During the unregister remote process, we stop all the q?s, kill the IO (including AEN?s) and try and send a disconnect to the target via a LS request.  But, that request fails since __nvme_fc_send_ls_req first checks to ensure the remote port is ONLINE.  It won?t be since the unregister_remoteport sets the state to DELETED.

The disconnect never goes to the target to make an orderly shutdown/cleanup.  The target will eventually figure it out when the keep alive?s stop coming.  But it seams we should do an orderly shutdown when we can.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-18 16:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 22:25 nvme-fc unregister remote port Trapp, Darren
2018-01-12 23:23 ` James Smart
2018-01-18 15:54   ` Trapp, Darren
2018-01-18 16:18     ` James Smart
2018-01-18 16:23       ` Trapp, Darren
2018-01-18 16:44         ` James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox