]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
23 years agoSTABLE12-linux-rework-signal-blocking-for-afsdb-handler-and-clean-up-osi-invisible...
Derrick Brashear [Wed, 23 Jan 2002 19:29:49 +0000 (19:29 +0000)]
STABLE12-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

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

don't do this in userland cache manager

(cherry picked from commit 1f3f7bc3efea3ffca469fbfe090953dcaa668799)

23 years agoSTABLE12-linux-use-while-loop-and-also-do-it-for-22-waiting-to-close-socket-20020123
Derrick Brashear [Wed, 23 Jan 2002 18:46:37 +0000 (18:46 +0000)]
STABLE12-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

(cherry picked from commit 271fdc46b1cb0b25896618b10e436d33dc04fbf2)

23 years agoSTABLE12-solaris-wait-for-listenerproc-to-exit-20020123
Omkar Sathe [Wed, 23 Jan 2002 18:43:47 +0000 (18:43 +0000)]
STABLE12-solaris-wait-for-listenerproc-to-exit-20020123

like linux, actually wait for listenerproc to finish before freeing the socket

(cherry picked from commit 2742ca8a8ba2fe18b1991fc250f0376010303469)

23 years agoSTABLE12-rework-linux-newvcache-clean-up-dentries-20020123
Derrick Brashear [Wed, 23 Jan 2002 09:30:36 +0000 (09:30 +0000)]
STABLE12-rework-linux-newvcache-clean-up-dentries-20020123

previous pass wasn't SMP-happy. rework closer to original code.

(cherry picked from commit e91fca84fdbe1a6dcf6d4187df0dde5056687c08)

23 years agoSTABLE12-linux-afsd-ignore-signals-20020123
Chaskiel M Grundman [Wed, 23 Jan 2002 07:58:14 +0000 (07:58 +0000)]
STABLE12-linux-afsd-ignore-signals-20020123

ignore signals sent to afsd on linux instead of running out of control

also daemonize ourselves

(cherry picked from commit 0c239bbb3a1518e0f58891259f1f73fb170ffd99)

23 years agoSTABLE12-linux-fix-mmap-write-20020122
Nickolai Zeldovich [Wed, 23 Jan 2002 07:57:42 +0000 (07:57 +0000)]
STABLE12-linux-fix-mmap-write-20020122

a MAP_SHARED write wasn't being flushed back to the server

(cherry picked from commit 8871da3856f290ea067cf46687dd9a898acf5071)

23 years agoSTABLE12-linux24-add-configure-glue-for-new-inode-fields-20020120
Derrick Brashear [Wed, 23 Jan 2002 05:10:24 +0000 (05:10 +0000)]
STABLE12-linux24-add-configure-glue-for-new-inode-fields-20020120

"port" fix to stable branch

23 years agoSTABLE12-linux-use-results-of-all-inode-configure-tests-20020122
Derrick Brashear [Wed, 23 Jan 2002 00:44:59 +0000 (00:44 +0000)]
STABLE12-linux-use-results-of-all-inode-configure-tests-20020122

we tested for and then failed to use things before

(cherry picked from commit 8a906250f7220efd9210741f97d1b3fa568d74d4)

23 years agoSTABLE12-i-hate-autoconf-20020120
Derrick Brashear [Mon, 21 Jan 2002 16:51:33 +0000 (16:51 +0000)]
STABLE12-i-hate-autoconf-20020120

AC_PROG_CC not safe to call this early

(cherry picked from commit 8f4a0c1e27f163366d5577aeb44f7b7e59d740bb)

23 years agoSTABLE12-functionality-test-suite-20020120
Derrick Brashear [Sun, 20 Jan 2002 09:34:40 +0000 (09:34 +0000)]
STABLE12-functionality-test-suite-20020120

pull this all in in one fell swoop

23 years agoSTABLE12-windows-updates-20010120
James Peterson [Sun, 20 Jan 2002 09:09:08 +0000 (09:09 +0000)]
STABLE12-windows-updates-20010120

"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"

