OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1029-ge4ac552

Gerrit Code Review gerrit@openafs.org
Tue, 5 Apr 2011 11:22:22 -0700 (PDT)


The following commit has been merged in the master branch:
commit e4ac552ab79be21d90397079eaf6be7050497752
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Thu Feb 3 20:51:06 2011 -0500

    ubik: Introduce version lock
    
    The "version" lock is a new lock that protects the database version
    information.  The goal is to allow the beacon thread to use the
    protected values without blocking for an extended period of time,
    which could occur if it was using the database lock.
    
    Reading requires holding either lock, while writing requires holding
    both locks.
    
    The following values are protected:
    	ubik_epochTime
    	db->version
    	db->flags
    	db->tidCounter
    	db->writeTidCounter
    
    Based on analysis and design work from Jeffrey Hutzelman.
    
    Change-Id: Ib6e67360807eed8c36e35ec27d1eb938ac899e22
    Reviewed-on: http://gerrit.openafs.org/4158
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/ubik/beacon.c   |   11 ++++++++---
 src/ubik/disk.c     |   13 +++++++++++--
 src/ubik/recovery.c |   29 ++++++++++++++++++++---------
 src/ubik/remote.c   |   14 ++++++++++++--
 src/ubik/ubik.c     |    5 +++++
 src/ubik/ubik.p.h   |   16 +++++++++++++++-
 src/ubik/vote.c     |    4 ++--
 7 files changed, 73 insertions(+), 19 deletions(-)

-- 
OpenAFS Master Repository