openafs.git
22 years agoZero out the "allocated" flag so that we don't accidentally
Nathan Neulinger [Thu, 14 Mar 2002 19:50:48 +0000]
Zero out the "allocated" flag so that we don't accidentally
free something that wasn't allocated.

22 years agosolaris-vfsck-allow-force-runs-when-old-inodes-exist-20020310
Derrick Brashear [Sun, 10 Mar 2002 19:26:41 +0000]
solaris-vfsck-allow-force-runs-when-old-inodes-exist-20020310

if running with -y report old inodes and continue anyway

22 years agorevert-part-of-linux-dcache-inconsistency-fix-20020115
Derrick Brashear [Sun, 10 Mar 2002 19:23:38 +0000]
revert-part-of-linux-dcache-inconsistency-fix-20020115

may revisit this before release; however, open_namei on 2.2 wants a
dentry returned to it and so without this change, creating files in
afs breaks

22 years agorxgen-prototypes-fixes-20020310
Love Hörnquist-Åstrand [Sun, 10 Mar 2002 19:07:56 +0000]
rxgen-prototypes-fixes-20020310

prototype fixes as fallout from rxgen header prototypes

emit server stubs which include header as well

22 years agonetbsd-allow-param-file-inclusion-20020310
Love Hörnquist-Åstrand [Sun, 10 Mar 2002 18:44:22 +0000]
netbsd-allow-param-file-inclusion-20020310

fix param files so ifdef error does not preclude inclusion at all

22 years agoafsmonitor-strcasestr-in-freebsd-not-netbsd-20020310
Love Hörnquist-Åstrand [Sun, 10 Mar 2002 18:41:52 +0000]
afsmonitor-strcasestr-in-freebsd-not-netbsd-20020310

1.5 and current have no strcasestr

22 years agoconfigure-allow-kernel-debugging-support-20020310
Derek Atkins [Sun, 10 Mar 2002 18:39:45 +0000]
configure-allow-kernel-debugging-support-20020310

currently for linux only, but allow it for others in the future

22 years agowinnt-deal-with-compiler-packing-20020310
Yee Jiun [Sun, 10 Mar 2002 18:24:16 +0000]
winnt-deal-with-compiler-packing-20020310

use pragmas to hit compiler into packing smb_tran2QFSInfo usefully

22 years agoviced-call-safss-functions-with-acall-not-tcon-20020307
Nickolai Zeldovich [Fri, 8 Mar 2002 06:08:05 +0000]
viced-call-safss-functions-with-acall-not-tcon-20020307

based on report from mattiasa@e.kth.se who has the following feedback from
lha@e.kth.se:
Patch from Love to make filserver not loop on MUTEX_ENTER() in
  rx_SetSpecific()

22 years agofreebsd-use-fake-refs-to-hold-inodes-20020307
Chaskiel M Grundman [Fri, 8 Mar 2002 06:03:34 +0000]
freebsd-use-fake-refs-to-hold-inodes-20020307

unlike macos x a fake ref works for freebsd

22 years agomakefiles-dont-hardcode-optimization-flags-20020307
Mattias Amnefelt [Fri, 8 Mar 2002 05:59:32 +0000]
makefiles-dont-hardcode-optimization-flags-20020307

allow setting optimization in CFLAGS in makefiles

use -g3 on tru64

22 years agofix-stats-structure-ordering-20020307
Derrick Brashear [Fri, 8 Mar 2002 05:48:54 +0000]
fix-stats-structure-ordering-20020307

report from jhutz@cmu.edu says client-64bit-file-size-support-20011031
 was broken in this way

22 years agolinux24-fix-memcache-20020307
Derek Atkins [Fri, 8 Mar 2002 04:57:56 +0000]
linux24-fix-memcache-20020307

The problem is that on 2.4 the 'code' variable is over-written during
the path walk, such that by the time it's checking if the inode
exists, code is already '0'.  But if the inode does not exist, code
should be ENOENT to show that the file does not exist.

22 years agodux-make-namei-fileserver-work-20020304
Mattias Amnefelt [Mon, 4 Mar 2002 16:47:22 +0000]
dux-make-namei-fileserver-work-20020304

namei should now work on tru64 (tested on 5.0a)

22 years agodux-autoconf-tweaks-20020228
Mattias Amnefelt [Mon, 4 Mar 2002 16:44:00 +0000]
dux-autoconf-tweaks-20020228

make tru64 5.0a build work

====================
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 make 4.0d work again as well

22 years agobutc-make-xg-match-code-20020228
Nathan Neulinger [Thu, 28 Feb 2002 20:00:40 +0000]
butc-make-xg-match-code-20020228

this may need to be revisited in the future but in the meantime the rpc stubs match the code

22 years agoUse AFS_RXDEADTIME instead of hardcoding a value of 50
Nickolai Zeldovich [Thu, 28 Feb 2002 06:34:15 +0000]
Use AFS_RXDEADTIME instead of hardcoding a value of 50

22 years agoafs-servers-use-rx-setnojumbo-interface-20020228
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

