LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [Patch] Overload flag is not resetting

To: Horms <horms@xxxxxxxxxxxx>
Subject: Re: [Patch] Overload flag is not resetting
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 4 Feb 2005 12:37:37 +0200 (EET)
        Hello,

On Fri, 4 Feb 2005, Horms wrote:

> >     Can you change WRR on update instead of setting mark->cw to 0,
> > to clamp it to mw, sort of:
> >
> > if (mark->cw > mark->mw)
> >     mark->cw = mark->mw;

> >     Can this fix a problem where on reducing the max weight
> > no dests are returned until cw reaches down to mw.
>
> Yes, I am pretty sure that problem would be resolved.
> Either with the previous two patches (which both set mark->cw to 0),
> or the one below which implements your idea.

        Better move the two lines just before return 0 where mw is
valid.

Regards

--
Julian Anastasov <ja@xxxxxx>


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