LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PATCH-2.4] fix locking in est scheduler

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [PATCH-2.4] fix locking in est scheduler
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sat, 5 Jul 2003 00:09:56 +0800 (CST)

Hi Ratz,

On Tue, 1 Jul 2003, Roberto Nibali wrote:

> 
> I see the cw, mw, di relation now and the added complexity. The 
> update_service() callback is called for every destination addition from 
> user space which in case of the wrr scheduler will update the max 
> weight, correct? Quite intelligent :)
> 

Yes, it is good to restart the wrr algorithm for every destination 
changes (addition/deletion/weight change).

> Why do we keep the struct iphdr *iph as second parameter in 
> ip_vs_{w}rr_schedule()?
> 

The struct iphdr *iph is not used in the wrr. But, struct iphdr *iph is 
used in the schedulers dh/sh/lblc/lblcr, so that we have to keep the 
function type unified.

Cheers,

Wensong

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