LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] reinstate state transition timer setting in proc-fs (resend

To: Horms <horms@xxxxxxxxxxxx>
Subject: Re: [PATCH] reinstate state transition timer setting in proc-fs (resend v2)
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Roberto Nibali <ratz@xxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 6 Dec 2005 09:55:23 +0200 (EET)
        Hello,

On Tue, 6 Dec 2005, Horms wrote:

> > > Gulp! That code was already there, just removed from the build. How so?
> > > This patch adds that functionality back. Please apply:
> >
> >     Things changed long time ago, these values were used only
> > for _dos mode. The plan was to extend the timeout handling with
> > per-state option to ipvsadm but so far nobody has time to do it.
>
> True, but is there any harm in reinstating it in the mean time?

        You just removed its timeout table in 2.6.16. The real problem
is that timeouts are already per-protocol, i'm not sure it will compile
and work, one can try. On 5 Mar 2004 i sent you some ideas about
extending the timeout handling. The kernel has almost everything needed
to allow ipvsadm to set per-proto and per-app timeout, except if code
is already removed by someone as unused. Time ago i didn't proceeded
because libipvs is not my area. net/ipv4/ipvs/ip_vs_proto.c has funcs
to help per-state timeouts. Supporting state timeouts only for
secure_tcp mode (which is not useful) is bad idea. If you don't keep
this posting i can resend some ideas.

Regards

--
Julian Anastasov <ja@xxxxxx>

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