diff options
author | James Bottomley <James.Bottomley@suse.de> | 2010-04-01 16:30:01 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 20:36:26 +0200 |
commit | 3233ac19811fe17033b537832ca7b59df8bf4aa9 (patch) | |
tree | 33c316cf6821d8c3a98624266324d318d50c47fb /Documentation/scsi | |
parent | [SCSI] mpt2sas : IOs needs to be pause until handles are refreshed for all de... (diff) | |
download | linux-3233ac19811fe17033b537832ca7b59df8bf4aa9.tar.xz linux-3233ac19811fe17033b537832ca7b59df8bf4aa9.zip |
[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>
Diffstat (limited to 'Documentation/scsi')
0 files changed, 0 insertions, 0 deletions