23 years ago- remove bos_util and install it
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 09:07:31 +0000 (09:07 +0000)]
- remove bos_util and install it
- ignore it

(cherry picked from commit a1aba97dbb9609ed52b90b780f1525e5cc1b7e6a)

23 years agoSTABLE12-bosserver-nofork-20020119
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 09:06:15 +0000 (09:06 +0000)]
STABLE12-bosserver-nofork-20020119

Make it easier to debug bosserver by adding a -nofork flag for the !nt40
env's.

(cherry picked from commit b05cae13822beda473158c3bd7a8bc250c4acf71)

23 years agoSTABLE12-nfs-translator-call-lookup-with-correct-form-of-dir-20020116
Derrick Brashear [Sun, 20 Jan 2002 09:05:44 +0000 (09:05 +0000)]
STABLE12-nfs-translator-call-lookup-with-correct-form-of-dir-20020116

based on information from Kris Van Hees

still untested

(cherry picked from commit 4146f3c2f6af8975b1d5b04b2a9cb56c3acbee1b)

23 years agoSTABLE12-openafs-tools-cmd-20020120
Jeremy Stribling [Sun, 20 Jan 2002 09:05:06 +0000 (09:05 +0000)]
STABLE12-openafs-tools-cmd-20020120

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

23 years agoSTABLE12-rxkad-make-stress-compile-again-20020119
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 09:03:51 +0000 (09:03 +0000)]
STABLE12-rxkad-make-stress-compile-again-20020119

Make stress compile again.

23 years agoSTABLE12-des-fix-make-p-table-on-alpha-20020119
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 09:03:14 +0000 (09:03 +0000)]
STABLE12-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).

(cherry picked from commit 0a94f88f96770b261b184c565c6959da51d8b65b)

23 years agoSTABLE12-rx-dont-challenge-forever-20020120
Nickolai Zeldovich [Sun, 20 Jan 2002 09:02:43 +0000 (09:02 +0000)]
STABLE12-rx-dont-challenge-forever-20020120

don't repeat challenges forever. give up after 50 tries

23 years agoSTABLE12-linux-dcache-inconsistency-fix-20020120
Chas Williams [Sun, 20 Jan 2002 09:01:51 +0000 (09:01 +0000)]
STABLE12-linux-dcache-inconsistency-fix-20020120

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

23 years agoSTABLE12-linux-newvcache-clean-up-dentries-2002012020
Ted Anderson [Sun, 20 Jan 2002 08:59:21 +0000 (08:59 +0000)]
STABLE12-linux-newvcache-clean-up-dentries-2002012020

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

23 years agoSTABLE12-rxi-newcall-avoid-race-20020120
Nickolai Zeldovich [Sun, 20 Jan 2002 08:58:33 +0000 (08:58 +0000)]
STABLE12-rxi-newcall-avoid-race-20020120

avoid race when creating new calls

23 years agoSTABLE12-deal-with-linux-large-uids-2002012020
Derrick Brashear [Sun, 20 Jan 2002 08:57:44 +0000 (08:57 +0000)]
STABLE12-deal-with-linux-large-uids-2002012020

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

2.2 headers define the right things for this to work

23 years agoSTABLE12-bos-key-utility-20020120
Derrick Brashear [Sun, 20 Jan 2002 08:52:34 +0000 (08:52 +0000)]
STABLE12-bos-key-utility-20020120

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

23 years agoSTABLE12-linux-remove-hazardous-trace-events-20020120
Derrick Brashear [Sun, 20 Jan 2002 08:51:43 +0000 (08:51 +0000)]
STABLE12-linux-remove-hazardous-trace-events-20020120

use of osi_Sleep in tracing code makes this dangerous.

23 years agoSTABLE12-linux24-add-configure-glue-for-new-inode-fields-20020120
Derrick Brashear [Sun, 20 Jan 2002 08:50:39 +0000 (08:50 +0000)]
STABLE12-linux24-add-configure-glue-for-new-inode-fields-20020120

