This is mostly a rewrite of src/afs/afs_cell.c, and associated changes
authorNickolai Zeldovich <kolya@mit.edu>
Fri, 23 Aug 2002 04:31:38 +0000 (04:31 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Fri, 23 Aug 2002 04:31:38 +0000 (04:31 +0000)
commit629d0806549d5b9cff9cd6f8eae50cf11c3e85ac
tree8ab9352accfb50d7d8546336fde03afbed2fad99
parent641a84b67b4206e848297cc5d23bcb35bce09b30
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).

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

make the arguments afs_CellNumValid takes match the prototype (since it
really is a afs_int32 it looks like)

====================

update irix to deal

====================

update irix to deal

====================

Fix some more references to the now-nonexistant cell->index
25 files changed:
src/afs/IRIX/osi_vfsops.c
src/afs/VNOPS/afs_vnop_lookup.c
src/afs/afs.h
src/afs/afs_analyze.c
src/afs/afs_call.c
src/afs/afs_callback.c
src/afs/afs_cell.c
src/afs/afs_daemons.c
src/afs/afs_dcache.c
src/afs/afs_dynroot.c
src/afs/afs_init.c
src/afs/afs_osi_vget.c
src/afs/afs_pioctl.c
src/afs/afs_prototypes.h
src/afs/afs_server.c
src/afs/afs_stats.h
src/afs/afs_vcache.c
src/afs/afs_volume.c
src/afsd/afsd.c
src/config/afs_args.h
src/fsint/afscbint.xg
src/fsprobe/fsprobe_callback.c
src/venus/cmdebug.c
src/venus/kdump.c
src/xstat/xstat_fs_callback.c