[SCSI] mptfusion: Updated SCSI IO IOCTL error handling.
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 18 Mar 2010 13:43:10 +0000 (19:13 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:04 +0000 (09:24 -0500)
commit7d757f18554070e917f61e7caedf395f940cf853
tree5b77bd5276ee5c02959e4d680420a035eb3c6891
parentd0f698c46141e1d179fb3a86a0ae668d2fd12916
[SCSI] mptfusion: Updated SCSI IO IOCTL error handling.

Behavior changes only for IOCTLs that time out.  Current behavior of
Bus Reset remains the same for RAID Passthru Timeouts Current behavior
of Diagnostic reset for any other type of IOCTL remains the same

CHANGE: For IOCTL SCSI IOs that timeout, a Target Reset TM is sent,
instead of Bus Reset. All error handing from that point is the same as
what the driver currently does, which is to say that if the Device
Reset TM fails it escalates do diagnostic reset.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptctl.c