OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1027-g2385d26
Gerrit Code Review
gerrit@openafs.org
Tue, 5 Apr 2011 11:20:29 -0700 (PDT)
The following commit has been merged in the master branch:
commit 7c4fc5278e037104450d22a199a46f938aa929aa
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sat Jan 22 13:51:07 2011 -0500
ubik: Introduce new beacon lock
A new lock is introduced to protect beacon related data when
compiled with pthreads. A global structure is added containing
the lock itself and the global variables that it protects.
The lock also protects some values in the ubik_server structures:
lastVoteTime
lastBeaconSent
lastVote
up
beaconSinceDown
Based on some analysis and design work by Jeffrey Hutzelman
Change-Id: I13f72d32dce71d0686406efcd07b7ea7528722f1
Reviewed-on: http://gerrit.openafs.org/4155
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/ubik/beacon.c | 50 ++++++++++++++++++++++++++++++++------------------
src/ubik/recovery.c | 13 ++++++++++++-
src/ubik/ubik.c | 9 +++++++++
src/ubik/ubik.p.h | 22 ++++++++++++++++++++++
src/ubik/vote.c | 4 ++--
5 files changed, 77 insertions(+), 21 deletions(-)
--
OpenAFS Master Repository