OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2782-g24d2d3e

Gerrit Code Review gerrit@openafs.org
Thu, 26 Jul 2012 11:43:36 -0700 (PDT)


The following commit has been merged in the master branch:
commit 24d2d3ea83bdadee3d8a8b477be10e9ced178b6d
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Thu Jun 21 23:44:31 2012 -0400

    vlserver: always use the hostaddress table in GetAddrsU
    
    Use the hostaddress (IpMappedAddr) table when looking up hosts by IP
    address and when listing addresses by index, instead of accessing
    the multi-homed extensions directly.
    
    The existing vos client calls the old GetAddrs rpc to first retrieve
    a count of the number of addresses expected. This count is the
    number of addresses in the hostaddress table.  If there are
    unreferenced entries in the mh extension blocks, then vos can return
    an incorrect or incomplete list of addresses.
    
    To be consistent with the rest of the host address processing, use
    the hostaddress table in GetAddrsU to lookup hosts by index or by IP
    address.
    
    The hostaddress table is already used when looking up addresses by
    UUID.
    
    Change-Id: I01aa29ae7d24d48bcd245f0320e329435f61548e
    Reviewed-on: http://gerrit.openafs.org/7878
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/vlserver/vlprocs.c |   37 ++++++++++++++-----------------------
 1 files changed, 14 insertions(+), 23 deletions(-)

-- 
OpenAFS Master Repository