openafs.git
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

22 years agotest-suite-update-README-20020117
Derrick Brashear [Thu, 17 Jan 2002 10:49:35 +0000]
test-suite-update-README-20020117

reflect new test, ordering

22 years agotestsuite-arrange-for-bad-volume-dump-to-be-in-useful-location-20020117
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.

22 years agotop-makefile-build-runtests-20020117
Derrick Brashear [Thu, 17 Jan 2002 10:43:28 +0000]
top-makefile-build-runtests-20020117

make top makefile/configure build run-tests

22 years agotest-suite-frontend-mkdir-afs-20020117
Derrick Brashear [Thu, 17 Jan 2002 10:10:37 +0000]
test-suite-frontend-mkdir-afs-20020117

mkdir /afs in case

22 years agotest-suite-create-cachedir-20020117
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

22 years agotest-suite-check-for-salvager-correctly-getting-a-bad-uniquifier-20020117
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.

22 years agotestsuite-frontend-restart-bosserver-20020117
Derrick Brashear [Thu, 17 Jan 2002 07:52:31 +0000]
testsuite-frontend-restart-bosserver-20020117

so bosserver rereads configs

22 years agosuite-be-less-verbose-20020117
Derrick Brashear [Thu, 17 Jan 2002 07:25:52 +0000]
suite-be-less-verbose-20020117

toss more output in the non-verbose case

22 years agoka-util-differently-useless-20020117
Derrick Brashear [Thu, 17 Jan 2002 06:47:28 +0000]
ka-util-differently-useless-20020117

drop state here

22 years agotest-script-substitute-fs-path-20020117
Derrick Brashear [Thu, 17 Jan 2002 05:08:45 +0000]
test-script-substitute-fs-path-20020117

don't assume /usr/local/bin

22 years agoupdate-suite-frontend-20020117
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

22 years agotest-suite-pick-up-replica-of-root-afs-20020116
Derrick Brashear [Thu, 17 Jan 2002 02:26:16 +0000]
test-suite-pick-up-replica-of-root-afs-20020116

run in replicated root

22 years agorx-dont-challenge-forever-20020116
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

22 years agonfs-translator-call-lookup-with-correct-form-of-dir-20020116
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

22 years agointroduce-ka-util-20020116
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

22 years agovos-extra-info-but-disabled-20020115
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

22 years agolinux-dcache-inconsistency-fix-20020115
Chas Williams [Wed, 16 Jan 2002 02:08:43 +0000]
linux-dcache-inconsistency-fix-20020115

minor rework on a patch from Ted Anderson (ota@transarc.com) to
fit OpenAFS

22 years agolinux-newvcache-clean-up-dentries-20020115
Ted Anderson [Wed, 16 Jan 2002 02:03:49 +0000]
linux-newvcache-clean-up-dentries-20020115

With work and feedback from Omkar Sathe <somkar@in.ibm.com> and
Srikanth Vishwanathan <vsrikanth@in.ibm.com>

22 years agorxi-newcall-avoid-race-20020115
Nickolai Zeldovich [Wed, 16 Jan 2002 00:56:02 +0000]
rxi-newcall-avoid-race-20020115

avoid race when creating new calls

22 years agoopenafs-tools-cmd-20020115
Jeremy Stribling [Wed, 16 Jan 2002 00:49:29 +0000]
openafs-tools-cmd-20020115

Tools for configuring a new cell and for building RPMs of said tools

22 years agotest-suite-updates-20020115
Derrick Brashear [Tue, 15 Jan 2002 19:22:05 +0000]
test-suite-updates-20020115

cleanup all target, get missing headers

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

put perl modules in properly named subdir

22 years agodeal-with-linux-large-uids-20020115
Derrick Brashear [Tue, 15 Jan 2002 17:17:31 +0000]
deal-with-linux-large-uids-20020115

based on feedback from Hartmut Reuter <reuter@rzg.mpg.de>

2.2 headers define the right things for this to work

22 years agotest-suite-cvsignore-20020115
Derrick Brashear [Tue, 15 Jan 2002 16:33:08 +0000]
test-suite-cvsignore-20020115

we need one

22 years agotest-suite-update-20020115
Derrick Brashear [Tue, 15 Jan 2002 16:30:55 +0000]
test-suite-update-20020115

front-end script to tie together the test suite

====================
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 bogus makefile

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

stop bos bnodes before deleting

22 years agotest-suite-pull-tools-directly-in-20020114
Derrick Brashear [Tue, 15 Jan 2002 04:14:51 +0000]
test-suite-pull-tools-directly-in-20020114

move dump tools directly into test suite as that is their intended use

canonical versions of these tools will be distributed otherwise
and may be updated but these provide the minimum functionality

22 years agofunctionality-test-suite-20020114
Derrick Brashear [Mon, 14 Jan 2002 07:49:15 +0000]
functionality-test-suite-20020114

Based on Arla test suite and AFSTools with some other additions;
intended to set up a standalone cell, perform operations

22 years agodumptools-20020113
Jeffrey Hutzelman [Sun, 13 Jan 2002 23:47:17 +0000]
dumptools-20020113

tools for manipulating afs volume dumps

22 years agoalpha-linux-build-fixes-20020113
Steven N . Hirsch [Sun, 13 Jan 2002 17:06:42 +0000]
alpha-linux-build-fixes-20020113

so alpha linux builds work again

22 years agobos-key-utility-20020112
Derrick Brashear [Sat, 12 Jan 2002 21:35:59 +0000]
bos-key-utility-20020112

modification of asetkey to allow manipulation of key files without
a running bosserver (asetkey requires krb4; this does not)

22 years agolinux-remove-hazardous-trace-events-20020111
Derrick Brashear [Fri, 11 Jan 2002 16:44:53 +0000]
linux-remove-hazardous-trace-events-20020111

use of osi_Sleep in tracing code makes this dangerous.

22 years agosolaris-obtain-locks-under-GLOCK-20020101
Nickolai Zeldovich [Thu, 10 Jan 2002 06:42:21 +0000]
solaris-obtain-locks-under-GLOCK-20020101

Fix the two places in Solaris afs_GetOnePage where locks
  are obtained/released without GLOCK.

====================
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 the two places in Solaris afs_GetOnePage where locks
  are obtained/released without GLOCK.

(Fix error in application of patch)

22 years agoREADME-NT-updates-20020108
Jeremy Stribling [Wed, 9 Jan 2002 03:08:16 +0000]
README-NT-updates-20020108

info on how to set up debugging environment and other updates

22 years agolock-tracing-20020108
Nickolai Zeldovich [Tue, 8 Jan 2002 20:54:12 +0000]
lock-tracing-20020108

patches to allow tracing with fstrace of afs locks

22 years agowindows-updates-20010108
James Peterson [Tue, 8 Jan 2002 20:44:31 +0000]
windows-updates-20010108

"1. The default Open AFS is set to normal security (doesn't generate random
user names).
If you are installing over a previous version (before 1.2.2b) it's default
is
high security; therefore, if you want the normal security, you should
uninstall the previous version (1.2.2a or earlier) and select to 'Not
Preserve previous settings'.

To manually change security you need to set the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemond\NetworkProvider
     LogonOptions = 1 - Integrated Logon
     LogonOptions = 2 - High Security options, Random User name generation
     LogonOptions = 3 - both

3. Windows 2000/NT, Win9x - First time installations will create necessary
directories when user decides to download CellServDB

4. Windows 2000/NT, Global Drive working.

5. Windows XP - Drive mapping via GUI working.

6. Rename pthread.dll to afspthread.dll"

22 years agolinux24-add-configure-glue-for-new-inode-fields-20020108
Derrick Brashear [Tue, 8 Jan 2002 20:41:11 +0000]
linux24-add-configure-glue-for-new-inode-fields-20020108

based on report from cg@cdegroot.com

22 years agoupdate-readme-devel-for-parallel-make-hints-20020101
Nathan Neulinger [Wed, 2 Jan 2002 04:12:20 +0000]
update-readme-devel-for-parallel-make-hints-20020101

suggestions which make parallel make easier to support

22 years agovlserver-remove-duplicate-targets-20020101
Nickolai Zeldovich [Wed, 2 Jan 2002 04:08:37 +0000]
vlserver-remove-duplicate-targets-20020101

"duplicates seem to confuse /usr/bin/make on MacOSX"

22 years agonetbsd-initial-support-20020101
Love Hörnquist-Åstrand [Tue, 1 Jan 2002 21:02:50 +0000]
netbsd-initial-support-20020101

update parameters so it will build

22 years agolinux-sparc-24-kernel-support-20020101
Mark W. Eichin [Tue, 1 Jan 2002 19:09:59 +0000]
linux-sparc-24-kernel-support-20020101

config for linux 2.4 kernels on sparc

22 years agoacinclude-update-for-new-darwin-version-strings-20020101
Ted McCabe [Tue, 1 Jan 2002 19:01:54 +0000]
acinclude-update-for-new-darwin-version-strings-20020101

so we can build for new darwin versions

22 years agonetbsd-server-support-20020101
Love Hörnquist-Åstrand [Tue, 1 Jan 2002 18:57:18 +0000]
netbsd-server-support-20020101

support for fileserver (namei) on netbsd

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

like openbsd, stripping on netbsd strips libraries

22 years agolinux-osi-sleep-avoid-forgetting-events-20020101
Chas Williams [Tue, 1 Jan 2002 18:49:18 +0000]
linux-osi-sleep-avoid-forgetting-events-20020101

based on suggestion from Ted Anderson
"the changes make more sense
than the code as it currently exists.  the only think i am nervous
about is the dontSleep delete.  while it makes more sense to just
not wakeup sleepers if none exist, i suppose its possible that
some bit of afs code wants acausal (wake before sleep) events.
that does seem quite unlikely.  just looking at the sleep on
solaris, it checks the seq number to get the next event not
a previous event.

i imported the changes and make the fixup in osi_stoplistener().
i dropped some of the silly syntax changes that junked up the
diff -- this makes it a bit easier to see what was changed.
i just added an assert in afs_addevent for quality assurance
purposes."

====================
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 for osi_StopListener so it does the rigth thing

22 years agolinux22-also-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc...
Nickolai Zeldovich [Sun, 30 Dec 2001 00:07:02 +0000]
linux22-also-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc-fails-20011229

linux 2.2 lacks set_current_state. currently in 2.4 it's a definition and not a real function, so this will work

22 years agolinux-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc-fails...
David Howells [Tue, 25 Dec 2001 18:19:20 +0000]
linux-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc-fails-20011225

"The first is to change the gfp_mask passed to kmalloc(). Using GFP_KERNEL,
  it is possible that the VM will call back to the filesystem to free up
  memory to satisfy the kmalloc request. GFP_NOFS will prevent this possible
  recursion. I believe GFP_NOFS first appeared in the 2.4.6 kernel.

  The second change involves the call to schedule() when vmalloc() fails. This
  can also cause a hang. The schedule() call could be replaced with:

  set_current_state(TASK_INTERRUPTIBLE);
  schedule_timeout(HZ);"

22 years agorx-avoid-unnecessary-wakeups-20011225
Nickolai Zeldovich [Tue, 25 Dec 2001 18:13:20 +0000]
rx-avoid-unnecessary-wakeups-20011225

"This fixes a livelock condition introduced in my earlier
  resource starvation patch; apparently I had erred too far
  on the side of "wake up just in case".  The livelock bug
  is exhibited when running 10 fsstress processes at once;
  if many processes are waiting for a new Rx call, they get
  stuck in an uninterruptible kernel loop waking each other
  up."

22 years agofix-dcache-deadlock-20011225
Nickolai Zeldovich [Tue, 25 Dec 2001 18:10:39 +0000]
fix-dcache-deadlock-20011225

"This patch fixes a deadlock in the new dcache locking scheme.
  The underlying bug apparently existed before, but due to the
  absence of locking, it probably resulted in spuriously high
  refcounts rather than deadlock.

  The problem happens when there are zero-length dcache entries
  associated with a file; this is demonstrated by fsx, which
  hangs after running on AFS for a while.  The writeback loop
  never releases dcache entries unless they're stored back to
  the server as part of a sequential byte range."

