patch-2.3.99-pre7 linux/drivers/i2o/i2o_block.c
Next file: linux/drivers/i2o/i2o_config.c
Previous file: linux/drivers/char/zr36120.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed May 10 16:56:42 2000
- Orig file:
v2.3.99-pre6/linux/drivers/i2o/i2o_block.c
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/i2o/i2o_block.c linux/drivers/i2o/i2o_block.c
@@ -25,11 +25,17 @@
* Independent queues per IOP
* Support for dynamic device creation/deletion
* Code cleanup
- * Support for larger I/Os through merge* functions
- * (taken from DAC960 driver)
+ * Support for larger I/Os through merge* functions
+ * (taken from DAC960 driver)
+ * Boji T Kannanthanam:
+ * Reduced the timeout during RAID 5 creation.
+ * This is to prevent race condition when a RAID volume
+ * is created and immediately deleted.
*
* To do:
* Serial number scanning to find duplicates for FC multipathing
+ * Remove the random timeout in the code needed for RAID 5
+ * volume creation.
*/
#include <linux/major.h>
@@ -1376,7 +1382,7 @@
* so we just sleep for a little while and let it do it's thing
*/
current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(10*HZ);
+ schedule_timeout(3*HZ);
if(i2o_claim_device(d, &i2o_block_handler))
{
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])