OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1123-g89cdb34
Gerrit Code Review
gerrit@openafs.org
Tue, 26 Apr 2011 17:37:02 -0700 (PDT)
The following commit has been merged in the master branch:
commit 89cdb34920e2e01adf045611ffd4d94abdbef87a
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sat Jan 29 14:37:23 2011 -0500
ubik: locking in recovery.c
Locking changes in recovery.c:
- In urecovery_Initialize, hold the DB lock over ReplayLog
and InitializeDB
- Hold the DB lock over larger portions of urecovery_interact.
Some values which should be protected were examined and modified
without holding any locks.
- In the early part of urecovery_interact, only take the DB lock
when it's really needed, now that some values are protected by other
locks.
- DoProbe is now called without the DB lock, so it doesn't need to
drop and re-aquire it.
Change-Id: I1899b672687f0ab0eb59c74ff802750cdc377ae6
Reviewed-on: http://gerrit.openafs.org/4524
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/ubik/recovery.c | 37 ++++++++++++++++---------------------
1 files changed, 16 insertions(+), 21 deletions(-)
--
OpenAFS Master Repository