based on report from cg@cdegroot.com

23 years agoSTABLE12-linux-sparc-24-kernel-support-20020120
Mark W. Eichin [Sun, 20 Jan 2002 08:49:33 +0000 (08:49 +0000)]
STABLE12-linux-sparc-24-kernel-support-20020120

config for linux 2.4 kernels on sparc

23 years agoSTABLE12-acinclude-update-for-new-darwin-version-strings-20020120
Ted McCabe [Sun, 20 Jan 2002 08:48:49 +0000 (08:48 +0000)]
STABLE12-acinclude-update-for-new-darwin-version-strings-20020120

so we can build for new darwin versions

23 years agoSTABLE12-linux-osi-sleep-avoid-forgetting-events-20020120
Chas Williams [Sun, 20 Jan 2002 08:48:00 +0000 (08:48 +0000)]
STABLE12-linux-osi-sleep-avoid-forgetting-events-20020120

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

23 years agoSTABLE12-linux22-also-alloc-avoid-potential-recursion-freeing-memory-and-schedule...
Nickolai Zeldovich [Sun, 20 Jan 2002 08:42:32 +0000 (08:42 +0000)]
STABLE12-linux22-also-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc-fails-20020120

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

23 years agoSTABLE12-linux-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmall...
David Howells [Sun, 20 Jan 2002 08:41:28 +0000 (08:41 +0000)]
STABLE12-linux-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc-fails-20020120

"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);"

23 years agoSTABLE12-rx-avoid-unnecessary-wakeups-20020120
Nickolai Zeldovich [Sun, 20 Jan 2002 08:40:16 +0000 (08:40 +0000)]
STABLE12-rx-avoid-unnecessary-wakeups-20020120

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

23 years agoSTABLE12-rx-add-performance-testing-client-20020120
Love Hörnquist-Åstrand [Sun, 20 Jan 2002 08:38:38 +0000 (08:38 +0000)]
STABLE12-rx-add-performance-testing-client-20020120

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

23 years agoSTABLE12-windows-afsdb-freelance-notes-20020120
Jeff Riegel [Sun, 20 Jan 2002 08:37:14 +0000 (08:37 +0000)]
STABLE12-windows-afsdb-freelance-notes-20020120

notes from Jeff about AFSDB and Freelance clients

23 years agoSTABLE12-use-NGROUPS-MAX-instead-of-constant-for-curpag-getgroups-call-20020120
Thomas Mueller [Sun, 20 Jan 2002 08:34:41 +0000 (08:34 +0000)]
STABLE12-use-NGROUPS-MAX-instead-of-constant-for-curpag-getgroups-call-20020120

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

23 years agoSTABLE12-afsdb-avoid-dns-case-issues-for-cell-aliases-20020120
Nickolai Zeldovich [Sun, 20 Jan 2002 08:33:04 +0000 (08:33 +0000)]
STABLE12-afsdb-avoid-dns-case-issues-for-cell-aliases-20020120

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").

23 years agoSTABLE12-solaris9-and-makefile-updates-20020120
Nickolai Zeldovich [Sun, 20 Jan 2002 08:27:54 +0000 (08:27 +0000)]
STABLE12-solaris9-and-makefile-updates-20020120

updates for solaris 9; also don't have ${XLIBS} in target dependancies
if it's going to include things like -lnsl

23 years agoSTABLE12-dynroot-allow-cell-aliases-20020120
Nickolai Zeldovich [Sun, 20 Jan 2002 08:20:51 +0000 (08:20 +0000)]
STABLE12-dynroot-allow-cell-aliases-20020120

allow cell aliases. includes support for non-'V' pioctls

23 years agoSTABLE12-revert-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number...
Derrick Brashear [Sun, 20 Jan 2002 05:43:48 +0000 (05:43 +0000)]
STABLE12-revert-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20020120

interferes at least with some versions of linux

(cherry picked from commit 698cb3037622b2bf294d64a3fc896a97af21138d)

