summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.h
diff options
context:
space:
mode:
authorscameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net>2009-06-08 16:05:56 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-06-09 05:47:43 +0200
commit789a424ad1352b335960e7c56494d0410577fa61 (patch)
tree7968d121b86b66c6271032441fd222e627f14ccd /drivers/block/cciss.h
parent3c2ab40296894d1f7ad9714550fdf9b96d4e9ee6 (diff)
downloadlinux-789a424ad1352b335960e7c56494d0410577fa61.tar.bz2
cciss: separate error processing and command retrying code in sendcmd_withirq_core()
Separate the error processing from sendcmd_withirq_core from the code which retries commands. The rationale for this is that the SCSI error handling code can then be made to use sendcmd_withirq_core, but avoid retrying commands. Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/cciss.h')
-rw-r--r--drivers/block/cciss.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h
index dd1926d8cd97..25cd58e25021 100644
--- a/drivers/block/cciss.h
+++ b/drivers/block/cciss.h
@@ -11,6 +11,7 @@
#define IO_OK 0
#define IO_ERROR 1
+#define IO_NEEDS_RETRY 3
#define VENDOR_LEN 8
#define MODEL_LEN 16