Commit Graph

929 Commits

Author SHA1 Message Date
Derrick Brashear
0eb68f307a 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
2002-05-14 21:21:09 +00:00
Garry Zacheiss
50473f885f Update NEWS file with user visible changes in 1.2.4. 2002-05-13 02:20:40 +00:00
Nickolai Zeldovich
81a3f0068f Avoid kernel panic when dynroot and memcache are used simultaneously. 2002-05-09 21:37:29 +00:00
Derrick Brashear
ee798e49f2 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)
2002-05-09 16:56:46 +00:00
Garry Zacheiss
bac8c82547 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.
2002-05-07 21:01:27 +00:00
Nickolai Zeldovich
6aae6c0284 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.
2002-05-06 08:13:10 +00:00
Chas Williams
eea3bf3d43 Include afs_osidnlc.h for osi_dnlc_lookup() prototype. Apparently
fixes a panic on ia64.
2002-05-03 20:03:34 +00:00
Chas Williams
1e90eb2648 linux-ia64-build-pam-module-20020502
keep small globals from being gprel
2002-05-02 16:11:14 +00:00
Chas Williams
25de65bc0b linux-ia64-no-asm-syscall-stubs-20020502
rewrite syscall stubs not in machine code
2002-05-02 15:38:16 +00:00
Kevin Coffman
7147cc946b linux-revalidate-root-always-good-20020502
avoid ESTALE in 2.4.19-pre7
2002-05-02 07:35:33 +00:00
Chaskiel M Grundman
ea0b193c19 README-NT-provide-file-locations-20020429
give people a clue where to get things from
2002-04-30 01:24:11 +00:00
Srikanth Vishwanathan
5cbc233c64 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.
2002-04-30 00:40:22 +00:00
Chaskiel M Grundman
c2e075fba4 darwin-use-namei-fileserver-20020429
build the right fileserver on darwin
2002-04-29 16:31:54 +00:00
Chaskiel M Grundman
291e8352be cvsignore-updates-20020429
add missed fc_test
2002-04-29 16:32:24 +00:00
Nickolai Zeldovich
a319288157 If the inode is not allocated, don't bother updating timestamps.
Pointed out by Frank.Batschulat@Sun.COM.
2002-04-26 22:33:55 +00:00
Nickolai Zeldovich
be1458b078 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.
2002-04-26 22:27:29 +00:00
Chaskiel M Grundman
1ccedea1a0 darwin-map-more-versions-20020425
5.3 and 5.4 are "Same" enough
2002-04-25 22:44:53 +00:00
Chaskiel M Grundman
0c0eb03e9a rxkad-stats-initialize-to-placate-darwin-compiler-20020425
because it deals badly with common symbols
2002-04-25 22:18:23 +00:00
Chas Williams
8268bf34ac linux-ia64-cleanup-casting-20020423
so we don't need the SYSCALL2POINTER change
2002-04-23 14:45:51 +00:00
Chaskiel M Grundman
5d57da192e sparc64-linux-and-setgroups32-cleanup-20020422
update setgroups32 for 2.4 and make sparc64 linux2.4 work again
2002-04-23 04:26:36 +00:00
Chas Williams
e12859bed9 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...
2002-04-23 04:03:29 +00:00
Nickolai Zeldovich
27595ffcd9 The heldp argument to h_Lookup should be an int* rather than int,
as pointed out by amu@alum.mit.edu.
2002-04-22 18:16:16 +00:00
Chaskiel M Grundman
6d43ab450a darwin-vnops-make-unlink-fix-fake-references-20020422
so unlink doesn't panic us
2002-04-22 17:05:10 +00:00
Jeremy Stribling
df363edad1 libadmin-pts-allow-listing-all-users-and-groups-20020422
so the java api can take advantage of this
2002-04-22 16:42:21 +00:00
Derrick Brashear
7158ef3ae5 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
2002-04-17 23:29:04 +00:00
Nickolai Zeldovich
d4493526a7 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.
2002-04-15 22:36:00 +00:00
Nickolai Zeldovich
301d83202c Pass &treq to afsrename() when preserving a currently-open file. 2002-04-11 08:18:11 +00:00
Nickolai Zeldovich
a1925f8caf Fix more places where afs_EvalFakeStat arguments were out of order 2002-04-09 20:21:59 +00:00
Pavel Semerad
c2109aba5c fakestat-fix-eval-args-ordering-20020409
fixed bad args ordering in call to afs_EvalFakeStat
2002-04-09 19:08:10 +00:00
Derrick Brashear
7747fce7e7 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
2002-04-05 19:13:32 +00:00
Derrick Brashear
607c17c8a9 solaris-nfstrans-make-it-compile-20020404
it compiles. it's not pretty, but it does compile
2002-04-04 20:03:13 +00:00
Nickolai Zeldovich
7c20aa6082 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.
2002-04-03 07:20:07 +00:00
Nickolai Zeldovich
999c7fb70d Don't make tvc a register, since we want to dereference it later on.
Pointed out by nneul@umr.edu.
2002-04-02 18:35:03 +00:00
Nickolai Zeldovich
6b33ed2b05 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'.
2002-04-02 06:09:48 +00:00
Nickolai Zeldovich
fd318a1fc9 Fix build on Darwin (missing close paren). 2002-04-01 20:18:50 +00:00
David Bailey
b0e4e7bcbf 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.
2002-04-01 17:25:37 +00:00
Nickolai Zeldovich
b08f021fc9 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.
2002-03-30 18:02:40 +00:00
Derrick Brashear
8011b683bc afs-dont-mask-rights-granted-by-lookup-20020328
lookup is sufficient for this, fix the client not to bogusly
enforce extra restrictions
2002-03-28 22:00:55 +00:00
Derrick Brashear
4beb9adb66 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.
2002-03-28 20:43:03 +00:00
Nathan Neulinger
1ad668aee2 fstrace-fix-memory-leak-20020325
avoid leaking catalog reference on failure
2002-03-25 18:35:07 +00:00
Nathan Neulinger
13f864f21e cvsignore-update-for-autoconf-25-20020325
autoconf 2.5x turds to ignore
2002-03-25 18:30:09 +00:00
Derrick Brashear
39ee79e7c3 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
2002-03-25 18:09:22 +00:00
Johan Danielsson
3bf8818d95 convert-vcache-casts-to-macros-20020325
convert vcache casting in cache manager to macros

should ease further changes later
2002-03-25 17:39:55 +00:00
Nickolai Zeldovich
c4ac62f829 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.
2002-03-24 23:39:01 +00:00
Nickolai Zeldovich
41f047edf6 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.
2002-03-24 19:21:35 +00:00
Nickolai Zeldovich
0329c5fbb4 Initialize tvc in afs_remove so that we don't call afs_PutVCache
on stack garbage in case of some failure.
2002-03-24 19:08:45 +00:00
Nathan Neulinger
d30a319f8d rx-glock-order-headers-correctly-so-its-defined-or-not-consistently-20020322
fix for earlier change to RX_AFS_GLOCK()
2002-03-22 21:56:44 +00:00
Derrick Brashear
ef1ee322de 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
2002-03-21 18:44:19 +00:00
Nathan Neulinger
4f1ca9bb2e 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
2002-03-21 18:11:50 +00:00
Love Hörnquist-Åstrand
f749ef6e02 rxkad-regression-test-20020228
regression test for rxkad
2002-03-20 18:59:56 +00:00