23 years agoSTABLE12-rx-dont-ackall-a-connection-were-waiting-for-retransmits-on-20011229
Nickolai Zeldovich [Sat, 29 Dec 2001 23:18:46 +0000 (23:18 +0000)]
STABLE12-rx-dont-ackall-a-connection-were-waiting-for-retransmits-on-20011229

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

23 years agoSTABLE12-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20011229
Garry Zacheiss [Sat, 29 Dec 2001 23:17:48 +0000 (23:17 +0000)]
STABLE12-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20011229

(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."

23 years agoSTABLE12-rx-fix-resource-starvation-problem-20011229
Nickolai Zeldovich [Sat, 29 Dec 2001 23:16:58 +0000 (23:16 +0000)]
STABLE12-rx-fix-resource-starvation-problem-20011229

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.

23 years agoSTABLE12-nbobtainwritelock-fix-precedence-problem-20011229
Nickolai Zeldovich [Sat, 29 Dec 2001 23:15:19 +0000 (23:15 +0000)]
STABLE12-nbobtainwritelock-fix-precedence-problem-20011229

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

23 years agoSTABLE12-rx-compute-ackdatasize-correctly-20011229
Nickolai Zeldovich [Sat, 29 Dec 2001 23:14:24 +0000 (23:14 +0000)]
STABLE12-rx-compute-ackdatasize-correctly-20011229

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

23 years agoSTABLE12-afs-checkservers-improve-lock-granularity-20011229
Nickolai Zeldovich [Sat, 29 Dec 2001 23:13:44 +0000 (23:13 +0000)]
STABLE12-afs-checkservers-improve-lock-granularity-20011229

work harder to release afs_xserver and afs_xsrvAddr locks in afs_CheckServers
when not needed

23 years agoSTABLE12-make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011226
Nickolai Zeldovich [Wed, 26 Dec 2001 20:58:07 +0000 (20:58 +0000)]
STABLE12-make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011226

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.

23 years agoSTABLE12-bosserver-dont-enforce-world-readability-on-server-etcdir-20011226
Sam Hartman [Wed, 26 Dec 2001 20:50:10 +0000 (20:50 +0000)]
STABLE12-bosserver-dont-enforce-world-readability-on-server-etcdir-20011226

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

23 years agoSTABLE12-afs-cell-avoid-need-for-new-prototype-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:49:20 +0000 (20:49 +0000)]
STABLE12-afs-cell-avoid-need-for-new-prototype-20011226

reogranize so we don't need to add a prototype

based on report from kolya@mit.edu

23 years agoSTABLE12-quote-modloaddir-when-looking-for-kernel-module-20011226
Yves Schutz [Wed, 26 Dec 2001 20:48:16 +0000 (20:48 +0000)]
STABLE12-quote-modloaddir-when-looking-for-kernel-module-20011226

quote variable evaluation

23 years agoSTABLE12-linux-rc-make-ifconfig-speak-english-for-parsing-20011226
Thomas Mueller [Wed, 26 Dec 2001 20:47:36 +0000 (20:47 +0000)]
STABLE12-linux-rc-make-ifconfig-speak-english-for-parsing-20011226

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

23 years agoSTABLE12-bozo-make-logging-more-readable-20011226
Garry Zacheiss [Wed, 26 Dec 2001 20:47:02 +0000 (20:47 +0000)]
STABLE12-bozo-make-logging-more-readable-20011226

add missing newlines

23 years agoSTABLE12-ktc-dont-prototype-lseek-20011226
Sam Hartman [Wed, 26 Dec 2001 20:45:27 +0000 (20:45 +0000)]
STABLE12-ktc-dont-prototype-lseek-20011226

breaks sparc linux 2.2

23 years agoSTABLE12-afs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:44:31 +0000 (20:44 +0000)]
STABLE12-afs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011226

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

23 years agoSTABLE12-bosserver-log-improve-readability-20011226
Garry Zacheiss [Wed, 26 Dec 2001 20:42:20 +0000 (20:42 +0000)]
STABLE12-bosserver-log-improve-readability-20011226

