From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Frolkin Subject: Re: [PATCH] Sloppy TCP, SH rebalancing, SHP scheduling Date: Fri, 7 Jun 2013 08:53:04 +0100 Message-ID: <20130607075304.GB11902@eldamar.org.uk> References: <20130524120935.GL264@eldamar.org.uk> <20130524151408.GM264@eldamar.org.uk> <519F92EB.4080509@gmail.com> <51A4B3ED.4070809@gmail.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Sender: lvs-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julian Anastasov Cc: Aleksey Chudov , lvs-devel@vger.kernel.org Hi, > May be the patch for Sloppy TCP mode should be > extended to assume that old state is sSR if packet that > creates the connection has no RST flag. This will allow > connection to enter sES state if need, it will not stay > always in sCL state. I'll have to read the code a bit more to completely understand that, but it seems to make sense! > As for the initial check, it should be: > if ((sysctl_sloppy_tcp(net_ipvs(net)) || th->syn) && > + !th->rst && Make sense. > Also, one can enable Sloppy TCP mode for short > time during switchover, it should be safer to run with > disabled mode. The problem is that switchover won't necessarily be controlled if a server fails. Alex