cciss: shorten 30s timeout on controller reset
authorJens Axboe <jens.axboe@oracle.com>
Mon, 23 Feb 2009 07:53:35 +0000 (08:53 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 26 Feb 2009 09:45:48 +0000 (10:45 +0100)
commit5e4c91c84b194b26cf592779e451f4b5be777cba
tree334b9e2725eba9aebc18fefe7c52eb1523569245
parent9e8c0bccdc944bd09361672d47660810c027bcaa
cciss: shorten 30s timeout on controller reset

If reset_devices is set for kexec, then cciss will delay 30 seconds
since the old 5i controller _may_ need that long to recover. Replace
the long sleep with incremental sleep and tests to reduce the 30 seconds
to worst case for 5i, so that other controllers will proceed quickly.

Reviewed-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c