]> git.baikalelectronics.ru Git - kernel.git/commit
nvme_fc: Move LS's to rport
authorJames Smart <jsmart2021@gmail.com>
Tue, 11 Apr 2017 18:35:08 +0000 (11:35 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Apr 2017 14:41:52 +0000 (16:41 +0200)
commit980fb082c2ba4142f92602f28d9dba10e7b27d8b
tree42c0e777e741e6edc07fb44e945a741e65cba1d5
parent29b41911ca26bf05de7468d6b675f2452d964815
nvme_fc: Move LS's to rport

Link LS's on the remoteport rather than the controller. LS's are
between nport's. Makes more sense, especially on async teardown where
the controller is torn down regardless of the LS (LS is more of a notifier
to the target of the teardown), to have them on the remoteport.

While revising ls send/done routines, issues were seen relative to
refcounting and cleanup, especially in async path. Reworked these code
paths.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c