[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58E24A9A.30200@redhat.com>
Date: Mon, 3 Apr 2017 09:14:02 -0400
From: Cathy Avery <cavery@...hat.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com, jejb@...ux.vnet.ibm.com,
martin.petersen@...cle.com, stephen@...workplumber.org,
dan.carpenter@...cle.com, devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH v2] scsi: storvsc: Add support for FC rport.
On 04/03/2017 08:17 AM, Christoph Hellwig wrote:
>> if (host->transportt == fc_transport_template) {
>> + struct fc_rport_identifiers ids = {
>> + .roles = FC_PORT_ROLE_FCP_TARGET,
>> + };
> I don't think storvsc ever acts as FCP target.
In order to implement the work around so that the scsi scan works
indicating FC_PORT_ROLE_FCP_TARGET as a role was necessary due to its
test in fc_scsi_scan_rport. The idea here is to avoid making any changes
to the fc_transport driver which was of some concern.
Thanks,
Cathy
Powered by blists - more mailing lists