]> 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)
commit8326a8becd9209498f1aabc2769e3e7b16aee249
tree38f25c0a68103d219f916c092ccb71b44e9fe172
parent4715babcb7af0cc856fa40c06233c02534b86df7
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