How does this work with people using the NoHZ kernels?

--
Jason Faulkner
Linux Engineer
Rackspace Email & Apps

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Simon Horman
Sent: Wednesday, December 16, 2009 6:44 AM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: [lvs-users] ip_vs_send_async error

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 - [email protected]
Send requests to [email protected]
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Reply via email to