22 years agofix-formatting-in-afs-h-20011225
Nickolai Zeldovich [Tue, 25 Dec 2001 18:09:44 +0000]
fix-formatting-in-afs-h-20011225

minor formatting cleanup

22 years agodcache-dont-erroneously-fail-to-fill-in-tsmall-20011225
Nickolai Zeldovich [Tue, 25 Dec 2001 18:04:52 +0000]
dcache-dont-erroneously-fail-to-fill-in-tsmall-20011225

"The particular problem seems to be, when size
  is computed to be zero, tsmall is not filled in with valid data,
  and ProcessFS is called with a zeroed out OutStatus.  This causes
  the file to magically turn into a directory (VDIR), among other
  things"

"The second part of the patch doesn't fix any bug that I've ran into
  thus far, but seemed like a good idea while I was reading the code
  to find the former bug."

22 years agodoc-heimdal-conversion-howto-20011224
Derrick Brashear [Mon, 24 Dec 2001 21:19:07 +0000]
doc-heimdal-conversion-howto-20011224

short explanation of how to convert from a kaserver to a heimdal kdc
including setting up iprop

22 years agomake-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011203
Nickolai Zeldovich [Sat, 8 Dec 2001 02:29:24 +0000]
make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011203

Currently it's possible to give StoreData negative Pos/Length/FileLength
  arguments and thereby set the volume quota usage to arbitrary values.
  This patch makes these values unsigned, since negative file positions
  and lengths don't make sense anyway.

22 years agorx-add-performance-testing-client-20011206
Love Hörnquist-Åstrand [Thu, 6 Dec 2001 23:39:08 +0000]
rx-add-performance-testing-client-20011206

add rxperf with modified license which allows us to distribute it now
pending more useful OpenAFS documentation existing at some point in the
future.

22 years agobosserver-dont-enforce-world-readability-on-server-etcdir-20011126
Sam Hartman [Mon, 26 Nov 2001 21:29:16 +0000]
bosserver-dont-enforce-world-readability-on-server-etcdir-20011126

no reason server etcdir needs to be forced world readable; nothing need
default to those cellconfig files except in the localauth case and then
you need to be able to read the KeyFile anyway

22 years agowindows-afsdb-freelance-notes-20011120
Jeff Riegel [Wed, 21 Nov 2001 18:29:16 +0000]
windows-afsdb-freelance-notes-20011120

notes from Jeff about AFSDB and Freelance clients

22 years agodcache-finegrained-locks-20011121
Nickolai Zeldovich [Wed, 21 Nov 2001 16:01:19 +0000]
dcache-finegrained-locks-20011121

This patch implements more fine-grained locking for dcache entries.
The main advantage is that multiple chunks of the same file can be
fetched at once.  This means that an incorrectly-guessed prefetch
won't block other fetches, prefetches of multiple chunks can occur
in parallel, and multiple processes sharing the same file can read
from different parts of the file at once.

22 years agoquote-modloaddir-when-looking-for-kernel-module-20011120
Yves Schutz [Wed, 21 Nov 2001 15:54:35 +0000]
quote-modloaddir-when-looking-for-kernel-module-20011120

quote variable evaluation

22 years agolinux-rc-make-ifconfig-speak-english-for-parsing-20011120
Thomas Mueller [Wed, 21 Nov 2001 15:41:26 +0000]
linux-rc-make-ifconfig-speak-english-for-parsing-20011120

sadly the script is fluent only in english and can't even pretend it knows
anything else

22 years agobozo-make-logging-more-readable-20011120
Garry Zacheiss [Wed, 21 Nov 2001 15:36:43 +0000]
bozo-make-logging-more-readable-20011120

add missing newlines

22 years agoafs-trace-missing-dependancy-20011120
Nathan Neulinger [Wed, 21 Nov 2001 15:31:24 +0000]
afs-trace-missing-dependancy-20011120

so when afs_trace.et updates the header gets rebuilt

22 years agoktc-dont-prototype-lseek-20011120
Sam Hartman [Wed, 21 Nov 2001 15:29:52 +0000]
ktc-dont-prototype-lseek-20011120

breaks sparc linux 2.2

22 years agowindows-updates-20011121
James Peterson [Wed, 21 Nov 2001 06:44:28 +0000]
windows-updates-20011121

missed updates needed for next release

22 years agoafs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011120
Derrick Brashear [Tue, 20 Nov 2001 20:04:55 +0000]
afs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011120

the equivalent of what's done in InstallUVolumeEntry to avoid a deadlock
but just for this server since it's all we're dealing with

22 years agoviced-getstatus-clear-lengthhi-since-not-now-using-it-20011119
Chas Williams [Mon, 19 Nov 2001 16:59:53 +0000]
viced-getstatus-clear-lengthhi-since-not-now-using-it-20011119

so we don't end up with bogus value here

22 years agostartrxafs-fetchdata64-always-show-result-and-EFBIG-at-7fffffff-20011119
Chas Williams [Mon, 19 Nov 2001 16:58:02 +0000]
startrxafs-fetchdata64-always-show-result-and-EFBIG-at-7fffffff-20011119

show fetch64 errors
also mask high bit for reporting EFBIG

22 years agoviced-fetchdata64-should-call-common-code-in-64-mode-20011119
Chas Williams [Mon, 19 Nov 2001 16:53:46 +0000]
viced-fetchdata64-should-call-common-code-in-64-mode-20011119

both of the stubs shouldn't be using the 32 bit case in common

22 years agorx-sys-fix-broken-install-dependancies-20011119
Chas Williams [Mon, 19 Nov 2001 16:52:02 +0000]
rx-sys-fix-broken-install-dependancies-20011119

this got broken in one of the sets of changes

22 years agoviced-add-missing-comma-in-64bit-detailed-stats-case-20011114
Derrick Brashear [Wed, 14 Nov 2001 23:59:57 +0000]
viced-add-missing-comma-in-64bit-detailed-stats-case-20011114

and due to no prototypes this slipped right on by

22 years agobosserver-log-improve-readability-20011114
Garry Zacheiss [Wed, 14 Nov 2001 17:39:30 +0000]
bosserver-log-improve-readability-20011114

include newlines in boslog output

22 years agorx-fix-resource-starvation-problem-20011113
Nickolai Zeldovich [Wed, 14 Nov 2001 04:02:27 +0000]
rx-fix-resource-starvation-problem-20011113

This patch fixes a resource starvation condition in Rx.  The
  problem arises, for instance, when more than 4 daemons try to
  prefetch chunks of the same file at once.  The fifth daemon is
  stuck in MAKECALL_WAITING state, never getting a chance to run,
  because the other 4 daemons never yield to the scheduler after
  releasing the call, and just grab the call back again.

22 years agoafs-cell-avoid-need-for-new-prototype-20011113
Derrick Brashear [Tue, 13 Nov 2001 20:31:31 +0000]
afs-cell-avoid-need-for-new-prototype-20011113

reogranize so we don't need to add a prototype

based on report from kolya@mit.edu

22 years agohold-afs-xcell-lock-during-setserverprefs-20011113
Derrick Brashear [Tue, 13 Nov 2001 17:24:05 +0000]
hold-afs-xcell-lock-during-setserverprefs-20011113

afs_RemoveCellEntry holds afs_xcell; setserverprefs modified the same
structure but did not which was problematic if something changed out from under
it

22 years ago64bit-client-mods-build-cleanly-20011113
Hartmut Reuter [Tue, 13 Nov 2001 14:47:11 +0000]
64bit-client-mods-build-cleanly-20011113

necessary fixes for aix and solaris, plus fix for linux for when wake_up
doesn't wake the sleeper

22 years agopam-include-limits-h-for-NGROUPS-MAX-20011113
Hartmut Reuter [Tue, 13 Nov 2001 14:40:54 +0000]
pam-include-limits-h-for-NGROUPS-MAX-20011113

pam module needs limits.h to build

