OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-131-g11cdb70
Gerrit Code Review
gerrit@openafs.org
Fri, 23 Oct 2009 13:48:49 -0700 (PDT)
The following commit has been merged in the master branch:
commit 11cdb701556fc0430445caaf3a4c6955683d9bd7
Author: Michael Meffie <mmeffie@sinenomine.net>
Date: Thu Oct 22 15:51:33 2009 -0400
volser transaction object race conditions
Fix the transaction object races between VolMonitor and the
volume operation procedures which can cause the volume
server to crash.
Add a per transaction object mutex to safely set the
transaction call pointer and name. Fix VolMonitor to safely
traverse the transaction list and to access the call pointer
and last proc name while copying info to send to the vos
client. Fix the sleep thread to safely access the last proc
name.
FIXES 125479
Change-Id: I59595b93522d111b6a771d3d93c246bfc2ce65de
Reviewed-on: http://gerrit.openafs.org/718
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/volser/Makefile.in | 3 +-
src/volser/volmain.c | 6 ++-
src/volser/volprocs.c | 138 ++++++++++++++++++++++--------------------
src/volser/volser.p.h | 19 ++++++
src/volser/voltrans.c | 2 +
src/volser/voltrans_inline.h | 83 +++++++++++++++++++++++++
6 files changed, 184 insertions(+), 67 deletions(-)
--
OpenAFS Master Repository