OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. 2f87c43ecec4f9efd5a7f26ee0ff10b9e2333585
Gerrit Code Review
gerrit@openafs.org
Thu, 19 Nov 2009 10:58:58 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit 2f87c43ecec4f9efd5a7f26ee0ff10b9e2333585
Author: Michael Meffie <mmeffie@sinenomine.net>
Date: Wed Nov 18 10:07:14 2009 -0500
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: I6dffa31a84d98249712dd17aad353f99151b4fd5
Reviewed-on: http://gerrit.openafs.org/619
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Tom Keiser <tkeiser@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/volser/Makefile.in | 3 +-
src/volser/volmain.c | 6 ++-
src/volser/volprocs.c | 130 +++++++++++++++++++++--------------------
src/volser/volser.p.h | 19 ++++++
src/volser/voltrans.c | 2 +
src/volser/voltrans_inline.h | 83 +++++++++++++++++++++++++++
6 files changed, 178 insertions(+), 65 deletions(-)
--
OpenAFS Master Repository