LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ip_vs_send_async error

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ip_vs_send_async error
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Wed, 16 Dec 2009 22:43:44 +1100
On Wed, Dec 16, 2009 at 10:07:33AM +0200, Aleksey Chudov wrote:
> I have 2.6.31.2 kernel and it seems like code was changed and there is no
> msleep_interruptible in net/netfilter/ipvs/ip_vs_sync.c

Completely untested, but I think that this will have the
effect that you are after.


diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
index e177f0d..20b05db 100644
--- a/net/netfilter/ipvs/ip_vs_sync.c
+++ b/net/netfilter/ipvs/ip_vs_sync.c
@@ -757,7 +757,7 @@ static int sync_thread_master(void *data)
                        ip_vs_sync_buff_release(sb);
                }
 
-               schedule_timeout_interruptible(HZ);
+               schedule_timeout_interruptible(HZ/10);
        }
 
        /* clean up the sync_buff queue */


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>