LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] additional proc entries for synchronisation

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [PATCH] additional proc entries for synchronisation
From: Horms <horms@xxxxxxxxxxxx>
Date: Mon, 25 Nov 2002 12:52:48 +0900
On Sun, Nov 24, 2002 at 09:26:04PM +0800, Wensong Zhang wrote:
> 
> 
> Hi,
> 
> Sorry for the delay.
> 
> On Fri, 22 Nov 2002, Horms wrote:
> 
> > > 
> > > Don't worry. I wanted to remove the 255 in the code and replace it with 
> > > the calculated amount of connections from the struct, so once we'll 
> > > change it to 16bit we wouldn't need to run s/255/16383/g.
> > 
> > Ahh ok, good pt. But it is probably safe to just leave it as is for now,
> > or make it a static define. I think we can leave that up to Wensong.
> > 
> 
> I'd like to see that we will add more sysctl varibles to connection
> synchronization in ipvs 1.1.* version, and it is good to keep ip_vs.h 
> short and keep most connection synchronization stuff in the ip_vs_sync.c 
> only.

But I think that to allow some of synchonisation variables
to be tuned we need to have some data structures accessable
by both ip_vs_sync.c and ip_vs_ctl.c. Putting the structures
into ip_vs.h seems to be a convenient way to do this. Alternatively,
a new .h file could be created, but I don't see any advantage
in this approach.

-- 
Horms
        


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