]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fcloop: add support for nvmet discovery_event op
authorJames Smart <jsmart2021@gmail.com>
Tue, 14 May 2019 21:58:04 +0000 (14:58 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Jun 2019 09:08:37 +0000 (11:08 +0200)
commit4d7c48a5db4f52d3f9291944e2b54756ddfc0df3
tree38f25c0a68103d219f916c092ccb71b44e9fe172
parent71a1d60d1e02d53477af051bac2e3c52ed5672c2
nvme-fcloop: add support for nvmet discovery_event op

Update fcloop to support the discovery_event operation and
invoke a nvme rescan. In a real fc adapter, this would generate an
RSCN, which the host would receive and convert into a nvme rescan
on the remote port specified in the rscn payload.

Signed-off-by: James Smart <jsmart2021@gmail.com>
[kbuild-bot: fcloop_tgt_discovery_evt can be static]
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/fcloop.c