Commit Graph

1008 Commits

Author SHA1 Message Date
Nickolai Zeldovich
cc8f0afbad Avoid deadlocking with afs_ResetVolumeInfo in InstallVolumeInfo and
InstallNVolumeInfo, like we already do in InstallUVolumeInfo.
2002-01-30 16:16:23 +00:00
Derrick Brashear
79afed93d2 readd-t-uniq-bad-as-binary-20020129
oops
2002-01-29 22:34:13 +00:00
Nickolai Zeldovich
41fb11e6b2 Block all signals while sleeping; this prevents 100% cpu usage
when a process waiting for an afs operation to complete receives
a signal.
2002-01-29 17:36:20 +00:00
Nickolai Zeldovich
905b71014b Properly release GLOCK when trying to mount AFS a second time. 2002-01-29 17:26:26 +00:00
Nickolai Zeldovich
30c69dae28 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.
2002-01-29 16:07:27 +00:00
Derrick Brashear
b01f9b7673 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.
2002-01-28 21:32:20 +00:00
Nickolai Zeldovich
62bc57574a rx-dont-include-arraysize-in-offsetof-20020125
so this compiles on irix
2002-01-26 03:40:30 +00:00
Derrick Brashear
4ff68264b6 linux-afsd-pids-block-signals-so-we-dont-need-to-flush-20020124
no point in keeping this around
2002-01-24 20:13:22 +00:00
David Howells
367008ec65 linux-conf-fix-type-which-crept-in-20020124
"oops"
2002-01-24 18:09:28 +00:00
Derrick Brashear
f2d38d3683 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
2002-01-24 10:46:42 +00:00
Derrick Brashear
5c2a4168a6 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
2002-01-24 10:42:34 +00:00
Derrick Brashear
a89079efff 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()
2002-01-24 10:09:13 +00:00
Derrick Brashear
1f3f7bc3ef 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
2002-01-23 19:27:39 +00:00
Derrick Brashear
271fdc46b1 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
2002-01-23 18:49:59 +00:00
Omkar Sathe
2742ca8a8b solaris-wait-for-listenerproc-to-exit-20020123
like linux, actually wait for listenerproc to finish before freeing the socket
2002-01-23 18:48:18 +00:00
Derrick Brashear
e91fca84fd rework-linux-newvcache-clean-up-dentries-20020123
previous pass wasn't SMP-happy. rework closer to original code.
2002-01-23 09:21:54 +00:00
Chaskiel M Grundman
0c239bbb3a linux-afsd-ignore-signals-20020123
ignore signals sent to afsd on linux instead of running out of control

also daemonize ourselves
2002-01-23 07:55:08 +00:00
Derrick Brashear
d19b5e9dff linux24-add-configure-glue-for-new-inode-fields-20020108
sure would be nice if it compiled
2002-01-23 05:09:11 +00:00
Derrick Brashear
8a906250f7 linux-use-results-of-all-inode-configure-tests-20020122
we tested for and then failed to use things before
2002-01-23 00:43:35 +00:00
Nathan Neulinger
ac9352424c hpux11-wants-system-ar-20020122
gnu ar hates empty .o files
2002-01-22 23:31:06 +00:00
Nickolai Zeldovich
8871da3856 linux-fix-mmap-write-20020122
a MAP_SHARED write wasn't being flushed back to the server
2002-01-22 05:51:19 +00:00
Love Hörnquist-Åstrand
2e98a0b1ca rx-cvsignore-rxperf-20020121
cvs shpuld ignore rxperf
2002-01-21 19:34:18 +00:00
Nickolai Zeldovich
7806d0a7d5 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.
2002-01-21 18:05:26 +00:00
Matthew N. Andrews
5bf04219f5 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.
2002-01-21 10:24:12 +00:00
Derrick Brashear
8f4a0c1e27 i-hate-autoconf-20020120
AC_PROG_CC not safe to call this early
2002-01-21 09:14:21 +00:00
Love Hörnquist-Åstrand
e44d1b4232 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
2002-01-20 10:35:21 +00:00
Love Hörnquist-Åstrand
599d747bb0 alpha-netbsd-param-fixes-20020120
make alpha little endian and remove duplicate define
2002-01-20 08:04:44 +00:00
Derrick Brashear
698cb30376 revert-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20020120
causes problems at minimum for linux
2002-01-20 05:42:28 +00:00
Love Hörnquist-Åstrand
121cc34ed8 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.
2002-01-20 05:19:08 +00:00
Love Hörnquist-Åstrand
19835f0a12 rxkad-make-stress-compile-again-20020119
Make stress compile again.
2002-01-20 02:17:12 +00:00
Love Hörnquist-Åstrand
b05cae1382 bosserver-nofork-20020119
Make it easier to debug bosserver by adding a -nofork flag for the !nt40
env's.
2002-01-19 16:31:25 +00:00
Nickolai Zeldovich
c8f461dcb0 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.
2002-01-19 16:28:33 +00:00
Love Hörnquist-Åstrand
7827ac9af1 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
2002-01-19 09:25:19 +00:00
Love Hörnquist-Åstrand
0a94f88f96 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).
2002-01-19 09:21:12 +00:00
Love Hörnquist-Åstrand
a1aba97dbb bozo-misc-cleanup-20020118
- remove bos_util and install it
- ignore it
2002-01-18 21:03:32 +00:00
Love Hörnquist-Åstrand
b769219adf netbsd-alpha-more-patches-20020118
get closer to server working
2002-01-18 20:59:26 +00:00
Nickolai Zeldovich
e0319dc024 largefile-dump-support-20020118
64bit file support for vos dump
2002-01-18 18:47:00 +00:00
Love Hörnquist-Åstrand
60612252e7 netbsd-alpha-start-at-server-support-20020118
not ready yet
adds the concept of a common OS param file
2002-01-18 18:45:27 +00:00
Derrick Brashear
a764c69cbb test-suite-update-README-20020117
reflect new test, ordering
2002-01-17 10:49:35 +00:00
Derrick Brashear
57546d5cf3 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.
2002-01-17 10:47:20 +00:00
Derrick Brashear
7d21d2e916 top-makefile-build-runtests-20020117
make top makefile/configure build run-tests
2002-01-17 10:43:28 +00:00
Derrick Brashear
8597c3e16c test-suite-frontend-mkdir-afs-20020117
mkdir /afs in case
2002-01-17 10:10:37 +00:00
Derrick Brashear
d0473533e7 test-suite-create-cachedir-20020117
take care of case where no cache dir exists yet
2002-01-17 09:33:06 +00:00
Derrick Brashear
4d38e4526f 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.
2002-01-17 09:24:18 +00:00
Derrick Brashear
0d2670b92c testsuite-frontend-restart-bosserver-20020117
so bosserver rereads configs
2002-01-17 07:52:31 +00:00
Derrick Brashear
6ac7ac6bc6 suite-be-less-verbose-20020117
toss more output in the non-verbose case
2002-01-17 07:25:52 +00:00
Derrick Brashear
30807bbcfe ka-util-differently-useless-20020117
drop state here
2002-01-17 06:47:28 +00:00
Derrick Brashear
80ce7296a1 test-script-substitute-fs-path-20020117
don't assume /usr/local/bin
2002-01-17 05:08:45 +00:00
Derrick Brashear
b46bb3881e update-suite-frontend-20020117
fix to use the defined mechanisms to set up bos foo
2002-01-17 05:01:57 +00:00
Derrick Brashear
762ebfc77e test-suite-pick-up-replica-of-root-afs-20020116
run in replicated root
2002-01-17 02:26:16 +00:00