Commit Graph

762 Commits

Author SHA1 Message Date
Nickolai Zeldovich
5cf450acf3 bulkstat-correctly-return-fetchstatus-error-20011011
actually fall back to fetchstatus's error
2001-10-11 08:41:22 +00:00
Derrick Brashear
1748be7ddd solaris-afs-nfs-translator-not-a-prayer-20011011
first pass at afs-nfs translator for solaris. it has not a prayer of
working. i don't really have time to work on it, hopefully someone will
see it and care.
2001-10-11 08:36:43 +00:00
Derrick Brashear
26996e0cb8 linux-umount-begin-dont-preclude-afs-put-super-from-usefully-calling-afs-shutdown-20011010
afs_put_super calls afs_shutdown, which expects to be called with
afs_shuttingdown equal to 0, not 1
2001-10-11 04:15:28 +00:00
Nickolai Zeldovich
1774eaacce cell-alias-support-fix-memory-leak-20011010
be careful to clean up after ourselves
2001-10-10 20:32:21 +00:00
Derrick Brashear
72d9dc7741 h-release-r-should-try-harder-to-reap-deleted-hosts-20011008
based on complaint from and work with jimmy@e.kth.se

h_OtherHolds_r will never return 0 if we mask our own hold
bit before calling it. however we must be careful to mask before h_TossStuff_r
so we aren't still "holding" then

otherwise just release our hold

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

mask holdbit in case i missed
2001-10-10 15:00:54 +00:00
Derek Atkins
acdadc1bde linux-rc-file-cleanup-20011008
Modularize the Linux RC file(s) a bit.  In particular, add more
options for larger caches, allow autogeneration of the cacheinfo file,
make sure AFS only starts if the network is running, add SuSE header
information, and cope with the Red Hat initscripts better (on Red Hat
only, but should work on all systems).

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

fix silly typo
2001-10-10 04:16:54 +00:00
Nickolai Zeldovich
077c0a4d76 unix-dynroot-support-20011009
The result is that if afsd is started with "-dynroot", /afs
  will be a locally-generated directory, with mountpoints for every
  cell in CellServDB (and /afs/.cellname as the rw mountpoint).  If
  AFSDB support is also enabled, attempting to access /afs/foo will
  cause the cache manager to do an AFSDB lookup on foo, similar to
  an automounter.  Cell aliases become symlinks to the real cell
  names under /afs.
2001-10-10 01:10:29 +00:00
Nickolai Zeldovich
56fa8cca37 support-cell-aliases-20011009
This patch adds support for "cell aliases": a cell alias allows a
  single cell to be known by multiple names (one of them the primary).
  This is useful in conjunction with AFSDB support, where you want all
  the possible names for the same cell to share the same tokens, etc.

  For instance, if the local resolver has "mit.edu" in its search
  domain, an AFSDB lookup on cell "athena" will cause the primary
  cell "athena.mit.edu" to be created, and "athena" made an alias
  for it.
2001-10-10 01:05:27 +00:00
Nickolai Zeldovich
1b979e5a83 rx-trace-check-correctly-for-file-descriptor-validity-20011009
file descriptor numbered 0 is valid
2001-10-10 00:59:46 +00:00
Nickolai Zeldovich
a60bb0c551 release-buffer-cache-lock-before-opening-file-20011009
make the buffer cache release
  the buffer hash lock before trying to open the corresponding file.
  Since we're already holding a buffer cache entry, we can lock it
  instead and let other threads obtain the big hash lock.
2001-10-10 00:58:44 +00:00
Nathan Neulinger
f10372acf2 tbutc-make-tsm-a-configure-option-20011009
not tsm support can be configure'd on

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

gmake wasn't part of the deal
2001-10-10 00:57:05 +00:00
Jeremy Katz
11171303cd support-nested-variables-20011009
necessary changes to nest variables so build directories can be changed when
installing by overriding fewer variables
2001-10-10 00:45:54 +00:00
Jeffrey Hutzelman
309122e864 configure-and-configure-libafs-use-acinclude-as-common-ground-20011008
use a single file for most of both configure scripts

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

except don't require autoconf 2.50
2001-10-09 15:48:25 +00:00
Jeffrey Hutzelman
2185f91d88 add-live-sys-cmd-20011008
The attached patch adds a program named 'livesys' to the venus directory.
  This program has exactly the same interface as 'sys', but actually does a
  pioctl to find out the current sysname instead of printing a value
  compiled into it.  It is intended for sites who want 'sys' to report the
  active, locally-assigned sysname of the machine on which it is run.