22 years agoafs-rx-enable-locks-cleanup-20020228
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

22 years agovnop-lookup-fix-putvcache-calls-to-match-prototype-20020228
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

22 years agoReally apply improve-type-safety-and-prototype-matching-20020226.
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.

22 years agoMake the SRXAFS_* functions match prototypes by taking an
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.

22 years agoFix more build problems due to prototypes produced by rxgen.
Nickolai Zeldovich [Tue, 26 Feb 2002 22:53:59 +0000]
Fix more build problems due to prototypes produced by rxgen.

22 years agocomerr-fix-objdir-builds-after-sun-make-change-20020226
Nathan Neulinger [Tue, 26 Feb 2002 16:47:33 +0000]
comerr-fix-objdir-builds-after-sun-make-change-20020226

use lex source from srcdir

22 years agoubik_tid and ubik_version now come from ubik-int.h
Nickolai Zeldovich [Tue, 26 Feb 2002 16:44:54 +0000]
ubik_tid and ubik_version now come from ubik-int.h

22 years agoFix some of the fallout from having rxgen-fabricated prototypes.
Nickolai Zeldovich [Mon, 25 Feb 2002 09:31:08 +0000]
Fix some of the fallout from having rxgen-fabricated prototypes.

22 years agoMake sure we have enough memory to allocate the return list.
Nickolai Zeldovich [Sat, 23 Feb 2002 09:38:11 +0000]
Make sure we have enough memory to allocate the return list.

22 years agoFix minor build errors, and rename the dumpId argument of butc's
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.

22 years agoAlways verify that the client is fully reachable before talking
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.

22 years agoFix build when INSTRUMENT_LOCKS isn't defined
Nickolai Zeldovich [Fri, 22 Feb 2002 08:03:30 +0000]
Fix build when INSTRUMENT_LOCKS isn't defined

22 years agorxgen-generate-function-prototypes-20020212
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

22 years agotest-suite-run-script-make-setup-not-use-localcell-inadvertantly-20020221 openafs-devel-1_3_1
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

22 years agotest-suite-update-ka-database-20020221
Derrick Brashear [Thu, 21 Feb 2002 06:31:13 +0000]
test-suite-update-ka-database-20020221

cached copy that works

22 years agobos-listkeys-fix-test-20020221
Derrick Brashear [Thu, 21 Feb 2002 06:25:34 +0000]
bos-listkeys-fix-test-20020221

cksum can be either number

22 years agotest-suite-run-tests-export-shell-20020221
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

22 years agotest-suite-updates-20020221
Derrick Brashear [Thu, 21 Feb 2002 05:18:35 +0000]
test-suite-updates-20020221

minor tweaks found making solaris work

22 years agotest-suite-make-sure-test-script-is-executable-20020221
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

22 years agoback-out-bosserver-dont-enforce-world-readability-on-server-etcdir-20011126
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

22 years agopam-makefile-fix-dependancies-20020219
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

22 years agotest-suite-solaris-fixes-plus-some-kaserver-glue-20020216
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)

22 years agomakefile-use-filename-instead-of-dollar-questionmark-20020219
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

22 years agodir-create-initialize-null-to-avoid-drelease-on-garbage-20020218
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

22 years agofreebsd-almost-working-client-20020216 openafs-devel-1_3_0
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)

22 years agotest-suite-solaris-fixes-plus-some-kaserver-glue-20020216
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)

22 years agolinux-osi-alloc-up-alloc-sem-while-alloc-to-avoid-deadlock-against-glock-20020215
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)

22 years agoUse autoconf to check for p_corefile in struct proc, rather than
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.

22 years agorx-event-deal-with-gcc-296-this-time-for-sure-20020214
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

22 years agorx-clock-cast-comparison-macros-to-int-20020212
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

22 years agovol-salvage-add-missing-parameter-to-logging-20020213
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

22 years agoafsweb-add-netscape-config-script-20020213
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

22 years agoviced-printinode-returns-string-not-number-20020212
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

22 years agoAllow AFS to shutdown on Solaris (and subsequently be reloaded
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.

22 years agoDon't grab tdc->lock when tdc is null.
Hartmut Reuter [Fri, 8 Feb 2002 17:28:44 +0000]
Don't grab tdc->lock when tdc is null.

22 years agoProperly AFS_GUNLOCK() when returning an error after having previously
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().

22 years agoInclude linux/sysctl.h after afsconfig.h, since we need the
Nickolai Zeldovich [Thu, 7 Feb 2002 03:07:23 +0000]
Include linux/sysctl.h after afsconfig.h, since we need the
modversion stuff first.

22 years agolinux-provide-sysctl-interface-20020206
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

22 years agosolaris-p-crlock-not-safe-to-hold-across-call-to-crset-20020206
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

22 years agonewvolumebyname-analyze-the-vrequest-actually-used-20020205
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.

22 years agoAdd the necessary includes for AFS_ISGLOCK, AFS_GLOCK, AFS_GUNLOCK.
Nickolai Zeldovich [Sat, 2 Feb 2002 18:33:49 +0000]
Add the necessary includes for AFS_ISGLOCK, AFS_GLOCK, AFS_GUNLOCK.

22 years agoviced-callback-avoid-potential-looping-problem-20020201
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

22 years agoFirst pass at better signal handling:
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.

22 years agoBlock signals when sleeping in CV_WAIT() and CV_TIMEDWAIT(), similar
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().

22 years agoAvoid deadlocking with afs_ResetVolumeInfo in InstallVolumeInfo and
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.

22 years agoreadd-t-uniq-bad-as-binary-20020129
Derrick Brashear [Tue, 29 Jan 2002 22:34:13 +0000]
readd-t-uniq-bad-as-binary-20020129

oops

22 years agoBlock all signals while sleeping; this prevents 100% cpu usage
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.

22 years agoProperly release GLOCK when trying to mount AFS a second time.
Nickolai Zeldovich [Tue, 29 Jan 2002 17:26:26 +0000]
Properly release GLOCK when trying to mount AFS a second time.

22 years agoUse filemap_fdata{sync,wait} directly (available in 2.4.5 and above)
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.

22 years agoconfigure-add-darwin-52-support-as-14-since-no-change-otherwise-20020128
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.

22 years agorx-dont-include-arraysize-in-offsetof-20020125
Nickolai Zeldovich [Sat, 26 Jan 2002 03:40:30 +0000]
rx-dont-include-arraysize-in-offsetof-20020125

so this compiles on irix

22 years agolinux-afsd-pids-block-signals-so-we-dont-need-to-flush-20020124
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

22 years agolinux-conf-fix-type-which-crept-in-20020124
David Howells [Thu, 24 Jan 2002 18:09:28 +0000]
linux-conf-fix-type-which-crept-in-20020124

"oops"

22 years agosolaris-rx-shutdown-sleep-only-if-listener-pid-not-freed-20020124
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

22 years agolinux-unmask-signals-in-rxk-listener-at-shutdown-20020124
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

22 years agolinux-cant-daemonize-due-to-exit-mm-call-oh-well-20020124
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()

22 years agolinux-rework-signal-blocking-for-afsdb-handler-and-clean-up-osi-invisible-before...
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

22 years agolinux-use-while-loop-and-also-do-it-for-22-waiting-to-close-socket-20020123
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

22 years agosolaris-wait-for-listenerproc-to-exit-20020123
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

22 years agorework-linux-newvcache-clean-up-dentries-20020123
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.

22 years agolinux-afsd-ignore-signals-20020123
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

22 years agolinux24-add-configure-glue-for-new-inode-fields-20020108
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

22 years agolinux-use-results-of-all-inode-configure-tests-20020122
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

22 years agohpux11-wants-system-ar-20020122
Nathan Neulinger [Tue, 22 Jan 2002 23:31:06 +0000]
hpux11-wants-system-ar-20020122

gnu ar hates empty .o files

22 years agolinux-fix-mmap-write-20020122
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

22 years agorx-cvsignore-rxperf-20020121
Love Hörnquist-Åstrand [Mon, 21 Jan 2002 19:34:18 +0000]
rx-cvsignore-rxperf-20020121

cvs shpuld ignore rxperf

22 years agorx-cleanup-deadlock-and-refcnt-leak-20020121
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.

22 years agosource-map-20020121
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.

22 years agoi-hate-autoconf-20020120
Derrick Brashear [Mon, 21 Jan 2002 09:14:21 +0000]
i-hate-autoconf-20020120

AC_PROG_CC not safe to call this early

22 years agorx-cleanup-gettimeofday-use-20020120
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

22 years agoalpha-netbsd-param-fixes-20020120
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

22 years agorevert-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20020120
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

22 years agodes-support-alpha-bsd-and-fix-test-programs-20020119
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.

22 years agorxkad-make-stress-compile-again-20020119
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 02:17:12 +0000]
rxkad-make-stress-compile-again-20020119

Make stress compile again.

22 years agobosserver-nofork-20020119
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.

22 years agorx-protect-servers-from-half-reachable-clients-20020119
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.

22 years agoalpha-cleanup-20020119
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

22 years agodes-fix-make-p-table-on-alpha-20020119
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).

22 years agobozo-misc-cleanup-20020118
Love Hörnquist-Åstrand [Fri, 18 Jan 2002 21:03:32 +0000]
bozo-misc-cleanup-20020118

- remove bos_util and install it
- ignore it

22 years agonetbsd-alpha-more-patches-20020118
Love Hörnquist-Åstrand [Fri, 18 Jan 2002 20:59:26 +0000]
netbsd-alpha-more-patches-20020118

get closer to server working

22 years agolargefile-dump-support-20020118
Nickolai Zeldovich [Fri, 18 Jan 2002 18:47:00 +0000]
largefile-dump-support-20020118

64bit file support for vos dump

22 years agonetbsd-alpha-start-at-server-support-20020118
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