22 years agonbobtainwritelock-fix-precedence-problem-20011113
Nickolai Zeldovich [Tue, 13 Nov 2001 13:14:06 +0000]
nbobtainwritelock-fix-precedence-problem-20011113

NBObtainWriteLock always returned 0 due to precedence problem. Also
add NBObtainSharedLock

22 years agorx-compute-ackdatasize-correctly-20011113
Nickolai Zeldovich [Tue, 13 Nov 2001 04:59:22 +0000]
rx-compute-ackdatasize-correctly-20011113

This patch clarifies the implicit 3 reserved bytes in rx_AckDataSize,
  and hopefully makes the code more portable for future platforms.

22 years agoirix-build-cleanup-20011113
Chas Williams [Tue, 13 Nov 2001 04:52:26 +0000]
irix-build-cleanup-20011113

make IP35 port select correctly. make pagsh build again

22 years agoirix-PFLUSHINVAL-should-be-VOP-FLUSHINVAL-PAGES-20011111
Chas Williams [Sun, 11 Nov 2001 17:11:06 +0000]
irix-PFLUSHINVAL-should-be-VOP-FLUSHINVAL-PAGES-20011111

Based on suggestions from gwehrman@sgi.com

22 years agomake-darwin-14-build-with-new-makefile-frag-system-20011110
Chaskiel M Grundman [Sun, 11 Nov 2001 01:57:36 +0000]
make-darwin-14-build-with-new-makefile-frag-system-20011110

head now builds on darwin 1.4; may not build in objdir env yet

22 years agodarwin-14-support-20011110
Chaskiel M Grundman [Sat, 10 Nov 2001 23:20:04 +0000]
darwin-14-support-20011110

base support for darwin 1.4

22 years agomore-64bit-client-fixes-20011110
Hartmut Reuter [Sat, 10 Nov 2001 23:00:55 +0000]
more-64bit-client-fixes-20011110

some afs_offs_t still missing
so obsolete code fixed
and new trace for m.Length change

22 years agouse-NGROUPS-MAX-instead-of-constant-for-curpag-getgroups-call-20011110
Thomas Mueller [Sat, 10 Nov 2001 22:36:45 +0000]
use-NGROUPS-MAX-instead-of-constant-for-curpag-getgroups-call-20011110

NGROUPS_MAX instead of 30 used so we get all groups from getgroups

22 years agowindows-updates-including-dont-lose-tokens-20011110
James Peterson [Sat, 10 Nov 2001 22:31:04 +0000]
windows-updates-including-dont-lose-tokens-20011110

Win2k tokens association problems are fixed. details are in doc/txt/winnotes
in the 1.2.2a updates file

22 years agolinux-afsd-allow-ext3-journals-without-error-20011110
David Thompson [Sat, 10 Nov 2001 18:21:59 +0000]
linux-afsd-allow-ext3-journals-without-error-20011110

an ext3 journal in the vice cache (root of the partition) is allowable

we have no useful way to discern ext2 from ext3 without groveling in fstab
so just allow it

22 years agorx-dont-ackall-a-connection-were-waiting-for-retransmits-on-20011110
Nickolai Zeldovich [Sat, 10 Nov 2001 18:14:30 +0000]
rx-dont-ackall-a-connection-were-waiting-for-retransmits-on-20011110

"My theory of what happened is roughly as follows:

    Process tries to read data from AFS (as part of a page fault);
    issues a new Rx call on an Rx connection to the fileserver.

    The server transmits some data back to the client, but some packet
    is lost.

    Something tries to garbage-collect/destroy the connection; since
    there is an active call, it can't do so, but issues an rx_AckAll
    anyway, which acknowledges all packets transmitted by the server
    as having been received.  Server flushes its retransmit queue.

    Client waits forever for the lost packet to arrive, but since the
    server has already flushed the transmit queue, it cannot possibly
    retransmit it.

All this is happening while the client has read-locked its address
space (since the read is part of a page fault).  /proc accesses that
try to poke into that processes address space hang waiting for said
lock, causing the lossage we actually observed."

22 years agorx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20011110
Garry Zacheiss [Sat, 10 Nov 2001 18:08:40 +0000]
rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20011110

(as originally discovered by ted@mit.edu)

"This fix deals with the following lose case:
  Client starts a call that, for some reason, takes a long time on the
  server.  While the client waits for the server to finish, client and
  server usually send each other keep alive packets.  If something
  causes those packets to be delayed or dropped, then the client will
  conclude that the call has failed or finished (usually failed), while
  the server is still *busy* doing the call.

  In this circumstance, the client will initiate another call and the
  server will correctly respond that it is busy.  Unfortunately, if the
  callNumber of a received packet doesn't match the callNumber of the
  outstanding call, then the client never sees that the server says it's
  busy.  Instead the server appears as a black hole to the client.

  This fix ensures that the client sees the busy packets when its
  callNumber is reasonably out of sync with the server."

22 years agoirix-memcache-dont-call-osi-vm-storeallsegments-20011110
Chas Williams [Sat, 10 Nov 2001 17:53:04 +0000]
irix-memcache-dont-call-osi-vm-storeallsegments-20011110

this caused a call to pdflush to happen at the wrong time, which should fix
the zero filled files problem, the osi_assert(cred) problem and the
execsorwriters == 0 warnings to go away

22 years agolinux-kdump-also-work-with-early-24-kernels-20011108
Derrick Brashear [Thu, 8 Nov 2001 08:12:59 +0000]
linux-kdump-also-work-with-early-24-kernels-20011108

yup, it had to come from somewhere. now it would compile with early and late 2.4 kernels

22 years agoconfig-makefile-include-xcflags64-20011107
Nickolai Zeldovich [Thu, 8 Nov 2001 03:02:08 +0000]
config-makefile-include-xcflags64-20011107

this was missed during the conversion

22 years agosolaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011106
Garry Zacheiss [Wed, 7 Nov 2001 00:15:27 +0000]
solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011106

if you're not using ufs logging it's ok to replace solaris fsck with vfsck,
except sometimes it exits with 40 and that's not a failure to the solaris
scripts.

make it so for us also

22 years agobutc-allow-comments-in-tapeconfig-20011106
Garry Zacheiss [Wed, 7 Nov 2001 00:11:20 +0000]
butc-allow-comments-in-tapeconfig-20011106

continue to allow extra column for comments as was previously (afs 3.4a) the case

22 years agoafsdb-avoid-dns-case-issues-for-cell-aliases-20011106
Nickolai Zeldovich [Wed, 7 Nov 2001 00:01:52 +0000]
afsdb-avoid-dns-case-issues-for-cell-aliases-20011106

This patch makes sure that in-kernel aliases to non-existant names aren't
  accidentally created due to case mismatch (e.g. "athena" being created as
  a symlink to "athena.MIT.EDU", while "athena.mit.edu" is the real cell
  that already exists).  It also lowercases cell names in AFSDB lookups,
  otherwise the same problem appears in userspace (eg "aklog athena" tries
  to obtain tokens for cell "athena.MIT.EDU").

22 years agolinux-kdump-kernel-also-has-timer-t-sigh-20011105
Derrick Brashear [Mon, 5 Nov 2001 19:43:47 +0000]
linux-kdump-kernel-also-has-timer-t-sigh-20011105

not the cleanest way of dealing, either

22 years agolinux-kdump-timeval-probably-not-needed-20011105
Derrick Brashear [Mon, 5 Nov 2001 19:39:06 +0000]
linux-kdump-timeval-probably-not-needed-20011105

not sure what needs this. if something does we need to figure out what
and only do this for them

22 years agobkg-daemon-dont-break-64bit-pointers-and-handle-requests-in-order-20011102
Nickolai Zeldovich [Mon, 5 Nov 2001 19:34:25 +0000]
bkg-daemon-dont-break-64bit-pointers-and-handle-requests-in-order-20011102

This patch fixes a problem with 64-bit pointers being munged by the
background daemons (by separating sizes and pointers into separate
variables -- this bug was apparently introduced by the 64-bit file
support patch), and makes the background daemons handle requests in
order they came in.  The latter will be mostly just useful for some
prefetching and fine grained dcache-locking patches