include newlines in boslog output

23 years agoSTABLE12-hold-afs-xcell-lock-during-setserverprefs-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:41:29 +0000 (20:41 +0000)]
STABLE12-hold-afs-xcell-lock-during-setserverprefs-20011226

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

23 years agoSTABLE12-pam-include-limits-h-for-NGROUPS-MAX-20011226
Hartmut Reuter [Wed, 26 Dec 2001 20:39:06 +0000 (20:39 +0000)]
STABLE12-pam-include-limits-h-for-NGROUPS-MAX-20011226

pam module needs limits.h to build

23 years agoSTABLE12-irix-build-cleanup-20011226
Chas Williams [Wed, 26 Dec 2001 20:37:29 +0000 (20:37 +0000)]
STABLE12-irix-build-cleanup-20011226

make IP35 port select correctly. make pagsh build again

23 years agoSTABLE12-irix-PFLUSHINVAL-should-be-VOP-FLUSHINVAL-PAGES-20011226
Chas Williams [Wed, 26 Dec 2001 20:36:17 +0000 (20:36 +0000)]
STABLE12-irix-PFLUSHINVAL-should-be-VOP-FLUSHINVAL-PAGES-20011226

Based on suggestions from gwehrman@sgi.com

23 years agoSTABLE12-linux-afsd-allow-ext3-journals-without-error-20011226
David Thompson [Wed, 26 Dec 2001 20:34:43 +0000 (20:34 +0000)]
STABLE12-linux-afsd-allow-ext3-journals-without-error-20011226

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

23 years agoSTABLE12-irix-memcache-dont-call-osi-vm-storeallsegments-20011226
Chas Williams [Wed, 26 Dec 2001 20:29:19 +0000 (20:29 +0000)]
STABLE12-irix-memcache-dont-call-osi-vm-storeallsegments-20011226

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

23 years agoSTABLE12-linux-kdump-also-work-with-early-24-kernels-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:27:56 +0000 (20:27 +0000)]
STABLE12-linux-kdump-also-work-with-early-24-kernels-20011226

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

23 years agoSTABLE12-solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world...
Garry Zacheiss [Wed, 26 Dec 2001 20:26:57 +0000 (20:26 +0000)]
STABLE12-solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011226

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

23 years agoSTABLE12-butc-allow-comments-in-tapeconfig-20011226
Garry Zacheiss [Wed, 26 Dec 2001 20:26:09 +0000 (20:26 +0000)]
STABLE12-butc-allow-comments-in-tapeconfig-20011226

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

23 years agoSTABLE12-linux-kdump-kernel-also-has-timer-t-sigh-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:25:13 +0000 (20:25 +0000)]
STABLE12-linux-kdump-kernel-also-has-timer-t-sigh-20011226

not the cleanest way of dealing, either

23 years agoSTABLE12-linux-kdump-timeval-probably-not-needed-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:24:32 +0000 (20:24 +0000)]
STABLE12-linux-kdump-timeval-probably-not-needed-20011226

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

23 years agoSTABLE12-pam-update-for-correct-krb-aware-module-20011226
Thomas Mueller [Wed, 26 Dec 2001 20:23:03 +0000 (20:23 +0000)]
STABLE12-pam-update-for-correct-krb-aware-module-20011226

the krb version of the module should be built completely in AFS_KERBEROS_ENV

23 years agoSTABLE12-viced-clear-clientdeleted-when-deleted-clients-are-cleaned-up-20011226
Nickolai Zeldovich [Wed, 26 Dec 2001 20:21:39 +0000 (20:21 +0000)]
STABLE12-viced-clear-clientdeleted-when-deleted-clients-are-cleaned-up-20011226

Currently nothing clears the CLIENTDELETED flag in hosts, so once
  a client has been deleted, h_TossStuff_r() will keep getting called
  with every host release.  This patch clears the CLIENTDELETED flag
  every time we take care of deleted clients.

