From: Vasu Dev Date: Fri, 27 Feb 2009 18:55:07 +0000 (-0800) Subject: [SCSI] libfc: fixed a read IO data integrity issue when a IO data frame lost X-Git-Tag: v2.6.29~41^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26d9cab558f901051d0b69b2c445c8588931ce8d;p=pandora-kernel.git [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 Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed