Commit Graph

598 Commits

Author SHA1 Message Date
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
Derrick Brashear
a878b9e689 allow-configure-time-override-of-DEST-20011001
so DEST=foo ./configure will work
2001-10-01 20:20:04 +00:00
Derrick Brashear
8a3eb1f06d be-more-careful-about-references-when-adding-and-deleting-callbacks-20011001
perhaps too careful. to fix potential crash in TDel and TAdd

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

remove extra ) which snuck in
2001-10-01 18:51:41 +00:00
Nickolai Zeldovich
7afd82623d require-administer-permission-for-mount-point-creation-harder-20010926
make sure a mount point isn't being created if the user isn't allowed to
do that
2001-10-01 18:35:50 +00:00
Mark W. Eichin
12136567fc linux24-another-new-inode-field-sigh-20011001
with configure glue by shadow@dementia.org

one of these days we really need to implement a better solution
2001-10-01 18:31:49 +00:00
Nathan Neulinger
308ab83316 login-makefile-needs-new-build-system-update-20011001
fixed missed case of afs/ in libdir
2001-10-01 18:20:49 +00:00
Nathan Neulinger
f64e648afb pam-build-on-hpux11-20011001
so pam now builds on hpux 11
2001-10-01 18:19:22 +00:00
Nathan Neulinger
7d2a0bd49f linux-kdump-wrapper-20011001
install a kdump wrapper for linux. (with mod to use $0 instead of kdump)
2001-10-01 18:17:20 +00:00
Jeffrey Hutzelman
a134e52982 fix-destdir-support-for-fsconv-and-xfs-binaries-20011001
properly support DESTDIR case in vol makefile for certain files which were
broken before
2001-10-01 18:11:03 +00:00
Derrick Brashear
c14d7766f6 rx-ignore-vab-harder-20010928
if the other side suggests we use the vab security class, ignore them
harder than we did before
2001-09-28 14:09:21 +00:00
Derrick Brashear
0c0cc07c76 afs-lookup-put-back-vcache-entry-on-failed-evalmountpoint-20010927
based on observations of effects related to
afs-lookup-check-evalmountpoint-return-20010221 and affirmed based on
mail from Todd_DeSantis@transarc.com

this should reduce but perhaps not eliminate the VLRU cycle: increase
-stat parameter problem on Linux as it's not yet clear that this is the
only problem and circumstantially it is probably not.
2001-09-27 18:37:49 +00:00
Derrick Brashear
0cbe03ec4b afs-client-inline-bulkstatus-rpc-support-20010926
this cuts rpc traffic in half for directories on which you have
no permissions and is capable of doing more if a useful way can
be conceived of caching errors.

currently bulkstat works thus:
say a directory has 100 files. bulkstat will on the first hit stat
the first 30 files, integrating the information if successful,
and when you hit file 31, repeat. meaning if you can read that 100 files
is 4 bulkstatus rpcs (3*30+10). if you can't, you do bulkstatus, get an abort,
then do fetchstatus on the file and find out why you lost. you go on and
try bulkstatus again this time for files 2-31 instead of 1-30. same failure,
meaning you do 2N rpcs for the N files. inlinebulk doesn't abort but instead
fills in stat info for any of the up to 30 files it can, and errors for
any it can't.

currently the client will pull out any stat info filled in,
and then return the error from the first file, meaning if you can't
read the directory we do N inlinebulk rpcs instead of N bulkstatus +
N fetchstatus rpcs. if the errors for the other 29 could be meaningfully
cached (and you have to be careful not to pollute information
such that it's not useful for someone in a different auth context) then
we could get down to the same 4 rpcs we have for success, but that's an
exercise for later give how the cache manager works.

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

create audit event for inlinebulk

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

rename spare2
2001-09-27 03:16:36 +00:00
Jim Rees
eaef8cb34c fix-locks-for-openbsd-20010926
don't confuse direct with dirent
use curproc instead of cur_proc()
2001-09-26 22:49:33 +00:00
Derrick Brashear
98c1c1df9e bos-avoid-false-errors-when-salvaging-20010926
there were some cases where we falsely reported the BZNOENT from salvage-tmp
being cleanup up as "bos: failed to start 'salvager' (no such entity)"..
despite having just reported:
bos: salvage completed

this should no longer happen.
2001-09-26 16:28:22 +00:00
Nickolai Zeldovich
f8a3fb704e allow-namei-fileservers-to-use-directories-instead-of-partitions-for-vicep-20010924
-- /vicepX/AFSIDat/README is created the first time the fileserver
    is started, rather than the second time.

 -- For the namei fileserver, /vicepa/Lock/vicepa is created as
    the lockfile.  Previously, on Solaris, the raw device was
    was being used for LockPartition(), and that breaks when
    there isn't a corresponding device.

 -- The VolPartitions and XVolPartitions volserver calls now return
    the list of attached (rather than mounted) partitions.  This is
    consistent with the NT fileserver and removes duplicate code.

The actual magic for allowing the fileserver to attach non-mounted
partitions is to create /vicepX/AlwaysAttach.

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

carefully avoid non vicep directories and/or partitions as it may get upset at
automounters or running cachemanagers!

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

more carefully avoid non-vicepX partitions
2001-09-26 01:02:46 +00:00