23 years agoSTABLE12-pam-setcred-dont-ask-for-passwords-20011226
Carsten Jacobi [Wed, 26 Dec 2001 20:20:28 +0000 (20:20 +0000)]
STABLE12-pam-setcred-dont-ask-for-passwords-20011226

don't prompt for passwords during setcred step

23 years agoSTABLE12-irix-build-ip35-module-only-if-headers-exist-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:19:13 +0000 (20:19 +0000)]
STABLE12-irix-build-ip35-module-only-if-headers-exist-20011226

IP35 support requires 6.5.9 or later; only build if we have headers

23 years agoSTABLE12-export-dont-include-afsconfig-to-avoid-conflicts-20011226
Hartmut Reuter [Wed, 26 Dec 2001 20:17:52 +0000 (20:17 +0000)]
STABLE12-export-dont-include-afsconfig-to-avoid-conflicts-20011226

ncluding afsconfig results in conflicts on some systems due to _KERNEL

23 years agoSTABLE12-afsd-make-debug-switch-print-afsops-20011226
Derek Atkins [Wed, 26 Dec 2001 20:16:56 +0000 (20:16 +0000)]
STABLE12-afsd-make-debug-switch-print-afsops-20011226

just print one more argument for afs system calls

23 years agoSTABLE12-bozo-fix-bos-addhost--clone-20011226
Hartmut Reuter [Wed, 26 Dec 2001 20:16:00 +0000 (20:16 +0000)]
STABLE12-bozo-fix-bos-addhost--clone-20011226

addhost -clone didn't previously work right. this fixes it

23 years agoSTABLE12-linux-autoconf-reuse-i-truncate-sem-name-for-new-test-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:15:05 +0000 (20:15 +0000)]
STABLE12-linux-autoconf-reuse-i-truncate-sem-name-for-new-test-20011226

since we need to initialize a semaphore

23 years agoSTABLE12-linux-configure-support-mandrake-kernel-patches-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:14:03 +0000 (20:14 +0000)]
STABLE12-linux-configure-support-mandrake-kernel-patches-20011226

init_once in mandrake calls init_rwsem(&inode->i_truncate_sem);

so do we

23 years agoSTABLE12-vos-rename-crypt-to-encrypt-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:12:17 +0000 (20:12 +0000)]
STABLE12-vos-rename-crypt-to-encrypt-20011226

so -c is again unique

23 years agoSTABLE12-des-use-ar-macro-instead-of-direct-call-like-everyone-else-20011226
Nathan Neulinger [Wed, 26 Dec 2001 20:11:22 +0000 (20:11 +0000)]
STABLE12-des-use-ar-macro-instead-of-direct-call-like-everyone-else-20011226

so we can use ar like every other directory

23 years agoSTABLE12-irix-ip35-tweak-kernel-cflags-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:10:25 +0000 (20:10 +0000)]
STABLE12-irix-ip35-tweak-kernel-cflags-20011226

based on doc provided by gwehrman@sgi.com

23 years agoSTABLE12-linux-dont-require-osi-vfs-to-be-installed-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:09:03 +0000 (20:09 +0000)]
STABLE12-linux-dont-require-osi-vfs-to-be-installed-20011226

based on reports from hartmans@mit.edu and jhutz@cmu.edu

23 years agoSTABLE12-irix-first-pass-at-ip35-support-20011226
Derrick Brashear [Wed, 26 Dec 2001 20:07:53 +0000 (20:07 +0000)]
STABLE12-irix-first-pass-at-ip35-support-20011226

based on extensive feedback from Forest Godfrey and Michael Raymond
of SGI

23 years agoSTABLE12-sgi-ip20-work-around-cvt-bug-20011226
Chas Williams [Wed, 26 Dec 2001 20:04:45 +0000 (20:04 +0000)]
STABLE12-sgi-ip20-work-around-cvt-bug-20011226

"apparently the rev 1 r5000 chips implement 'cvt' incorrectly.  the irix
kernel works around this problem by checking each text page mapped into
memory and doing a fixup on the cvt instructions.  it tries to maintain
a hash of these pages using fid2() or fid() if fid2() returns ENOSYS.
afs, in an effort to prevent people from doing checkpoints on an afs
filesystem, makes fid2() return EINVAL.  this also keeps the kernel from
mapping executables that are in afs space on the broken r5000's.

this is the patch i have been using for the past couple years while
waiting for an official fix.  it makes fid2() return ENOSYS, so you
now need to have to have v_ckpt.  however i disabled the rest of the
CKPT code since i have no idea how well that code actually works.
additionally, this behavior is only functional on machines with the
'broken' r5000 h/w.  i cant think of a better way to fix this problem
since i cant change the irix kernel."

23 years agoSTABLE12-top-makefile-make-installs-not-depend-on-extra-building-20011226
Derek Atkins [Wed, 26 Dec 2001 20:01:38 +0000 (20:01 +0000)]
STABLE12-top-makefile-make-installs-not-depend-on-extra-building-20011226

kernel and usermode need not depend on each other at install time

23 years agoSTABLE12-junk-redhat-sh-since-configure-tests-cover-us-20011226
Nathan Neulinger [Wed, 26 Dec 2001 19:54:59 +0000 (19:54 +0000)]
STABLE12-junk-redhat-sh-since-configure-tests-cover-us-20011226

we don't need this anymore

23 years agoSTABLE12-bozo-getcellhost-takes-uint32-not-int32-20011226
Nickolai Zeldovich [Wed, 26 Dec 2001 19:30:34 +0000 (19:30 +0000)]
STABLE12-bozo-getcellhost-takes-uint32-not-int32-20011226

pass in a uint32 rather than an int32

24 years agoSTABLE12-windows-updates-20011121 openafs-stable-1_2_2a
James Peterson [Wed, 21 Nov 2001 06:45:40 +0000 (06:45 +0000)]
STABLE12-windows-updates-20011121

missed updates needed for next release

(cherry picked from commit 6a0443bdcce0bde8af06af0da929cff6a693ead3)

24 years agoSTABLE12-windows-updates-including-dont-lose-tokens-20011110
James Peterson [Thu, 15 Nov 2001 03:38:06 +0000 (03:38 +0000)]
STABLE12-windows-updates-including-dont-lose-tokens-20011110

pull token lossage issue fix onto stable

(cherry picked from commit de99fc23d41b57902b36b10179a8129da9b8b0ff)

24 years agoSTABLE12-dynamic-root-allocate-space-for-dot-and-dotdot-20011102
Nickolai Zeldovich [Thu, 15 Nov 2001 03:31:23 +0000 (03:31 +0000)]
STABLE12-dynamic-root-allocate-space-for-dot-and-dotdot-20011102

reserve space for . and .. in dynroot/freelance

24 years agoSTABLE12-freelance-updates-20011031
Jeff Riegel [Thu, 15 Nov 2001 03:30:08 +0000 (03:30 +0000)]
STABLE12-freelance-updates-20011031

freelance client updates

(cherry picked from commit c1d1a27ba99284b8877f4449f2871eb81a9b31ce)

24 years agoSTABLE12-dux-kernel-lacks-mem-functions-20011016
Derrick Brashear [Thu, 15 Nov 2001 03:20:55 +0000 (03:20 +0000)]
STABLE12-dux-kernel-lacks-mem-functions-20011016

pull into stable (kernel lacks memcpy memset memcmp)

(cherry picked from commit 50b3a0fb22403b250585cbc3d7c4cd17440840d5)

24 years agoSTABLE12-darwin-remove-obsolete-plist-20011110
Chaskiel M Grundman [Sat, 10 Nov 2001 23:27:36 +0000 (23:27 +0000)]
STABLE12-darwin-remove-obsolete-plist-20011110

we have kernel-specific plists now

24 years agoSTABLE12-darwin-14-support-for-stable-20011110
Chaskiel M Grundman [Sat, 10 Nov 2001 23:22:48 +0000 (23:22 +0000)]
STABLE12-darwin-14-support-for-stable-20011110

support for the old build system for darwin 1.4

24 years agoSTABLE12-disable-client-inlinebulk-20011013 openafs-stable-1_2_2
Derrick Brashear [Sat, 13 Oct 2001 06:24:56 +0000 (06:24 +0000)]
STABLE12-disable-client-inlinebulk-20011013

until we can remember which servers support it

(cherry picked from commit d4c039ce1a5747dc4b8acfacba766d2b2671bb26)

24 years agoSTABLE12-add-relnotes-for-122-20011013
Derrick Brashear [Sat, 13 Oct 2001 06:22:33 +0000 (06:22 +0000)]
STABLE12-add-relnotes-for-122-20011013

1.2.2 release notes

24 years agoSTABLE12-update-news-file-20011013
Derrick Brashear [Sat, 13 Oct 2001 05:54:59 +0000 (05:54 +0000)]
STABLE12-update-news-file-20011013

make NEWS file up to date

(cherry picked from commit a158978f851a97c93a350fa3bce127f9e0db052a)

24 years agoSTABLE12-resync-stable-with-head-20011013
Derrick Brashear [Sat, 13 Oct 2001 05:36:14 +0000 (05:36 +0000)]
STABLE12-resync-stable-with-head-20011013

cheat and pull everything as one delta

24 years agoSTABLE12-dux-vfsck-check-for-mounted-filesystem-20010919 openafs-stable-1_2_1
Mattias Amnefelt [Sat, 22 Sep 2001 00:49:39 +0000 (00:49 +0000)]
STABLE12-dux-vfsck-check-for-mounted-filesystem-20010919

modified by shadow@dementia.org for dux 4.0a (ifndef UID_NO_CHANGE case)

(cherry picked from commit 7d317a0e27dc64a2f4629577a6420273f69be047)

24 years agoSTABLE12-darwin-optimize-and-fix-dirpath-20010920
Chaskiel M Grundman [Thu, 20 Sep 2001 21:12:33 +0000 (21:12 +0000)]
STABLE12-darwin-optimize-and-fix-dirpath-20010920

apply optimization and dirpath mods (for darwin/macosx with same binaries)
to stable also

(cherry picked from commit 9175ce36fbd575bf6a9f146a45930c6f8e580584)

24 years agoSTABLE12-undo-linux-call-afs-dopartialwrite-20010920
Derrick Brashear [Thu, 20 Sep 2001 06:10:38 +0000 (06:10 +0000)]
STABLE12-undo-linux-call-afs-dopartialwrite-20010920

scrap this approach

(cherry picked from commit 9d50b935e36ef7831f5172f1ac8c8dee52d61710)

24 years agoSTABLE12-openafs-relnotes-1_2_1-20010920
Derrick Brashear [Thu, 20 Sep 2001 05:02:38 +0000 (05:02 +0000)]
STABLE12-openafs-relnotes-1_2_1-20010920

add release notes for 1.2.1

24 years agoSTABLE12-ubik-fix-typo-20010919
Derrick Brashear [Thu, 20 Sep 2001 04:58:52 +0000 (04:58 +0000)]
STABLE12-ubik-fix-typo-20010919

somehow this crept in

(cherry picked from commit e667ec654b7d14fd0ef228dd9acbda974ba6825a)

24 years agoSTABLE12-winnt-dont-do-unneeded-version-check-20010918
James Peterson [Thu, 20 Sep 2001 00:19:40 +0000 (00:19 +0000)]
STABLE12-winnt-dont-do-unneeded-version-check-20010918

make afs config wizard not complain about version < 3.5

(cherry picked from commit 67081b64c9794550315bcd24bb8ecf8431cd260e)

24 years agoSTABLE12-news-include-windows-updates-20010918
Shyh-Wei Luan [Thu, 20 Sep 2001 00:16:39 +0000 (00:16 +0000)]
STABLE12-news-include-windows-updates-20010918

list windows client user-visible changes

(cherry picked from commit 62ea64e63aa97efdd2b231e91ed00565bad93891)