diff options
author | scameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net> | 2009-06-08 17:05:56 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-06-08 23:47:43 -0400 |
commit | 789a424ad1352b335960e7c56494d0410577fa61 (patch) | |
tree | 7968d121b86b66c6271032441fd222e627f14ccd /drivers/block/cciss.h | |
parent | 3c2ab40296894d1f7ad9714550fdf9b96d4e9ee6 (diff) |
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.h | 1 |
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 @@ | |||
11 | 11 | ||
12 | #define IO_OK 0 | 12 | #define IO_OK 0 |
13 | #define IO_ERROR 1 | 13 | #define IO_ERROR 1 |
14 | #define IO_NEEDS_RETRY 3 | ||
14 | 15 | ||
15 | #define VENDOR_LEN 8 | 16 | #define VENDOR_LEN 8 |
16 | #define MODEL_LEN 16 | 17 | #define MODEL_LEN 16 |