summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/channel.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-06-16 13:16:34 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 08:59:23 -0700
commit2dfde9644fe8c4a77f9c73f95b25d6300ca23b5d (patch)
treeb42b0079cf6b51c2b2b819bbf642a77533c27bf5 /drivers/staging/hv/channel.c
parentdf50567797be6d883364162176fd5e8a76ee751b (diff)
downloadop-kernel-dev-2dfde9644fe8c4a77f9c73f95b25d6300ca23b5d.zip
op-kernel-dev-2dfde9644fe8c4a77f9c73f95b25d6300ca23b5d.tar.gz
Staging: hv: vmbus: Increase the timeout value in the vmbus driver
On some loaded windows hosts, we have discovered that the host may not respond to guest requests within the specified time (one second) as evidenced by the guest timing out. Fix this problem by increasing the timeout to 5 seconds. It may be useful to apply this patch to the 3.0 kernel as well. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/channel.c')
-rw-r--r--drivers/staging/hv/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c
index cffca7c..455f47a 100644
--- a/drivers/staging/hv/channel.c
+++ b/drivers/staging/hv/channel.c
@@ -211,7 +211,7 @@ int vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size,
if (ret != 0)
goto cleanup;
- t = wait_for_completion_timeout(&openInfo->waitevent, HZ);
+ t = wait_for_completion_timeout(&openInfo->waitevent, 5*HZ);
if (t == 0) {
err = -ETIMEDOUT;
goto errorout;
OpenPOWER on IntegriCloud