summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_elsct.c
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2009-02-27 10:55:07 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-06 15:40:06 -0600
commit26d9cab558f901051d0b69b2c445c8588931ce8d (patch)
tree5b7a89a39ba823ef1d1583971a3ec16906aadd83 /drivers/scsi/libfc/fc_elsct.c
parent6755db1cd4587084be85f860b7aa7c0cc9d776dc (diff)
downloadop-kernel-dev-26d9cab558f901051d0b69b2c445c8588931ce8d.zip
op-kernel-dev-26d9cab558f901051d0b69b2c445c8588931ce8d.tar.gz
[SCSI] libfc: fixed a read IO data integrity issue when a IO data frame lost
The fc_fcp_complete_locked detected data underrun in this case and set the FC_DATA_UNDRUN but that was ignored by fc_io_compl for all cases including read underrun. Added code to not to ignore FC_DATA_UNDRUN for read IO and instead suggested scsi-ml to retry cmd to recover from lost data frame. Not sure if it is okay to ignore FC_DATA_UNDRUN for other case, so let code as is for other cases but removed or-ing with zero valued fsp->cdb_status for those cases. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libfc/fc_elsct.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud