OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4505-g72ca1e8
Gerrit Code Review
gerrit@openafs.org
Thu, 4 Dec 2014 18:43:30 -0500
The following commit has been merged in the master branch:
commit 72ca1e876f61ec7a2984e4379dcc59cfd160f2a5
Author: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
Date: Sat Jul 26 15:05:19 2014 -0400
Make all VLDB interactions use VLF/VLSF names
src/volser/volser.p.h defined the values used in VLDB entries. These values
appear (by exhaustive walk of source and by inspection of the volser's rxrpc
api) to be unused by any aspect of the volser and were solely used in
communication with the VLDB.
This patch deletes the misplaced definitions and moves the entire tree to
use the VLF_{RW,RO,BACK}EXISTS and VLSF_* macros from vlserver/vldbint.xg .
No include wrangling was needed; these definitions have always been in scope
but relatively unused.
It also serves to head off a potential problem, which actually motivated the
whole thing: ITSRWREPL was 0x10, which was claimed as VLSF_UUID;
VLSF_RWREPLICA is 0x40, which did not have an ITS equivalent. As ITSRWREPL
was not used, this had never shown itself in operation. There was no ITS
semantic equivalent of VLSF_UUID.
Change-Id: I60426c2635976b9ac34bf820a8aec7a0c8575e20
Reviewed-on: http://gerrit.openafs.org/11331
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/bucoord/commands.c | 16 +-
src/butc/dump.c | 6 +-
src/libadmin/vos/afs_vosAdmin.c | 18 ++--
src/libadmin/vos/lockprocs.c | 12 +-
src/libadmin/vos/vosutils.c | 4 +-
src/libadmin/vos/vsprocs.c | 174 ++++++++++++------------
src/volser/lockprocs.c | 12 +-
src/volser/volser.p.h | 13 --
src/volser/vos.c | 34 +++---
src/volser/vsprocs.c | 290 +++++++++++++++++++-------------------
10 files changed, 283 insertions(+), 296 deletions(-)
--
OpenAFS Master Repository