]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc913a8b0d4c564e62c2a767d089378a3d2ffa00c
tree42c0e777e741e6edc07fb44e945a741e65cba1d5
parent568ad51e5d32c7f0a8e3138bc9df2badfcce0304
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