OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-141-g3cffaee
Gerrit Code Review
gerrit@openafs.org
Wed, 17 Mar 2010 10:30:05 -0700 (PDT)
The following commit has been merged in the master branch:
commit 3cffaee790feef2b80915e9a247e0d5c3c1948da
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Feb 19 17:13:01 2010 -0600
DAFS: Replace partition locks with volume locks
In DAFS, replace uses of the VLockPartition_r partition-level locks with
the approprivate VLockVolume*NB volume-level locks (and sometimes
FSYNC_VerifyCheckout). This allows for greater parallelization of
volserver attachment / volume creation, for volume operations to occur
during salvages, and for multiple salvages on a single partition to
occur simultaneously.
More architectural details of volume-level locks can be found in the
changes to doc/arch/dafs-overview.txt.
Change-Id: I4e8ef4c864002d7e7c976691824c53dfa9cfaf91
Reviewed-on: http://gerrit.openafs.org/1406
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
doc/arch/dafs-overview.txt | 72 +++++
src/vol/listinodes.c | 11 +
src/vol/namei_ops.c | 69 ++++-
src/vol/salvaged.c | 7 +-
src/vol/vol-salvage.c | 261 +++++++++++++----
src/vol/vol-salvage.h | 2 +-
src/vol/voldefs.h | 4 +
src/vol/volume.c | 688 ++++++++++++++++++++++++++++++--------------
src/vol/volume.h | 1 +
src/vol/volume_inline.h | 39 +++-
src/vol/vutil.c | 60 ++++-
11 files changed, 903 insertions(+), 311 deletions(-)
--
OpenAFS Master Repository