Tejun Heo 22aac0896b [PATCH] libata: clear sdev->locked on door lock failure
SCSI EH locks door if sdev->locked is set.  Sometimes door lock
command fails continuously (e.g. when medium is not present) and as
libata uses EH to acquire sense data, this easily creates a loop where
a failed lock door invokes EH and EH issues lock door on completion.

This patch clears sdev->locked on door lock failure to break this
loop.  This problem has been spotted and diagnosed by Unicorn Chang
<uchang@tw.ibm.com>.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-08-09 01:16:27 -04:00
..
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-01-01 22:21:50 +01:00
2006-01-14 10:55:12 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-24 22:47:14 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-13 10:13:30 -05:00
2006-05-20 09:35:20 -05:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:00:58 -07:00
2006-06-25 10:00:58 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:58:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:30:00 -05:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2006-03-23 07:38:09 -08:00
2005-04-16 15:20:36 -07:00
2006-07-09 11:27:03 -05:00
2006-06-29 11:06:30 -04:00