OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-4-gd22c05e

Gerrit Code Review gerrit@openafs.org
Mon, 26 Oct 2009 07:31:45 -0700 (PDT)


The following commit has been merged in the master branch:
commit d22c05e6799649a1b5c06b0396e78b0520b3e4f6
Author: Jacob Thebault-Spieker <summatusmentis@gmail.com>
Date:   Wed Aug 12 01:32:06 2009 -0400

    Adds cm_RankUpServers() and cm_RankServer()
    
    This adds the functions cm_RankUpServers() and cm_RankServer() to
    the Windows cache manager. cm_RankUpServers() steps through the
    list of servers, and calls cm_RankServer(), which in turn re-ranks
    the servers that are currently up based on rx peer statistics as
    exposed by rx_GetLocalPeers().
    
    cm_RankUpServers() is called every 10 minutes by the cache manager
    daemon, so as to allow re-ranking of the servers.
    
    Also added is the struct server->adminRank data structure, to
    allow for the modification of the rank that the admin has set,
    without but basing this modification on the admin-set rank.
    
    Change-Id: I118b885e179e4f84901dd9a3180ce821f194feb8
    Reviewed-on: http://gerrit.openafs.org/317
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>

 src/WINNT/afsd/afsd_init.c |    6 +++-
 src/WINNT/afsd/cm_daemon.c |   26 ++++++++++++++++-
 src/WINNT/afsd/cm_ioctl.c  |    2 +
 src/WINNT/afsd/cm_server.c |   66 ++++++++++++++++++++++++++++++++++++++++++++
 src/WINNT/afsd/cm_server.h |    5 +++
 5 files changed, 102 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository