Home
last modified time | relevance | path

Searched hist:ba3af0aff042caa1f41b5f7164cab37c717b8811 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dips.cdiff ba3af0aff042caa1f41b5f7164cab37c717b8811 Wed Feb 22 02:11:59 CST 2006 Mike Christie <michaelc@cs.wisc.edu> [SCSI] don't call ips_eh_reset in ips_queue to avoid deadlock

When the locking was changed in the eh code ips_eh_reset was changed
so that it was a wraper around __ips_eh_reset and all ips_eh_reset
does is grab the host lock and then calls __ips_eh_reset.

In the queuecommand, ips_queue is called with the host_lock held so if
it calls ips_eh_reset we will have a problem. This patch just has
ips_queue call __ips_eh_reset.

Patch is only compile tested. I do not have the HW.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Hammer, Jack <Jack_Hammer@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>