From: Bhanu Prakash Gollapudi Date: Thu, 7 Jun 2012 09:19:35 +0000 (-0700) Subject: [SCSI] bnx2fc: Improve error recovery by handling parity errors X-Git-Tag: v3.6-rc1~103^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c17ae217ad13463f821c3bab774335777da9c33;p=pandora-kernel.git [SCSI] bnx2fc: Improve error recovery by handling parity errors During parity errors, the ramrods are not issued to FW. bnx2fc waits for the timeout value, and proceeds with cleaning up the IOs. Since we are already out-of-sync with FW, cleanup commands timeout too, and do not get the completion. This operation takes 36 secs for each session to upload causing huge delays. To fix this, bnx2fc now gets a PARITY_ERROR from cnic driver, and upon failure, the driver does not issue any commands to the FW and finishes the upload process sooner. Signed-off-by: Bhanu Prakash Gollapudi Signed-off-by: James Bottomley --- Reading git-diff-tree failed