OpenAFS CVS Commit: openafs/src/afs by kolya

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 22 Aug 2002 18:44:53 EDT


Update of /cvs/openafs/src/afs
In directory GRAND.CENTRAL.ORG:/data/tmp/kolya/openafs/src/afs

Modified Files:
	afs.h afs_analyze.c afs_call.c afs_callback.c afs_cell.c 
	afs_daemons.c afs_dcache.c afs_dynroot.c afs_init.c 
	afs_osi_vget.c afs_pioctl.c afs_prototypes.h afs_server.c 
	afs_stats.h afs_vcache.c afs_volume.c 
Log Message:

DELTA new-and-maybe-improved-cell-code-20020822
AUTHOR kolya@mit.edu

This is mostly a rewrite of src/afs/afs_cell.c, and associated changes
to other things.  Features of the new cell code:

 * Persistent name-to-cell-number mapping across reboots, to ensure the
   cell numbers in the dcache are meaningful.  Stored in the new cache
   file, /usr/vice/cache/CellInfo.
 * Allow cmdebug to query the cell number to cell name mapping.
 * Allow clients to have an empty CellServDB as long as AFSDB is enabled
   and ThisCell has AFSDB records.
 * The home cell retains the setuid bit even if looked up via AFSDB.
 * Dynroot gets its own cell, rather than piggybacking on cell 1.
 * Cell 1 is no longer special; cell numbers are now semi-opaque.
 * Convert cell traversal code to using GetCellByIndex rather than
   directly poking at CellLRU / afs_xcell.
 * Separate cells from aliases, which shouldn't have been the same
   in the first place.
 * Cleaner code (IMHO).



--- DELTA config follows ---
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs.h 1.30 1.31
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_analyze.c 1.11 1.12
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_call.c 1.31 1.32
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_callback.c 1.16 1.17
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_cell.c 1.20 1.21
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_daemons.c 1.16 1.17
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_dcache.c 1.21 1.22
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_dynroot.c 1.6 1.7
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_init.c 1.16 1.17
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_osi_vget.c 1.7 1.8
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_pioctl.c 1.40 1.41
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_prototypes.h 1.10 1.11
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_server.c 1.19 1.20
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_stats.h 1.7 1.8
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_vcache.c 1.37 1.38
new-and-maybe-improved-cell-code-20020822 openafs/src/afs/afs_volume.c 1.16 1.17