aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDavid Jeffery <dhjeffery@gmail.com>2011-05-19 14:41:12 -0400
committerJames Bottomley <jbottomley@parallels.com>2011-05-24 12:51:53 -0400
commit3eef6257de48ff84a5d98ca533685df8a3beaeb8 (patch)
tree087372685b6d3069faf1a174c4b70778c3a51504 /firmware
parent0bcaa11154f07502e68375617e5650173eea8e50 (diff)
[SCSI] Reduce error recovery time by reducing use of TURs
In error recovery, most scsi error recovery stages will send a TUR command for every bad command when a driver's error handler reports success. When several bad commands to the same device, this results in a device being probed multiple times. This becomes very problematic if the device or connection is in a state where the device still doesn't respond to commands even after a recovery function returns success. The error handler must wait for the test commands to time out. The time waiting for the redundant commands can drastically lengthen error recovery. This patch alters the scsi mid-layer's error routines to send test commands once per device instead of once per bad command. This can drastically lower error recovery time. [jejb: fixed up whitespace and formatting] Signed-of-by: David Jeffery <djeffery@redhat.com> Signed-off-by: James Bottomley <jbottomley@parallels.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions