Nickolai Zeldovich [Thu, 28 Feb 2002 06:34:15 +0000]
Use AFS_RXDEADTIME instead of hardcoding a value of 50
Mattias Amnefelt [Thu, 28 Feb 2002 06:10:47 +0000]
afs-servers-use-rx-setnojumbo-interface-
20020228
use rx library interface instead of tweaking in each program
Nathan Neulinger [Thu, 28 Feb 2002 06:08:10 +0000]
afs-rx-enable-locks-cleanup-
20020228
use RX_AFS_GLOCK macros instead of ifdef wrappers
Nathan Neulinger [Thu, 28 Feb 2002 06:05:14 +0000]
vnop-lookup-fix-putvcache-calls-to-match-prototype-
20020228
provide unused 2nd arg to putvcache
Nathan Neulinger [Tue, 26 Feb 2002 23:35:26 +0000]
Really apply improve-type-safety-and-prototype-matching-
20020226.
Somehow only the first 128K of afsfileprocs.c got copied over before.
Nathan Neulinger [Tue, 26 Feb 2002 23:26:36 +0000]
Make the SRXAFS_* functions match prototypes by taking an
rx_call instead of rx_connection, and make CallPreamble()
type-safe by taking two arguments instead of magically
turning an rx_call into rx_connection.
Nickolai Zeldovich [Tue, 26 Feb 2002 22:53:59 +0000]
Fix more build problems due to prototypes produced by rxgen.
Nathan Neulinger [Tue, 26 Feb 2002 16:47:33 +0000]
comerr-fix-objdir-builds-after-sun-make-change-
20020226
use lex source from srcdir
Nickolai Zeldovich [Tue, 26 Feb 2002 16:44:54 +0000]
ubik_tid and ubik_version now come from ubik-int.h
Nickolai Zeldovich [Mon, 25 Feb 2002 09:31:08 +0000]
Fix some of the fallout from having rxgen-fabricated prototypes.
Nickolai Zeldovich [Sat, 23 Feb 2002 09:38:11 +0000]
Make sure we have enough memory to allocate the return list.
Nickolai Zeldovich [Fri, 22 Feb 2002 09:00:36 +0000]
Fix minor build errors, and rename the dumpId argument of butc's
DeleteDump to avoid collision with budb's #define dumpId.
Nickolai Zeldovich [Fri, 22 Feb 2002 08:58:20 +0000]
Always verify that the client is fully reachable before talking
to it, in the fileserver. This prevents some additional lossage
cases with poorly-connected clients.
Disable same feature for other Rx services, since they don't
need to incur extra RTT delay.
Nickolai Zeldovich [Fri, 22 Feb 2002 08:03:30 +0000]
Fix build when INSTRUMENT_LOCKS isn't defined
David Howells [Wed, 13 Feb 2002 04:09:14 +0000]
rxgen-generate-function-prototypes-
20020212
actually from David Howells of Red Hat.
generates function prototypes in rxgen-emitted headers
Derrick Brashear [Thu, 21 Feb 2002 07:07:52 +0000]
test-suite-run-script-make-setup-not-use-localcell-inadvertantly-
20020221
was a case where we could end up testing "localcell" by accident
Derrick Brashear [Thu, 21 Feb 2002 06:31:13 +0000]
test-suite-update-ka-database-
20020221
cached copy that works
Derrick Brashear [Thu, 21 Feb 2002 06:25:34 +0000]
bos-listkeys-fix-test-
20020221
cksum can be either number
Derrick Brashear [Thu, 21 Feb 2002 06:06:00 +0000]
test-suite-run-tests-export-shell-
20020221
set $SHELL to override whatever your shell sets
Derrick Brashear [Thu, 21 Feb 2002 05:18:35 +0000]
test-suite-updates-
20020221
minor tweaks found making solaris work
Derrick Brashear [Thu, 21 Feb 2002 05:15:28 +0000]
test-suite-make-sure-test-script-is-executable-
20020221
since configure creates the script, just chmod it
Derrick Brashear [Thu, 21 Feb 2002 04:29:22 +0000]
back-out-bosserver-dont-enforce-world-readability-on-server-etcdir-
20011126
on a server where bosserver sets up /usr/vice/etc with symlinks, the links are
/usr/vice/etc/* -> /usr/afs/etc/*
oops
Jaroslaw Polok [Tue, 19 Feb 2002 19:23:46 +0000]
pam-makefile-fix-dependancies-
20020219
the rest of the patch is already in CVS but missed being pulled up to 1.2.3
Derrick Brashear [Tue, 19 Feb 2002 18:29:16 +0000]
test-suite-solaris-fixes-plus-some-kaserver-glue-
20020216
make it all build on solaris. provide necessary files to set up a kaserver
and authenticate against it (albeit with "known" keys)
Derrick Brashear [Tue, 19 Feb 2002 09:14:54 +0000]
makefile-use-filename-instead-of-dollar-questionmark-
20020219
at least some versions of sun make try to run this as
lex -t ex_lex.lex.l ex_lex.lex.l instead of lex -t ex_lex.lex.l
Derrick Brashear [Mon, 18 Feb 2002 21:09:47 +0000]
dir-create-initialize-null-to-avoid-drelease-on-garbage-
20020218
if FindItem returns without setting previtem this is never initialized
Chaskiel M Grundman [Sat, 16 Feb 2002 18:23:44 +0000]
freebsd-almost-working-client-
20020216
a) a freebsd client that compiles, and to a certain extent, works. Should
not be used except by people doing freebsd client development
b) configure glue for freebsd 4.3, 4.4, and 4.5
c) freebsd tfileserver support. Note that, by default, this isn't very
interesting, as the supported freebsd pthreads are just as cooperative as
LWP. if you install the linuxthreads port and swap the MT_* variables in
osconf.m4, you will get a more traditional tfileserver though. configure
glue for that will be forthcoming at some point.
d) a maybe-fix that sets sin_len in sockaddrs on platforms that have them.
(and also a fix for the AC_PROG_CC issue which affects autoconf 2.13 and 2.5x
on same conf files issue)
Derrick Brashear [Sat, 16 Feb 2002 18:09:26 +0000]
test-suite-solaris-fixes-plus-some-kaserver-glue-
20020216
make it all build on solaris. provide necessary files to set up a kaserver
and authenticate against it (albeit with "known" keys)
Derrick Brashear [Fri, 15 Feb 2002 14:00:39 +0000]
linux-osi-alloc-up-alloc-sem-while-alloc-to-avoid-deadlock-against-glock-
20020215
Based on report from David Howells of RedHat (via Guy Streeter)
Nickolai Zeldovich [Fri, 15 Feb 2002 05:07:13 +0000]
Use autoconf to check for p_corefile in struct proc, rather than
assuming it exists in Solaris 7 and above; nneul@umr.edu reports
that it doesn't for some kernel revision.
Derrick Brashear [Fri, 15 Feb 2002 04:38:59 +0000]
rx-event-deal-with-gcc-296-this-time-for-sure-
20020214
somehow i suspect one of our platforms doesn't do volatile and i'll
regret this, but this stops linux i386 when afs_int32 is an int from
going off into la-la land when an Rx retransmit is needed
Derrick Brashear [Fri, 15 Feb 2002 04:23:24 +0000]
rx-clock-cast-comparison-macros-to-int-
20020212
gcc 2.96 appears to miscompile these
====================
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.
====================
undo. the bug was a little more subtle and my debugging code masked it
Ted Anderson [Wed, 13 Feb 2002 20:00:18 +0000]
vol-salvage-add-missing-parameter-to-logging-
20020213
bad trace statement due to missing parameter; added
Laura Stentz [Wed, 13 Feb 2002 09:37:59 +0000]
afsweb-add-netscape-config-script-
20020213
this was omitted from the original release and now can be included
Nathan Neulinger [Wed, 13 Feb 2002 04:00:57 +0000]
viced-printinode-returns-string-not-number-
20020212
based on feedback from ota@transarc.com
PrintInode returns a string, use it
Nickolai Zeldovich [Fri, 8 Feb 2002 19:50:00 +0000]
Allow AFS to shutdown on Solaris (and subsequently be reloaded
and restarted). Still leaks memory, unlike the Linux module.
Hartmut Reuter [Fri, 8 Feb 2002 17:28:44 +0000]
Don't grab tdc->lock when tdc is null.
Nickolai Zeldovich [Fri, 8 Feb 2002 07:05:34 +0000]
Properly AFS_GUNLOCK() when returning an error after having previously
AFS_GLOCK()'ed, in afs_mount() and afs_unmount().
Nickolai Zeldovich [Thu, 7 Feb 2002 03:07:23 +0000]
Include linux/sysctl.h after afsconfig.h, since we need the
modversion stuff first.
Kris Van Hees [Thu, 7 Feb 2002 00:06:35 +0000]
linux-provide-sysctl-interface-
20020206
provide sysctl interface for toggling module state. provide hooks for
all currently known tweakable items
Nickolai Zeldovich [Wed, 6 Feb 2002 23:57:44 +0000]
solaris-p-crlock-not-safe-to-hold-across-call-to-crset-
20020206
crset() expects p_crlock to not be held when it's called; deal accordingly
Derrick Brashear [Tue, 5 Feb 2002 21:58:03 +0000]
newvolumebyname-analyze-the-vrequest-actually-used-
20020205
it's ok to support a null request being passed in, but if a real one is
passed in we shouldn't analyze it when it's not the one we used when
making calls.
Nickolai Zeldovich [Sat, 2 Feb 2002 18:33:49 +0000]
Add the necessary includes for AFS_ISGLOCK, AFS_GLOCK, AFS_GUNLOCK.
Hartmut Reuter [Fri, 1 Feb 2002 22:12:51 +0000]
viced-callback-avoid-potential-looping-problem-
20020201
avoid case where we never come out of loop attempting to clear host cvallbacks
Nickolai Zeldovich [Fri, 1 Feb 2002 20:29:59 +0000]
First pass at better signal handling:
-- Add afs_osi_SleepSig, which returns EINTR when interrupted by signal.
-- Similar CV_WAIT_SIG for Rx code.
-- Implement afs_osi_SleepSig and CV_WAIT_SIG for Linux, Solaris.
-- Use afs_osi_SleepSig in afs_{UFS,Mem}Read, allowing user to interrupt
an AFS read if it's being handled by background daemon.
-- Balance the number of open & close braces in CV_TIMEDWAIT macros,
even though noone uses them.
-- Untangle parts of the macro forest by moving some of the Rx CV code
into rx_kmutex.c.
Nickolai Zeldovich [Wed, 30 Jan 2002 21:13:48 +0000]
Block signals when sleeping in CV_WAIT() and CV_TIMEDWAIT(), similar
to the linux-avoid-signal-wakeups-while-sleeping-
20020129 change for
afs_osi_Sleep().
Nickolai Zeldovich [Wed, 30 Jan 2002 16:16:23 +0000]
Avoid deadlocking with afs_ResetVolumeInfo in InstallVolumeInfo and
InstallNVolumeInfo, like we already do in InstallUVolumeInfo.
Derrick Brashear [Tue, 29 Jan 2002 22:34:13 +0000]
readd-t-uniq-bad-as-binary-
20020129
oops
Nickolai Zeldovich [Tue, 29 Jan 2002 17:36:20 +0000]
Block all signals while sleeping; this prevents 100% cpu usage
when a process waiting for an afs operation to complete receives
a signal.
Nickolai Zeldovich [Tue, 29 Jan 2002 17:26:26 +0000]
Properly release GLOCK when trying to mount AFS a second time.
Nickolai Zeldovich [Tue, 29 Jan 2002 16:07:27 +0000]
Use filemap_fdata{sync,wait} directly (available in 2.4.5 and above)
rather than write_inode_now(), which steals afs inodes and puts them
on the global inode lists.
Derrick Brashear [Mon, 28 Jan 2002 21:32:20 +0000]
configure-add-darwin-52-support-as-14-since-no-change-otherwise-
20020128
it was previously agreed that we wouldn't add gratuitous new sysnames unless things
(not just what the vendor calls the operating system) changed. precedent is
sun4m_412 still being "current" for sun4m_413, etc.
Nickolai Zeldovich [Sat, 26 Jan 2002 03:40:30 +0000]
rx-dont-include-arraysize-in-offsetof-
20020125
so this compiles on irix
Derrick Brashear [Thu, 24 Jan 2002 20:13:22 +0000]
linux-afsd-pids-block-signals-so-we-dont-need-to-flush-
20020124
no point in keeping this around
David Howells [Thu, 24 Jan 2002 18:09:28 +0000]
linux-conf-fix-type-which-crept-in-
20020124
"oops"
Derrick Brashear [Thu, 24 Jan 2002 10:46:42 +0000]
solaris-rx-shutdown-sleep-only-if-listener-pid-not-freed-
20020124
replace if with while in case the listener is freed before we call sleep
Derrick Brashear [Thu, 24 Jan 2002 10:42:34 +0000]
linux-unmask-signals-in-rxk-listener-at-shutdown-
20020124
since the rxk listener gets "kill"d at shutdown we need to unmask to wake
it up. this should probably be replaced but the logical way is evil,
involves simulating a packet to the listener so it wakes up and notices it's
time to die
Derrick Brashear [Thu, 24 Jan 2002 10:09:13 +0000]
linux-cant-daemonize-due-to-exit-mm-call-oh-well-
20020124
the call to daemonize() means we fail to shut down correctly on SMP machines;
this is due to the call to exit_mm() in daemonize()
Derrick Brashear [Wed, 23 Jan 2002 19:27:39 +0000]
linux-rework-signal-blocking-for-afsdb-handler-and-clean-up-osi-invisible-before-im-completely-blind-
20020123
based on suggestion from kolya@mit.edu
and osi_Invisible cleanup so ifdef logic would be more clear
Derrick Brashear [Wed, 23 Jan 2002 18:49:59 +0000]
linux-use-while-loop-and-also-do-it-for-22-waiting-to-close-socket-
20020123
while loop idea from chas@cmf.nrl.navy.mil
reminder that we should worry about 2.2 from somkar@in.ibm.com
Omkar Sathe [Wed, 23 Jan 2002 18:48:18 +0000]
solaris-wait-for-listenerproc-to-exit-
20020123
like linux, actually wait for listenerproc to finish before freeing the socket
Derrick Brashear [Wed, 23 Jan 2002 09:21:54 +0000]
rework-linux-newvcache-clean-up-dentries-
20020123
previous pass wasn't SMP-happy. rework closer to original code.
Chaskiel M Grundman [Wed, 23 Jan 2002 07:55:08 +0000]
linux-afsd-ignore-signals-
20020123
ignore signals sent to afsd on linux instead of running out of control
also daemonize ourselves
Derrick Brashear [Wed, 23 Jan 2002 05:09:11 +0000]
linux24-add-configure-glue-for-new-inode-fields-
20020108
sure would be nice if it compiled
Derrick Brashear [Wed, 23 Jan 2002 00:43:35 +0000]
linux-use-results-of-all-inode-configure-tests-
20020122
we tested for and then failed to use things before
Nathan Neulinger [Tue, 22 Jan 2002 23:31:06 +0000]
hpux11-wants-system-ar-
20020122
gnu ar hates empty .o files
Nickolai Zeldovich [Tue, 22 Jan 2002 05:51:19 +0000]
linux-fix-mmap-write-
20020122
a MAP_SHARED write wasn't being flushed back to the server
Love Hörnquist-Åstrand [Mon, 21 Jan 2002 19:34:18 +0000]
rx-cvsignore-rxperf-
20020121
cvs shpuld ignore rxperf
Nickolai Zeldovich [Mon, 21 Jan 2002 18:05:26 +0000]
rx-cleanup-deadlock-and-refcnt-leak-
20020121
The first part of the patch fixes a likely deadlock in the
case when we're destroying a client connection with active
calls.
The second part fixes a minor connection refcount leak in
my recent modification to protect against half-reachable
clients.
Matthew N. Andrews [Mon, 21 Jan 2002 10:24:12 +0000]
source-map-
20020121
with modifications by shadow@dementia.org
a guide to what's where in the OpenAFS source
====================
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.
====================
with modifications by shadow@dementia.org
a guide to what's where in the OpenAFS source
this time the right file. a sure sign that it's bedtime.
Derrick Brashear [Mon, 21 Jan 2002 09:14:21 +0000]
i-hate-autoconf-
20020120
AC_PROG_CC not safe to call this early
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 10:35:21 +0000]
rx-cleanup-gettimeofday-use-
20020120
don't blindly make assumptions about gettimeofday
====================
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.
====================
redo in a way that doesn't screw up with respect to libafsrpc and libafsrpc-
using suites
====================
redo in a way that doesn't screw up with respect to libafsrpc and libafsrpc-
using suites
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 08:04:44 +0000]
alpha-netbsd-param-fixes-
20020120
make alpha little endian and remove duplicate define
Derrick Brashear [Sun, 20 Jan 2002 05:42:28 +0000]
revert-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-
20020120
causes problems at minimum for linux
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 05:19:08 +0000]
des-support-alpha-bsd-and-fix-test-programs-
20020119
All BSDs are not I386s.
Also include a patch that make sure that data are alligned on alpha. All
bsd's will fix it up in kernel when used, but you'll get a huge performace
penalty
Use afs_int32 in the des programs to make sure they work and make them
build again.
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 02:17:12 +0000]
rxkad-make-stress-compile-again-
20020119
Make stress compile again.
Love Hörnquist-Åstrand [Sat, 19 Jan 2002 16:31:25 +0000]
bosserver-nofork-
20020119
Make it easier to debug bosserver by adding a -nofork flag for the !nt40
env's.
Nickolai Zeldovich [Sat, 19 Jan 2002 16:28:33 +0000]
rx-protect-servers-from-half-reachable-clients-
20020119
This patch should protect Rx-based servers from half-reachable clients,
which issue requests but don't acknowledge the server's response, thereby
eventually tying up all of the server threads, and denying service to all
other clients. Such clients can arise in case of uni-directional routing
failures, whereby all packets from the server to client are lost but not
the other way around.
The idea it to ping clients (using Rx ack ping) before attaching them to
a thread, if (a) we're running low on threads, and (b) the client hasn't
responsed to a ping recently.
Love Hörnquist-Åstrand [Sat, 19 Jan 2002 09:25:19 +0000]
alpha-cleanup-
20020119
make alpha AFS_64BIT_ENV
Avoid warning by not passing data inside a pointer in the test program rw.
Provide compatibility symbols for those w/o preempt hack so its possible to
link test program `rw'.
When comparing to lwp_cpptr->statcheck, cast to int, since that is the type
of lwp_cpptr->statcheck. It may be the case that sizeof(int) !=
sizeof(afs_int32), but then other things will break too.
clean tests with -f
====================
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.
====================
and unbreak linux
Love Hörnquist-Åstrand [Sat, 19 Jan 2002 09:21:12 +0000]
des-fix-make-p-table-on-alpha-
20020119
if printing with a long (l) unsigned (X), make sure to pass such a value as
an argument (p_prime is of int type on alpha).
Love Hörnquist-Åstrand [Fri, 18 Jan 2002 21:03:32 +0000]
bozo-misc-cleanup-
20020118
- remove bos_util and install it
- ignore it
Love Hörnquist-Åstrand [Fri, 18 Jan 2002 20:59:26 +0000]
netbsd-alpha-more-patches-
20020118
get closer to server working
Nickolai Zeldovich [Fri, 18 Jan 2002 18:47:00 +0000]
largefile-dump-support-
20020118
64bit file support for vos dump
Love Hörnquist-Åstrand [Fri, 18 Jan 2002 18:45:27 +0000]
netbsd-alpha-start-at-server-support-
20020118
not ready yet
adds the concept of a common OS param file
Derrick Brashear [Thu, 17 Jan 2002 10:49:35 +0000]
test-suite-update-README-
20020117
reflect new test, ordering
Derrick Brashear [Thu, 17 Jan 2002 10:47:20 +0000]
testsuite-arrange-for-bad-volume-dump-to-be-in-useful-location-
20020117
since we run the script not from the script dir we need to know where it lives, or do this.
Derrick Brashear [Thu, 17 Jan 2002 10:43:28 +0000]
top-makefile-build-runtests-
20020117
make top makefile/configure build run-tests
Derrick Brashear [Thu, 17 Jan 2002 10:10:37 +0000]
test-suite-frontend-mkdir-afs-
20020117
mkdir /afs in case
Derrick Brashear [Thu, 17 Jan 2002 09:33:06 +0000]
test-suite-create-cachedir-
20020117
take care of case where no cache dir exists yet
Derrick Brashear [Thu, 17 Jan 2002 09:24:18 +0000]
test-suite-check-for-salvager-correctly-getting-a-bad-uniquifier-
20020117
there are cases where a vnode has a uniq which is different than that in the parent. the salvager should clean it up.
Derrick Brashear [Thu, 17 Jan 2002 07:52:31 +0000]
testsuite-frontend-restart-bosserver-
20020117
so bosserver rereads configs
Derrick Brashear [Thu, 17 Jan 2002 07:25:52 +0000]
suite-be-less-verbose-
20020117
toss more output in the non-verbose case
Derrick Brashear [Thu, 17 Jan 2002 06:47:28 +0000]
ka-util-differently-useless-
20020117
drop state here
Derrick Brashear [Thu, 17 Jan 2002 05:08:45 +0000]
test-script-substitute-fs-path-
20020117
don't assume /usr/local/bin
Derrick Brashear [Thu, 17 Jan 2002 05:01:57 +0000]
update-suite-frontend-
20020117
fix to use the defined mechanisms to set up bos foo
Derrick Brashear [Thu, 17 Jan 2002 02:26:16 +0000]
test-suite-pick-up-replica-of-root-afs-
20020116
run in replicated root
Nickolai Zeldovich [Wed, 16 Jan 2002 22:02:36 +0000]
rx-dont-challenge-forever-
20020116
don't repeat challenges forever. give up after 50 tries
Derrick Brashear [Wed, 16 Jan 2002 09:27:04 +0000]
nfs-translator-call-lookup-with-correct-form-of-dir-
20020116
based on information from Kris Van Hees
still untested
Derrick Brashear [Wed, 16 Jan 2002 09:23:46 +0000]
introduce-ka-util-
20020116
the start of a tool to write out a kaserver database. currently dumps but
cannot create a kaserver.DB0
Jeffrey Hutzelman [Wed, 16 Jan 2002 02:16:26 +0000]
vos-extra-info-but-disabled-
20020115
extra info in vos examine, but disabled until we figure out a way
not to irritate things which parse vos examine output