OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1123-g89cdb34
Gerrit Code Review
Tue, 26 Apr 2011 17:37:02 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Marc Dionne <firstname.lastname@example.org>
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
- 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
- DoProbe is now called without the DB lock, so it doesn't need to
drop and re-aquire it.
Reviewed-by: Jeffrey Altman <email@example.com>
Tested-by: BuildBot <firstname.lastname@example.org>
Reviewed-by: Derrick Brashear <email@example.com>
src/ubik/recovery.c | 37 ++++++++++++++++---------------------
1 files changed, 16 insertions(+), 21 deletions(-)
OpenAFS Master Repository