diff options
author | Julian Anastasov | 2013-03-22 10:46:48 +0100 |
---|---|---|
committer | Pablo Neira Ayuso | 2013-04-02 00:23:54 +0200 |
commit | 08cb2d032f13da4a076b51639b104a830b6bd18c (patch) | |
tree | a4b2b10a9e6f3acbd0920fb5c7bcaf1b6a69cc06 /include/net/ip_vs.h | |
parent | ipvs: convert wlc scheduler to rcu (diff) | |
download | kernel-qcow2-linux-08cb2d032f13da4a076b51639b104a830b6bd18c.tar.gz kernel-qcow2-linux-08cb2d032f13da4a076b51639b104a830b6bd18c.tar.xz kernel-qcow2-linux-08cb2d032f13da4a076b51639b104a830b6bd18c.zip |
ipvs: convert wrr scheduler to rcu
The schedule method now needs _rcu list-traversal
primitive for svc->destinations. As the weight for some
dest can be reduced during dest selection, change the
algorithm to check weights by using minimum weights in the
1 .. max_weight-(di-1) range, with the same step (di). By this
way we ensure that there will be always a weight >= 1 check
before claiming that all destinations are overloaded.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
0 files changed, 0 insertions, 0 deletions