From: Simon Horman <horms@verge.net.au>
To: Julian Anastasov <ja@ssi.bg>
Cc: Alexander Frolkin <avf@eldamar.org.uk>,
lvs-devel@vger.kernel.org, Wensong Zhang <wensong@linux-vs.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ipvs: SH fallback and L4 hashing
Date: Thu, 20 Jun 2013 22:20:03 +0900 [thread overview]
Message-ID: <20130620132003.GD24993@verge.net.au> (raw)
In-Reply-To: <alpine.LFD.2.00.1306192239510.1823@ja.ssi.bg>
On Wed, Jun 19, 2013 at 10:45:43PM +0300, Julian Anastasov wrote:
>
> Hello,
>
> On Wed, 19 Jun 2013, Alexander Frolkin wrote:
>
> > By default the SH scheduler rejects connections that are hashed onto a
> > realserver of weight 0. This patch adds a flag to make SH choose a
> > different realserver in this case, instead of rejecting the connection.
> >
> > The patch also adds a flag to make SH include the source port (TCP, UDP,
> > SCTP) in the hash as well as the source address. This basically allows
> > for deterministic round-robin load balancing (i.e., where any director
> > in a cluster of directors with identical config will send the same
> > packet the same way).
> >
> > The flags are service flags (IP_VS_SVC_F_SCHED*) so that these options
> > can be set per service. They are set using a new option to ipvsadm.
> >
> > Signed-off-by: Alexander Frolkin <avf@eldamar.org.uk>
>
> Thanks! Looks good to me.
>
> Acked-by: Julian Anastasov <ja@ssi.bg>
>
> > ---
> > The patch is against the ipvs-next tree.
>
> Still, I see one warning:
>
> patching file include/uapi/linux/ip_vs.h
> patching file net/netfilter/ipvs/ip_vs_sh.c
> Hunk #2 succeeded at 75 with fuzz 1.
>
> May be because you are missing the
> "ipvs: ip_vs_sh: fix build" change, not sure where is
> the fault, may be the change is not in ipvs-next,
> Simon can tell how to proceed with applying this patch.
Thanks, applied and pushed to ipvs-next.
I also noticed some fuzz.
Alexander, could you double-check ipvs-next to make sure
that I applied the patch correctly?
next prev parent reply other threads:[~2013-06-20 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 9:54 [PATCH] ipvs: SH fallback and L4 hashing Alexander Frolkin
2013-06-19 19:45 ` Julian Anastasov
2013-06-20 13:20 ` Simon Horman [this message]
2013-06-21 8:24 ` Alexander Frolkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130620132003.GD24993@verge.net.au \
--to=horms@verge.net.au \
--cc=avf@eldamar.org.uk \
--cc=ja@ssi.bg \
--cc=linux-kernel@vger.kernel.org \
--cc=lvs-devel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=wensong@linux-vs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).