openafs.git
19 years agocvsignore-update-for-autoconf-25-20020325
Nathan Neulinger [Mon, 25 Mar 2002 18:30:09 +0000]
cvsignore-update-for-autoconf-25-20020325

autoconf 2.5x turds to ignore

19 years agoconvert-linux-macros-for-inodes-appropriately-20020325
Derrick Brashear [Mon, 25 Mar 2002 18:09:22 +0000]
convert-linux-macros-for-inodes-appropriately-20020325

even though right now a vnode and an inode are basically but not exactly
the same, part of the usefulness of this change is the ability to convert
to inodes linked from vcaches later. make the macros fit with this view of the
fture

19 years agoconvert-vcache-casts-to-macros-20020325
Johan Danielsson [Mon, 25 Mar 2002 17:39:55 +0000]
convert-vcache-casts-to-macros-20020325

convert vcache casting in cache manager to macros

should ease further changes later

19 years agoClean up some more ViceLog calls to consistently refer to hosts in a
Nickolai Zeldovich [Sun, 24 Mar 2002 23:39:01 +0000]
Clean up some more ViceLog calls to consistently refer to hosts in a
format like 18.239.2.102:7001, rather than memory address or hex IP.

19 years agoVerify that name lengths are at most AFSNAMEMAX and symlink
Nickolai Zeldovich [Sun, 24 Mar 2002 19:21:35 +0000]
Verify that name lengths are at most AFSNAMEMAX and symlink
contents are at most AFSPATHMAX (notably, the Linux kernel
doesn't check this for us); bug report by nneul@umr.edu.

19 years agoInitialize tvc in afs_remove so that we don't call afs_PutVCache
Nickolai Zeldovich [Sun, 24 Mar 2002 19:08:45 +0000]
Initialize tvc in afs_remove so that we don't call afs_PutVCache
on stack garbage in case of some failure.

19 years agorx-glock-order-headers-correctly-so-its-defined-or-not-consistently-20020322
Nathan Neulinger [Fri, 22 Mar 2002 21:56:44 +0000]
rx-glock-order-headers-correctly-so-its-defined-or-not-consistently-20020322

fix for earlier change to RX_AFS_GLOCK()

19 years agoafs-memcachetruncate-takes-memcacheentry-not-inode-20020321
Derrick Brashear [Thu, 21 Mar 2002 18:44:19 +0000]
afs-memcachetruncate-takes-memcacheentry-not-inode-20020321

prototyping caught this; the usage is inconsistent with other cases and
i believe this is the correct fix. it's not clear to me why we weren't seeing
problems from this, though

19 years agoafs-checkservers-call-getuser-with-cell-index-20020321
Nathan Neulinger [Thu, 21 Mar 2002 18:11:50 +0000]
afs-checkservers-call-getuser-with-cell-index-20020321

this means to be calling afs_GetUser with a cell index, not with the cell
structure itself

19 years agorxkad-regression-test-20020228
Love Hörnquist-Åstrand [Wed, 20 Mar 2002 18:59:56 +0000]
rxkad-regression-test-20020228

regression test for rxkad

19 years agotru64-avoid-leaking-vnodes-when-failure-20020320
Mattias Amnefelt [Wed, 20 Mar 2002 18:38:28 +0000]
tru64-avoid-leaking-vnodes-when-failure-20020320

tru64 needs vrele when an error happens, rather than just returning. make
sure we do so

19 years ago(no commit message)
Nathan Neulinger [Tue, 19 Mar 2002 22:03:30 +0000]

19 years agosys-add-aix-syscall-exports-removed-incorrectly-earlier-20020319
Derrick Brashear [Tue, 19 Mar 2002 22:01:30 +0000]
sys-add-aix-syscall-exports-removed-incorrectly-earlier-20020319

to export syscalls as functions you need the magic exp file

====================
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 also reinstall them for the user cache manager library

19 years agoAllocate the exact string length needed for the string in symlink
Nickolai Zeldovich [Mon, 18 Mar 2002 03:03:04 +0000]
Allocate the exact string length needed for the string in symlink
contents, rather than assuming that symlink data never contains
nulls (or that it's of the length we expect).

19 years agoCall afs_PutCell after afs_GetCellByIndex, even though right
Nickolai Zeldovich [Mon, 18 Mar 2002 02:51:13 +0000]
Call afs_PutCell after afs_GetCellByIndex, even though right
now it doesn't do anything.

19 years agonbsd-fileserver-dont-leak-fds-20020317
Love Hörnquist-Åstrand [Sun, 17 Mar 2002 17:59:04 +0000]
nbsd-fileserver-dont-leak-fds-20020317

file server now works usefully on netbsd

19 years agocallback-function-fixes-20020317
Derrick Brashear [Sun, 17 Mar 2002 17:53:00 +0000]
callback-function-fixes-20020317

suggested by lha@stacken.kth.se

drop locks when rxi_Alloc fails, and rework SRXAFSCB_GetCellServDB to use
afs_GetCellByIndex. He suggested same for GetLocalCell, and as long as cell 1
and not CPrimary is the local cell indicator that works, but I left that part
of the code as is for now.

19 years agoAdd a -cache flag to cmdebug to remotely obtain cache manager configuration
Nickolai Zeldovich [Sat, 16 Mar 2002 22:17:29 +0000]
Add a -cache flag to cmdebug to remotely obtain cache manager configuration
parameters.

19 years agoFix typo: OMIT_FRAME_POINTER not FOMIT_FRAME_POINTER
Nathan Neulinger [Thu, 14 Mar 2002 19:57:12 +0000]
Fix typo: OMIT_FRAME_POINTER not FOMIT_FRAME_POINTER

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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()

19 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

19 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

19 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

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

19 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)

19 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

19 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

19 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

19 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

19 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

19 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

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

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

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

19 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

19 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

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

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

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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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)

19 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

19 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

19 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)

19 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)

19 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)

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

19 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

19 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

19 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

19 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

19 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

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

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

19 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().

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

19 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

19 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

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

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

19 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

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

19 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().

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

19 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

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

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

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

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

19 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

19 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

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

19 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

19 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

19 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()

19 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

19 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

19 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

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

19 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

19 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

19 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