OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-14-g190ef2c
Gerrit Code Review
gerrit@openafs.org
Tue, 23 Mar 2010 12:22:59 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit 190ef2cb29577f2fcf1853149cf210fdf0736ae3
Author: Dan Hyde <drh@umich.edu>
Date: Wed Jan 13 14:38:47 2010 -0500
volmonitor keep vtrans lock
VolMonitor must maintain the VTRANS lock the whole time it is walking
the allTrans list. Failure to do so can cause core dumps trying to
access memory that has already been free'd.
Two versions of this change were coded and tested. The other version
used the VTRANS lock only around a THOLD, but needed a TRELE, too.
Timing tests were run counting the number of vos status, vos listvol,
and vos backupsys operations that could be performed during a fixed
number of vos status operations. The THOLD/TRELE version caused other
vos operations to run about 5% slower.
FIXES 126110
Change-Id: I7e749d30c955867faacafa978d7d643dee648ca3
Reviewed-on: http://gerrit.openafs.org/1098
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit d4f6ece19b05f2233e53f2d3c59f92316ec5ec3a)
Change-Id: Ic12bb6687a9c34e85abc2023c02264de6ae27614
Reviewed-on: http://gerrit.openafs.org/1588
Reviewed-by: Dan Hyde <drh@umich.edu>
Tested-by: Dan Hyde <drh@umich.edu>
src/volser/volprocs.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository