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