Commit Graph

799 Commits

Author SHA1 Message Date
Derrick Brashear
4bd7319e4a 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
2002-01-15 17:17:31 +00:00
Derrick Brashear
d616a68c94 test-suite-cvsignore-20020115
we need one
2002-01-15 16:33:08 +00:00
Derrick Brashear
78f2f8f4bd 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
2002-01-15 16:30:55 +00:00
Derrick Brashear
fcb32c07ed 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
2002-01-15 04:14:51 +00:00
Derrick Brashear
f1964d2cf8 functionality-test-suite-20020114
Based on Arla test suite and AFSTools with some other additions;
intended to set up a standalone cell, perform operations
2002-01-14 07:49:15 +00:00
Jeffrey Hutzelman
78b512f1da dumptools-20020113
tools for manipulating afs volume dumps
2002-01-13 23:47:17 +00:00
Steven N . Hirsch
2bd43007f4 alpha-linux-build-fixes-20020113
so alpha linux builds work again
2002-01-13 17:06:42 +00:00
Derrick Brashear
907452f2d7 bos-key-utility-20020112
modification of asetkey to allow manipulation of key files without
a running bosserver (asetkey requires krb4; this does not)
2002-01-12 21:35:59 +00:00
Derrick Brashear
2972ad04f1 linux-remove-hazardous-trace-events-20020111
use of osi_Sleep in tracing code makes this dangerous.
2002-01-11 16:44:53 +00:00
Nickolai Zeldovich
259bf2a7d4 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)
2002-01-10 06:42:21 +00:00
Jeremy Stribling
7990f0d4b1 README-NT-updates-20020108
info on how to set up debugging environment and other updates
2002-01-09 03:08:16 +00:00
Nickolai Zeldovich
54624ac81b lock-tracing-20020108
patches to allow tracing with fstrace of afs locks
2002-01-08 20:54:12 +00:00
James Peterson
899a6eb679 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"
2002-01-08 20:44:31 +00:00
Derrick Brashear
11a5394620 linux24-add-configure-glue-for-new-inode-fields-20020108
based on report from cg@cdegroot.com
2002-01-08 20:41:11 +00:00
Nathan Neulinger
55395ad691 update-readme-devel-for-parallel-make-hints-20020101
suggestions which make parallel make easier to support
2002-01-02 04:12:20 +00:00
Nickolai Zeldovich
b00162aa76 vlserver-remove-duplicate-targets-20020101
"duplicates seem to confuse /usr/bin/make on MacOSX"
2002-01-02 04:08:37 +00:00
Love Hörnquist-Åstrand
d65e45f3d2 netbsd-initial-support-20020101
update parameters so it will build
2002-01-01 21:02:50 +00:00
Mark W. Eichin
590916001b linux-sparc-24-kernel-support-20020101
config for linux 2.4 kernels on sparc
2002-01-01 19:09:59 +00:00
Ted McCabe
24f9306e65 acinclude-update-for-new-darwin-version-strings-20020101
so we can build for new darwin versions
2002-01-01 19:01:54 +00:00
Love Hörnquist-Åstrand
3e843e3dab 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
2002-01-01 18:57:18 +00:00
Chas Williams
161c73a807 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
2002-01-01 18:49:18 +00:00
Nickolai Zeldovich
0d9cabad65 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
2001-12-30 00:07:02 +00:00
David Howells
c1d2386e44 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);"
2001-12-25 18:19:20 +00:00
Nickolai Zeldovich
3ea10ea353 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."
2001-12-25 18:13:20 +00:00
Nickolai Zeldovich
28eefd7613 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."
2001-12-25 18:10:39 +00:00
Nickolai Zeldovich
fcda63bda0 fix-formatting-in-afs-h-20011225
minor formatting cleanup
2001-12-25 18:09:44 +00:00
Nickolai Zeldovich
96f340c532 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."
2001-12-25 18:04:52 +00:00
Derrick Brashear
4e02670a22 doc-heimdal-conversion-howto-20011224
short explanation of how to convert from a kaserver to a heimdal kdc
including setting up iprop
2001-12-24 21:19:07 +00:00
Nickolai Zeldovich
ddaf08d4b8 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.
2001-12-08 02:29:24 +00:00
Love Hörnquist-Åstrand
18f5f636dd 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.
2001-12-06 23:39:08 +00:00
Sam Hartman
c5cd875222 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
2001-11-26 21:29:16 +00:00
Jeff Riegel
83873a8474 windows-afsdb-freelance-notes-20011120
notes from Jeff about AFSDB and Freelance clients
2001-11-21 18:29:16 +00:00
Nickolai Zeldovich
d99c35279d 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.
2001-11-21 16:01:19 +00:00
Yves Schutz
392ae5ce36 quote-modloaddir-when-looking-for-kernel-module-20011120
quote variable evaluation
2001-11-21 15:54:35 +00:00
Thomas Mueller
16b809cef2 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
2001-11-21 15:41:26 +00:00
Garry Zacheiss
74432508a7 bozo-make-logging-more-readable-20011120
add missing newlines
2001-11-21 15:36:43 +00:00
Nathan Neulinger
8b5438790d afs-trace-missing-dependancy-20011120
so when afs_trace.et updates the header gets rebuilt
2001-11-21 15:31:24 +00:00
Sam Hartman
a26794a25c ktc-dont-prototype-lseek-20011120
breaks sparc linux 2.2
2001-11-21 15:29:52 +00:00
James Peterson
6a0443bdcc windows-updates-20011121
missed updates needed for next release
2001-11-21 06:44:28 +00:00
Derrick Brashear
7d38c7fe58 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
2001-11-20 20:04:55 +00:00
Chas Williams
c53a034e36 viced-getstatus-clear-lengthhi-since-not-now-using-it-20011119
so we don't end up with bogus value here
2001-11-19 16:59:53 +00:00
Chas Williams
b460d29502 startrxafs-fetchdata64-always-show-result-and-EFBIG-at-7fffffff-20011119
show fetch64 errors
also mask high bit for reporting EFBIG
2001-11-19 16:58:02 +00:00
Chas Williams
cae92b082c viced-fetchdata64-should-call-common-code-in-64-mode-20011119
both of the stubs shouldn't be using the 32 bit case in common
2001-11-19 16:53:46 +00:00
Chas Williams
0a6069850a rx-sys-fix-broken-install-dependancies-20011119
this got broken in one of the sets of changes
2001-11-19 16:52:02 +00:00
Derrick Brashear
05c2a3e13a viced-add-missing-comma-in-64bit-detailed-stats-case-20011114
and due to no prototypes this slipped right on by
2001-11-14 23:59:57 +00:00
Garry Zacheiss
3f7e327718 bosserver-log-improve-readability-20011114
include newlines in boslog output
2001-11-14 17:39:30 +00:00
Nickolai Zeldovich
54f0650052 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.
2001-11-14 04:02:27 +00:00
Derrick Brashear
94bc1753e9 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
2001-11-13 20:31:31 +00:00
Derrick Brashear
cb99519f77 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
2001-11-13 17:24:05 +00:00
Hartmut Reuter
b2821b103c 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
2001-11-13 14:47:11 +00:00