2001-10-09 07:32:58 +00:00
Derrick Brashear
b5ea10611c avoid-losing-when-sorting-server-prefs-if-a-server-has-left-out-from-under-us-while-we-were-playing-20011009
but it would be better to figure out how we're losing a server out from
under us.
2001-10-09 06:56:43 +00:00
Jeffrey Hutzelman
66d086da41 volser-update-backup-times-20011009
update backup time when the backup is recloned
2001-10-09 06:29:16 +00:00
Jeffrey Hutzelman
342ae52c81 logging-enhancements-20011009
The bosserver now logs the exit status of processes under its control.

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

Messages generated as the result of assertion failures now include
timestamps.
2001-10-09 06:27:31 +00:00
Nathan Neulinger
3c72f0ab25 parisc-linux-initial-support-20011008
initial support for the pa risc linux port
2001-10-09 06:14:16 +00:00
Nickolai Zeldovich
e4afa03500 freelance-compute-dirsize-correctly-20011009
compute directory size properly
2001-10-09 05:57:31 +00:00
Chaskiel M Grundman
bdc894b945 linux-dcache-cleanup-aggressively-to-avoid-having-too-many-vcache-entries-locked-down-20011008
less aggressive, though, than the "don't use the dcache at all" d_drop
solution i proposed.
2001-10-09 01:07:41 +00:00
Jeffrey Hutzelman
0c03f8607e vos-command-enhancements-20011008
- Adds the -crypt option, which causes rx connections to be encrypted

  - Adds the 'vos setfields' command, which allows volume info fields to
    be set.  Currently, this command allows a volume's quota to be set,
    and allows its dayuse counter to be manually cleared.  At present,
    no other changes are supported by the volserver RPC interface.

  - Adds the 'vos changeloc' command, which allows the VLDB's idea of the
    location of an RW volume to be explicitly changed without actually
    moving the volume.  This can be used in cases where the VLDB has the
    wrong idea of the location of a volume for some reason.  It is
    somewhat more predictable and easy to understand than the syncserv
    and syncvldb commands.

  - Adds the -offline option to 'vos restore'.  This option causes the
    restored volume to be left offline.  This functionality was already
    present in the code but previously had no user interface.

  - Adds the -readonly option to 'vos restore'.  This option causes the
    restored volume to be an RO volume.  It is not permitted to restore
    an RO volume when the associated RW volume already exists.  While
    it is possible to restore an RW volume where an RO volume exists,
    caution should be used to avoid doing this with VLDB entries created
    by 'vos restore -readonly', since such entries have their ROVOL and
    RWVOL ID's set to the same thing.
