]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE12-new-and-maybe-improved-cell-code-20020822
authorNickolai Zeldovich <kolya@mit.edu>
Thu, 6 Mar 2003 15:25:35 +0000 (15:25 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 6 Mar 2003 15:25:35 +0000 (15:25 +0000)
commitcdb8a859c412a8ec94b6fe59be428fe8a2ddabe1
treeffac021a5a523aae13aab7da766afaac98c5cad8
parent1f068c55085d15ab5f311bb0d775f9fad8e103aa
STABLE12-new-and-maybe-improved-cell-code-20020822

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.
====================

correct a code block so patch is correct

(cherry picked from commit 629d0806549d5b9cff9cd6f8eae50cf11c3e85ac)
26 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/vol/vnode.c
src/xstat/xstat_fs_callback.c