summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_fc.c
diff options
context:
space:
mode:
authorSatish Kharat <satishkh@cisco.com>2016-03-18 11:22:50 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2016-04-11 16:57:09 -0400
commit1b6ac5e3ff354652ca59240e1ba8b2d22539df07 (patch)
tree0db370df3cab25a11c960d365b6eb7756e111c20 /drivers/scsi/scsi_transport_fc.c
parenta36f5dd07dd9098d43d1137ec7a2d6b92aa6d591 (diff)
downloadop-kernel-dev-1b6ac5e3ff354652ca59240e1ba8b2d22539df07.zip
op-kernel-dev-1b6ac5e3ff354652ca59240e1ba8b2d22539df07.tar.gz
fnic: Using rport->dd_data to check rport online instead of rport_lookup.
When issuing I/O we check if rport is online through libfc rport_lookup() function which needs to be protected by mutex lock that cannot acquired in I/O context. The change is to use midlayer remote port s dd_data which is preserved until its devloss timeout and no protection is required. The the scsi_cmnd error code is expected to be in the left 16 bits of the result field. Changed to correct this. Fnic driver version changed from 1.6.0.20 to 1.6.0.21 Signed-off-by: Satish Kharat <satishkh@cisco.com> Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com> Reviewed-by: Ewan Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_fc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud