WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] Wait for up to 5 minutes for devices to connect.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 01 Aug 2007 09:53:59 -0700
Delivery-date: Wed, 01 Aug 2007 09:51:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] Wait for up to 5 minutes for devices to connect., Xen patchbot-linux-2.6.18-xen <=