]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69940679c81e983ac8fdd91b1bbdaa6ec2f1162a
tree334b9e2725eba9aebc18fefe7c52eb1523569245
parent8693b90556e89e7fafab749f76c9214785895bc4
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