]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] make scsi_eh_try_stu use block timeout
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 30 Nov 2008 16:32:26 +0000 (10:32 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 1 Dec 2008 17:16:09 +0000 (11:16 -0600)
commit24055550726f3017d4db77eb4c1cb2d4187a9284
tree4df2d18eadebc5ac48cb482dc110ae256b40dfbe
parent52c14c734f3b3180030a2d8cf1615cc6b67b1906
[SCSI] make scsi_eh_try_stu use block timeout

scsi_eh_try_stu() was still using the timeout parameter in the device
which is now not set (i.e. zero filled) meaning that it waited no time
at all for the start unit command to complete (leading the routine to
conclude failure every time).  This lead to a 2.6.27 regression:

http://bugzilla.kernel.org/show_bug.cgi?id=12120

Where firewire devices that were non spec compliant wouldn't spin up.

Fix this by using the block queue timeout value instead.

Reported-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_error.c