James Bottomley 3233ac1981 [SCSI] sd: retry read_capacity on UNIT_ATTENTION
Hazard testing uncovered yet another bug in sd. Under heavy reset
activity the retry counter might be exhausted and the command will be
returned with sense UNIT_ATTENTION/0x29/00 (POWER ON, RESET, OR BUS
DEVICE RESET OCCURRED). In those cases we should just increase the
retry counter again, retrying one more to clear up this Unit Attention
state.

[jejb: update to work with RC16 devices and not to loop endlessly]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-04-11 13:36:26 -05:00
..
2010-04-11 09:24:23 -05:00
2010-03-15 14:50:17 +01:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2008-08-29 02:13:10 -07:00
2010-04-11 09:23:31 -05:00
2010-01-18 10:48:08 -06:00
2010-02-09 11:13:56 +01:00
2008-12-28 20:00:03 +01:00
2010-02-09 11:13:56 +01:00
2009-12-10 08:54:15 -06:00
2009-12-10 08:54:13 -06:00