Chaskiel M Grundman [Tue, 21 May 2002 06:30:27 +0000]
pts-sysviewer-should-be-able-to-listowned-
20020521
fix so the "any reader" can really read anythinmg
Derrick Brashear [Thu, 16 May 2002 14:54:42 +0000]
NT-dirpath-copy-in-useful-file-
20020516
basically until NT port has been properly set up to deal with dirpath, make
it work as before
Derrick Brashear [Thu, 16 May 2002 14:47:28 +0000]
afs-attrs-cast-date-to-int-to-avoid-negative-dates-
20020516
cheap hack to avoid negative date problem which occasionally plagues solaris
Nathan Neulinger [Thu, 16 May 2002 13:54:56 +0000]
pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-
20020516
some versions of gcc compile the if used to decide whether to allocate a pag
badly. make life easier.
Derek Atkins [Wed, 15 May 2002 21:04:15 +0000]
osi_linux_unmask() needs to explicitly flush_signals() before calling
recalc_sigpending(), otherwise recent kernels don't appear to deliver
new instances of any signals already received.
Revert back to using SIGKILL at shutdown time, but use SIGKILL instead of
explicitly using signal 9, because abstraction is your friend.
Derek Atkins [Tue, 14 May 2002 23:56:40 +0000]
Seems to fix a hang at shutdown time seen on Redhat 7.3 kernels; doesn't
appear to affect older kernels.
Derek Atkins [Tue, 14 May 2002 23:48:35 +0000]
Allows us to build modules for the bigmem kernels redhat started shipping.
Derrick Brashear [Tue, 14 May 2002 21:21:09 +0000]
dir-hold-afs-bufferlock-across-increment-of-buffer-lockers-to-prevent-newslot-from-walking-on-stuff-
20020514
liberal debugging code and hammering produced a failure where newslot was
actually walking on another call to newslot because the bufferlock was
being dropped before newslot incremented lockers on the buffer it
was allocating, allowing someone else to come along and also think they
could allocate it.
by holding the bufferlock just a little longer we avoid this
Garry Zacheiss [Mon, 13 May 2002 02:20:40 +0000]
Update NEWS file with user visible changes in 1.2.4.
Nickolai Zeldovich [Thu, 9 May 2002 21:37:29 +0000]
Avoid kernel panic when dynroot and memcache are used simultaneously.
Derrick Brashear [Thu, 9 May 2002 16:56:46 +0000]
viced-cleanup-dirhandle-references-after-ourselves-
20020509
doesn't fix any problem that i can find, but results in ihandles not
having thousands of bogus references (and may fix problems if refcnt were to wrap)
Garry Zacheiss [Tue, 7 May 2002 21:01:27 +0000]
Use vsu_ExtractName() to get the RW volume name before doing the vid lookup
for addsite and remsite operations, since "vos addsite foo.bar.readonly" is
such a common thinko.
Nickolai Zeldovich [Mon, 6 May 2002 08:13:10 +0000]
Undo need-prototype-for-osi-dnlc-lookup-
20020503, as it created
double inclusion of afs_osidnlc.h.
An equivalent patch was already present in the mainline as part of
linux-dcache-inconsistency-fix-
20020115, but its pullup to the stable
branch, STABLE12-linux-dcache-inconsistency-fix-
20020120, was oddly
missing this particular part of the diff.
Chas Williams [Fri, 3 May 2002 20:03:34 +0000]
Include afs_osidnlc.h for osi_dnlc_lookup() prototype. Apparently
fixes a panic on ia64.
Chas Williams [Thu, 2 May 2002 16:11:14 +0000]
linux-ia64-build-pam-module-
20020502
keep small globals from being gprel
Chas Williams [Thu, 2 May 2002 15:38:16 +0000]
linux-ia64-no-asm-syscall-stubs-
20020502
rewrite syscall stubs not in machine code
Kevin Coffman [Thu, 2 May 2002 07:35:33 +0000]
linux-revalidate-root-always-good-
20020502
avoid ESTALE in 2.4.19-pre7
Chaskiel M Grundman [Tue, 30 Apr 2002 01:24:11 +0000]
README-NT-provide-file-locations-
20020429
give people a clue where to get things from
Srikanth Vishwanathan [Tue, 30 Apr 2002 00:40:22 +0000]
vol-ihandle-cleanup-
20020429
this does fix some potential problems, even if none of them are the
CopyOnWrite problem. basically, ih_reallyclose() could reinsert a now-unref'd
fd handle into the wrong list when cleaning up, and this cleans up the code
considerably.
Chaskiel M Grundman [Mon, 29 Apr 2002 16:31:54 +0000]
darwin-use-namei-fileserver-
20020429
build the right fileserver on darwin
Chaskiel M Grundman [Mon, 29 Apr 2002 16:32:24 +0000]
cvsignore-updates-
20020429
add missed fc_test
Nickolai Zeldovich [Fri, 26 Apr 2002 22:33:55 +0000]
If the inode is not allocated, don't bother updating timestamps.
Pointed out by Frank.Batschulat@Sun.COM.
Nickolai Zeldovich [Fri, 26 Apr 2002 22:27:29 +0000]
Don't spawn a separate kernel thread for rx kernel listener under
Solaris, but instead just use the afsd fork for the listener. Use
of newproc() is deprecated, according to Frank.Batschulat@Sun.COM.
Chaskiel M Grundman [Thu, 25 Apr 2002 22:44:53 +0000]
darwin-map-more-versions-
20020425
5.3 and 5.4 are "Same" enough
Chaskiel M Grundman [Thu, 25 Apr 2002 22:18:23 +0000]
rxkad-stats-initialize-to-placate-darwin-compiler-
20020425
because it deals badly with common symbols
Chas Williams [Tue, 23 Apr 2002 14:45:51 +0000]
linux-ia64-cleanup-casting-
20020423
so we don't need the SYSCALL2POINTER change
Chaskiel M Grundman [Tue, 23 Apr 2002 04:26:36 +0000]
sparc64-linux-and-setgroups32-cleanup-
20020422
update setgroups32 for 2.4 and make sparc64 linux2.4 work again
Chas Williams [Tue, 23 Apr 2002 04:03:29 +0000]
linux-ia64-updates-
20020422
updates to make it work with later 2.4
SYSCALL2POINTER change may be unnecessary (sparc64 way should work)
but without any way to test...
Nickolai Zeldovich [Mon, 22 Apr 2002 18:16:16 +0000]
The heldp argument to h_Lookup should be an int* rather than int,
as pointed out by amu@alum.mit.edu.
Chaskiel M Grundman [Mon, 22 Apr 2002 17:05:10 +0000]
darwin-vnops-make-unlink-fix-fake-references-
20020422
so unlink doesn't panic us
Jeremy Stribling [Mon, 22 Apr 2002 16:42:21 +0000]
libadmin-pts-allow-listing-all-users-and-groups-
20020422
so the java api can take advantage of this
Derrick Brashear [Wed, 17 Apr 2002 23:29:04 +0000]
ubik-allow-netinfo-netrestrict-to-mask-address-pointed-to-by-hostname-
20020417
if you really want to mask the IP address from gethostbyname(gethostname())
there's not really any reason to stand in your way
Nickolai Zeldovich [Mon, 15 Apr 2002 22:36:00 +0000]
Make h_Lookup_r return the host held, and ensure that it's not
deleted at that point; otherwise, the host may be deleted by
another thread between a call to h_Lookup_r and the time when
we actually get around to h_Hold'ing it.
Nickolai Zeldovich [Thu, 11 Apr 2002 08:18:11 +0000]
Pass &treq to afsrename() when preserving a currently-open file.
Nickolai Zeldovich [Tue, 9 Apr 2002 20:21:59 +0000]
Fix more places where afs_EvalFakeStat arguments were out of order
Pavel Semerad [Tue, 9 Apr 2002 19:08:10 +0000]
fakestat-fix-eval-args-ordering-
20020409
fixed bad args ordering in call to afs_EvalFakeStat
Derrick Brashear [Fri, 5 Apr 2002 19:13:32 +0000]
linux-newvcache-more-simplification-
20020405
based on suggestion from vsrikanth@in.ibm.com
eliminate extra for loop, flatten function to drop dentries, fix
locking error i introduced
Derrick Brashear [Thu, 4 Apr 2002 20:03:13 +0000]
solaris-nfstrans-make-it-compile-
20020404
it compiles. it's not pretty, but it does compile
Nickolai Zeldovich [Wed, 3 Apr 2002 07:20:07 +0000]
Clear the RX_CONN_ATTACHWAIT flag when an asymmetric client's calls
time out; otherwise, the client could be locked out until the conn
is recycled.
Nickolai Zeldovich [Tue, 2 Apr 2002 18:35:03 +0000]
Don't make tvc a register, since we want to dereference it later on.
Pointed out by nneul@umr.edu.
Nickolai Zeldovich [Tue, 2 Apr 2002 06:09:48 +0000]
Initial fakestat support (fake mountpoint directory attributes).
Useful for quickly stat'ing everything under /afs, for instance.
Reasonably tested on Solaris, and appears to work on Linux too.
Enable with 'afsd -fakestat'.
Nickolai Zeldovich [Mon, 1 Apr 2002 20:18:50 +0000]
Fix build on Darwin (missing close paren).
David Bailey [Mon, 1 Apr 2002 17:25:37 +0000]
winnt-servermgr-use-existing-creds-option-
20020401
This adds /useexisting to use current AFS creds, bypassing the initial authentication
dialog box. It's useful if you're not running kaserver (i.e. if you've moved
over to kerberos 5) and can't authenticate again by the normal AFS means.
Nickolai Zeldovich [Sat, 30 Mar 2002 18:02:40 +0000]
Add osi_Assert()'s around pthread_{cond,mutex}_* calls to make sure
we aren't getting errors anywhere.
Update the documentation/comments about Rx lock ordering.
Fix possible deadlock in asymmetric client detection code.
Derrick Brashear [Thu, 28 Mar 2002 22:00:55 +0000]
afs-dont-mask-rights-granted-by-lookup-
20020328
lookup is sufficient for this, fix the client not to bogusly
enforce extra restrictions
Derrick Brashear [Thu, 28 Mar 2002 20:43:03 +0000]
linux-dcache-create-negative-dentries-22-needs-while-still-avoiding-vlru-cycle-
20020328
based on patch by Srikanth Vishwanathan and modifications based on suggestions
from Ted Anderson applicable to this part of the code.
the original theory we operated under, namely that negative dentries
could be banished entirely, causes file creation to stop working
under linux 2.2 kernels. reverting that change means we have to deal with
these negative dentries, and Srikanth's original suggested patch does so.
Nathan Neulinger [Mon, 25 Mar 2002 18:35:07 +0000]
fstrace-fix-memory-leak-
20020325
avoid leaking catalog reference on failure
Nathan Neulinger [Mon, 25 Mar 2002 18:30:09 +0000]
cvsignore-update-for-autoconf-25-
20020325
autoconf 2.5x turds to ignore
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
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
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.
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.
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.
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()
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
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
Love Hörnquist-Åstrand [Wed, 20 Mar 2002 18:59:56 +0000]
rxkad-regression-test-
20020228
regression test for rxkad
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
Nathan Neulinger [Tue, 19 Mar 2002 22:03:30 +0000]
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
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).
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.
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
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.
Nickolai Zeldovich [Sat, 16 Mar 2002 22:17:29 +0000]
Add a -cache flag to cmdebug to remotely obtain cache manager configuration
parameters.
Nathan Neulinger [Thu, 14 Mar 2002 19:57:12 +0000]
Fix typo: OMIT_FRAME_POINTER not FOMIT_FRAME_POINTER
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.
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
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
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
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
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
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
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
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()
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
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
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
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.
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)
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
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
Nickolai Zeldovich [Thu, 28 Feb 2002 06:34:15 +0000]
Use AFS_RXDEADTIME instead of hardcoding a value of 50
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
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
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
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.
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.
Nickolai Zeldovich [Tue, 26 Feb 2002 22:53:59 +0000]
Fix more build problems due to prototypes produced by rxgen.
Nathan Neulinger [Tue, 26 Feb 2002 16:47:33 +0000]
comerr-fix-objdir-builds-after-sun-make-change-
20020226
use lex source from srcdir
Nickolai Zeldovich [Tue, 26 Feb 2002 16:44:54 +0000]
ubik_tid and ubik_version now come from ubik-int.h
Nickolai Zeldovich [Mon, 25 Feb 2002 09:31:08 +0000]
Fix some of the fallout from having rxgen-fabricated prototypes.
Nickolai Zeldovich [Sat, 23 Feb 2002 09:38:11 +0000]
Make sure we have enough memory to allocate the return list.
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.
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.
Nickolai Zeldovich [Fri, 22 Feb 2002 08:03:30 +0000]
Fix build when INSTRUMENT_LOCKS isn't defined
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
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
Derrick Brashear [Thu, 21 Feb 2002 06:31:13 +0000]
test-suite-update-ka-database-
20020221
cached copy that works
Derrick Brashear [Thu, 21 Feb 2002 06:25:34 +0000]
bos-listkeys-fix-test-
20020221
cksum can be either number