[PATCH] 2.5.31 scsi_error.c cleanup

Mike Anderson
2002-08-12T23:37:27Z

I have created a scsi_error cleanup patch.

I would appreciate any feedback and testing.

The patch simplifies scsi_unjam_host and associated functions.

I did not change any of the current error policy. I would like to do
that in the future.

I have tested the patch on the following configurations with successful
recovery:

UML:
Driver: scsi_debug Version: 1.59
Error Hdlr Policy:
- Request sense if no auto sense.
- Abort on timed out command

2.5.31:
Driver: aic7xxx 6.2.4
Error Hdlr Policy:
- Abort on timed out command
- Attempt BDR
- Send Bus Reset.

I also ran against qlogicisp, ips, and qla drivers but error injection
did not generate any meaningful results.

Complete patch against 2.5.31 is at:

http://www-124.ibm.com/storageio/gen-io/patch-scsi_error-2.5.31-1.gz

-Mike

--
Michael Anderson
andmike@us.ibm.com