[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Wait for up to 5 minutes for devices to connect.



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1185893231 -3600
# Node ID 09c88868e3442eaf5108520ecca0df9d5bf606a0
# Parent  49a0d5931430c65c7274a48471bf146ba6618067
Wait for up to 5 minutes for devices to connect.

Heavy load in domain 0 can cause very long delays setting up the
backend.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 drivers/xen/xenbus/xenbus_probe.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 49a0d5931430 -r 09c88868e344 drivers/xen/xenbus/xenbus_probe.c
--- a/drivers/xen/xenbus/xenbus_probe.c Sat Jul 28 08:45:07 2007 +0100
+++ b/drivers/xen/xenbus/xenbus_probe.c Tue Jul 31 15:47:11 2007 +0100
@@ -1075,7 +1075,7 @@ static int ready_to_wait_for_devices;
 static int ready_to_wait_for_devices;
 
 /*
- * On a 30-second timeout, wait for all devices currently configured.  We need
+ * On a 5-minute timeout, wait for all devices currently configured.  We need
  * to do this to guarantee that the filesystems and / or network devices
  * needed for boot are available, before we can allow the boot to proceed.
  *
@@ -1103,8 +1103,8 @@ static void wait_for_devices(struct xenb
                                printk(KERN_WARNING "XENBUS: Waiting for "
                                       "devices to initialise: ");
                        seconds_waited += 5;
-                       printk("%us...", 30 - seconds_waited);
-                       if (seconds_waited == 30)
+                       printk("%us...", 300 - seconds_waited);
+                       if (seconds_waited == 300)
                                break;
                }
                

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.