2001-10-08 23:55:41 +00:00
Nickolai Zeldovich
0c15cc977e fix-uafs-build-20011008
apply until intent of change is clear
2001-10-08 23:47:01 +00:00
Nathan Neulinger
d20760c306 more-cvsignore-updates-20011008
fix some cases where versions were hardcoded
2001-10-08 23:34:53 +00:00
Nickolai Zeldovich
f4b688d9ed solaris-9-support-20011008
support solaris 9
2001-10-08 23:19:07 +00:00
Nickolai Zeldovich
6583586e40 fix-linux-atomic-t-lossage-by-macroizing-vnode-refcounts-20011008
convert to macros for dealing with vnode refcounts
deal with linux 2.4 atomic_t in the process
2001-10-08 23:15:24 +00:00
Jeff Riegel
2d1ee8cf3d windows-afsdb-and-freelance-afs-root-support-20011005
afsdb record support for windows
freelance /afs (make up an afs root instead of using root.afs from some cell)
support for windows
2001-10-05 22:40:44 +00:00
Nathan Neulinger
d53aea964c vol-warnings-cleanup-20011005
make stream_open take const arguments
2001-10-05 22:31:47 +00:00
Nathan Neulinger
d924d9e4a7 sys-warnings-cleanup-20011005
add headers
2001-10-05 22:30:56 +00:00
Nathan Neulinger
9845b85764 rx-warnings-cleanup-20011005
add header, pull ++ out of ntohl
2001-10-05 22:30:12 +00:00
Nathan Neulinger
72977b7f01 util-makefile-suppress-multiple-install-target-20011005
extra install target unneeded
2001-10-05 22:28:49 +00:00
Nathan Neulinger
c5d97c62c8 viced-server-shutdown-diagnostics-20011005
print some debugging if we shutdown due to failure
2001-10-05 22:25:24 +00:00
Nathan Neulinger
45376df63f util-warning-cleanup-20011005
add headers, parens, and braces
ifdef notdef unused routines
2001-10-05 22:24:41 +00:00
Nathan Neulinger
60cccb1237 auth-warning-cleanup-20011005
add headers, parens, and braces
2001-10-05 22:23:58 +00:00
Nathan Neulinger
0f0671aa55 pinstall-warning-cleanup-20011005
add header to suppress warning
2001-10-05 22:22:57 +00:00
Nathan Neulinger
039e8b9279 des-warning-cleanup-20011005
cleanup warnings from des (add headers)
2001-10-05 22:19:20 +00:00
Nathan Neulinger
e841874510 rxkad-warning-cleanup-20011005
cleanup warnings from rxkad (add headers, move a ++ outside a htonl)
2001-10-05 22:18:36 +00:00
Nathan Neulinger
5498512cec kauth-warning-cleanup-20011005
cleanup warnings from kauth (add headers)
2001-10-05 22:17:18 +00:00
Nathan Neulinger
8fed71c6ac make-upclient-clean-up-after-itself-20011005
to preclude lots of turds being left in /tmp from failures
2001-10-05 22:13:33 +00:00
Love Hörnquist-Åstrand
5f002d755f viced-hosts-dump-make-output-more-useful-for-holds-20011005
don't just print pointer to holds array
2001-10-05 22:10:54 +00:00
Nathan Neulinger
97da033493 ptserver-warning-cleanup-20011005
clean up warnings in ptserver dir
2001-10-05 22:07:17 +00:00
Nathan Neulinger
366a772a80 ubik-warning-cleanup-20011005
clean up warnings (mostly new headers or added parens) in ubik
2001-10-05 22:05:16 +00:00
Nathan Neulinger
2c0184532b afsd-warning-cleanup-20011005
clean up warnings in afsd directory
2001-10-05 22:03:16 +00:00
Jeffrey Hutzelman
f6ff74b46b ptclient-add-lh-command-20011005
The attached patch adds a new 'lh' command to the ptclient utility.
  Analogous to 'l', this command lists the hostCPS for a specified host.
2001-10-05 21:58:00 +00:00
Nickolai Zeldovich
c15452d183 rxdebug-add-verbosity-20011005
This patch adds a "-long" option to rxdebug, to print out more verbose
output, and makes rxdebug print out more information about the Rx peers
when ran with "-long".
2001-10-05 21:45:52 +00:00
Nickolai Zeldovich
5bcf626dda solaris-mtu-cleanup-20011005
This patch provides better MTU selection on Solaris, by
  actually going through the list of interfaces and picking
  the correct MTU, rather than assuming 1500.

  It also fixes a small bug in the server preference code,
  which wasn't checking for IPv6 interfaces, and if there
  were any IPv6 interface, it would believe all servers
  were on the local subnet.
2001-10-05 21:44:35 +00:00
Nickolai Zeldovich
4b00d313a0 cvsignore-updates-kolya-20011005
ignore more things since we missed them before
2001-10-05 21:41:52 +00:00
Nickolai Zeldovich
4d5be5c6aa fix-prototype-warnings-and-eliminate-unused-variables-20011005
minor cleanup in mkvers and kauth/admin_tools
2001-10-05 21:41:09 +00:00
Nickolai Zeldovich
34a3a269ec linux-compute-mtu-correctly-20011005
This patch fixes two bugs:

  (1) pass more than 4 parameters to AFSCALL syscalls on Linux,
      allowing the ADVISEADDR op to pass the MTU array pointer.

  (2) properly convert MTU's to network byte order, since that's
      what the rest of the code expects them to be.
2001-10-05 21:38:57 +00:00
Nickolai Zeldovich
d2e9d29b77 afsd-afsdb-shutdown-cleanly-20011005
make userspace afsdb handler shut down cleanly
2001-10-05 21:36:59 +00:00
Derek Atkins
c9176d7f38 linux-generate-struct-vnode-dyanmically-from-kernel-headers-instead-of-by-perverting-configure-to-test-for-every-one-of-alan-coxs-additions-some-of-which-will-doubtless-never-make-it-into-mainline-kernels-20011001
hopefully this will be the end
(at least for a while) of problems where every linux version requires a new
openafs release. the struct vnode is now dynamically generated by parsing the
linux/fs.h file and pulling out the struct inode, then rewriting osi_vfs.h
2001-10-01 23:58:59 +00:00