android_kernel_xiaomi_sdm845/drivers/scsi/libfc
Vasu Dev 26d9cab558 [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>
2009-03-06 15:40:06 -06:00
..
fc_disc.c [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00
fc_elsct.c [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00
fc_exch.c [SCSI] libfc: rport retry on LS_RJT from certain ELS 2009-03-06 15:39:34 -06:00
fc_fcp.c [SCSI] libfc: fixed a read IO data integrity issue when a IO data frame lost 2009-03-06 15:40:06 -06:00
fc_frame.c [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00
fc_lport.c [SCSI] libfc, fcoe: fixed locking issues with lport->lp_mutex around lport->link_status 2009-03-06 15:37:49 -06:00
fc_rport.c [SCSI] libfc: rport retry on LS_RJT from certain ELS 2009-03-06 15:39:34 -06:00
Makefile [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00