diff options
author | Kiran Patil <kiran.patil@intel.com> | 2011-01-28 16:05:22 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-12 11:08:22 -0600 |
commit | acc1a921659561c4ea97eca6e3c2633adecbcd81 (patch) | |
tree | 50f99072fc7fbdcc7c317b52154ca47b0bd1b963 /include/scsi | |
parent | 78a582463c1e3a262aeaf2a291e06a93a7b34212 (diff) |
[SCSI] libfc: Extending lport's roles for target if there is a registered target.
Problem:
From initaitor machine, when queried role of target (other end of connection),
it is "initiator", hence SCSI-ml doesn't send any LUN Inquiry commands.
Fix:
If there is a registered target for FC_TYPE_FCP, extend lport's params
(capability) to be target as well, By default lport params are
INITIATOR only. Having this fix, caused initiator to send SCSI LUN
inquiry command to target.
Signed-off-by: Kiran Patil <kiran.patil@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions