]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/block/cciss.c
cciss: separate error processing and command retrying code in sendcmd_withirq_core()
authorscameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net>
Mon, 8 Jun 2009 21:05:56 +0000 (16:05 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 9 Jun 2009 03:47:43 +0000 (05:47 +0200)
commit789a424ad1352b335960e7c56494d0410577fa61
tree7968d121b86b66c6271032441fd222e627f14ccd
parent3c2ab40296894d1f7ad9714550fdf9b96d4e9ee6
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>
drivers/block/cciss.c
drivers/block/cciss.h