summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qedi/qedi_debugfs.c
diff options
context:
space:
mode:
authorCathy Avery2017-04-17 20:37:46 +0200
committerMartin K. Petersen2017-04-20 01:14:14 +0200
commitdaf0cd445a218314f9461d67d4f2b9c24cdd534b (patch)
tree5ccdd2d32ded15a00834487ddf696acc419c175a /drivers/scsi/qedi/qedi_debugfs.c
parentscsi: scsi_transport_fc: Add dummy initiator role to rport (diff)
downloadkernel-qcow2-linux-daf0cd445a218314f9461d67d4f2b9c24cdd534b.tar.gz
kernel-qcow2-linux-daf0cd445a218314f9461d67d4f2b9c24cdd534b.tar.xz
kernel-qcow2-linux-daf0cd445a218314f9461d67d4f2b9c24cdd534b.zip
scsi: storvsc: Add support for FC rport.
Included in the current storvsc driver for Hyper-V is the ability to access luns on an FC fabric via a virtualized fiber channel adapter exposed by the Hyper-V host. The driver also attaches to the FC transport to allow host and port names to be published under /sys/class/fc_host/hostX. Current customer tools running on the VM require that these names be available in the well known standard location under fc_host/hostX. This patch stubs in an rport per fc_host and sets its rport role as FC_PORT_ROLE_FCP_DUMMY_INITIATOR to indicate to the fc_transport that it is a pseudo rport in order to scan the scsi stack via echo "- - -" > /sys/class/scsi_host/hostX/scan. Signed-off-by: Cathy Avery <cavery@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedi/qedi_debugfs.c')
0 files changed, 0 insertions, 0 deletions