LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] Invalidate expired persistance templates

To: Horms <horms@xxxxxxxxxxxx>
Subject: Re: [PATCH] Invalidate expired persistance templates
Cc: "LinuxVirtualServer.org user..." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Mon, 7 Nov 2005 23:31:53 +0200 (EET)
        Hello,

On Mon, 7 Nov 2005, Horms wrote:

> 2.4 still sets cp->timeout = 0; in ip_vs_conn_expire_now, so this
> is probably a good fix.

        May be better ip_vs_conn_expire_now() in 2.4 to be converted
to be as in 2.6 because there can be kernel timer patches for 2.4 that
allow timer handler for same cp to run on many CPUs. There is no
reason to keep it in this way, especially now when we don't like
cp->timeout to be 0. Then ip_vs_conn_expire() for 2.4 will use
cp->timeout in the same way as 2.6. We must be sure cp->timeout is
not set to 0 for some reason, by checking code in 2.4 and 2.6.

Regards

--
Julian Anastasov <ja@xxxxxx>

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