aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-11-12 13:49:25 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-11-13 02:45:53 -0500
commitc08fac6500b658c16834aceb13a08ebddd908333 (patch)
treee81afc3f15431d37fb5beadd79c3d779907fad6f /drivers/block/cciss.c
parentfd8489cff419d216479655b8041b8574ed89f806 (diff)
cciss: Retry driver initiated cmds with unit attention condition
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>
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 81c21875eb72..429b9b6ff590 100644
--- 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)
2531 case 0: return IO_OK; /* no sense */ 2531 case 0: return IO_OK; /* no sense */
2532 case 1: return IO_OK; /* recovered error */ 2532 case 1: return IO_OK; /* recovered error */
2533 default: 2533 default:
2534 if (check_for_unit_attention(h, c))
2535 return IO_NEEDS_RETRY;
2534 printk(KERN_WARNING "cciss%d: cmd 0x%02x " 2536 printk(KERN_WARNING "cciss%d: cmd 0x%02x "
2535 "check condition, sense key = 0x%02x\n", 2537 "check condition, sense key = 0x%02x\n",
2536 h->ctlr, c->Request.CDB[0], 2538 h->ctlr, c->Request.CDB[0],