Commands needing to be retried require a complete re-initialization.
authorAlan D. Brunelle <Alan.Brunelle@hp.com>
Tue, 9 Dec 2008 14:52:15 +0000 (15:52 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 12 Dec 2008 15:04:26 +0000 (16:04 +0100)
commitfebd7a5c131433ea128b54dd5712e260c79eb3ab
tree546e8450e05fdc1bc478a3d312d23f1518ce3b21
parent6c34bc2976b30dc8b56392c020e25bae1f363cab
Commands needing to be retried require a complete re-initialization.

The test-unit-ready portion of this patch was causing boots to fail on
my test machine (as in http://lkml.org/lkml/2008/12/5/161). With this
patch in place, the system is booting reliably.

Mike Anderson found the same problem in the hp_hw_start_stop code,
and I applied the same solution in cdrom_read_cdda_bpc.

Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Cc: Mike Anderson <andmike@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/cdrom/cdrom.c
drivers/scsi/device_handler/scsi_dh_hp_sw.c