diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2012-06-07 11:19:35 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 09:58:23 +0200 |
commit | 5c17ae217ad13463f821c3bab774335777da9c33 (patch) | |
tree | 681652b5df7088693a49d697b17d84fd261425c4 /drivers/scsi/scsi_error.c | |
parent | [SCSI] remove old comment from block/unblock functions (diff) | |
download | linux-5c17ae217ad13463f821c3bab774335777da9c33.tar.xz linux-5c17ae217ad13463f821c3bab774335777da9c33.zip |
[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 <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
0 files changed, 0 insertions, 0 deletions