]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit4cf7c363b41552d76331fcf1e7ce600c8deeddc3
tree38f25c0a68103d219f916c092ccb71b44e9fe172
parent150d71f725fd2f5a0015b7fa8df0816a207d4e4b
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