projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd8489c
)
cciss: Retry driver initiated cmds with unit attention condition
author
Stephen M. Cameron
<scameron@beardog.cce.hp.com>
Thu, 12 Nov 2009 18:49:25 +0000
(12:49 -0600)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 13 Nov 2009 07:45:53 +0000
(08:45 +0100)
cciss: Retry driver initiated cmds with unit attention condition
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/cciss.c
b/drivers/block/cciss.c
index 81c21875eb72bec3b1a8ca2d34985913e8f46a3d..429b9b6ff59000a746d0d6fb07fc0501a4bdb219 100644
(file)
--- a/
drivers/block/cciss.c
+++ b/
drivers/block/cciss.c
@@
-2531,6
+2531,8
@@
static int check_target_status(ctlr_info_t *h, CommandList_struct *c)
case 0: return IO_OK; /* no sense */
case 1: return IO_OK; /* recovered error */
default:
+ if (check_for_unit_attention(h, c))
+ return IO_NEEDS_RETRY;
printk(KERN_WARNING "cciss%d: cmd 0x%02x "
"check condition, sense key = 0x%02x\n",
h->ctlr, c->Request.CDB[0],