2593 Commits

Author SHA1 Message Date
Derrick Brashear
13b152d990 STABLE14-openafs-1379-20050220
make 1.3.79
openafs-devel-1_3_79
2005-02-21 01:27:59 +00:00
Jeffrey Altman
49e37244b2 STABLE14-windows-misc-20050207
smb3.c: another fix for pattern matching.  Patterns can include '<' and '>'
        instead of '*' and '?'.  Treat any pattern with angle bracket as
        star patterns

afslogon.c: instead of retrying the username lowercased if it is all
        uppercased.  retry the username lowercased if it was not already
        lowercased.  this captures the mixedcase username case.

afskfw.c: If Leash is configured to not import tickets from the MSLSA,
        neither should we.

cm_vnodeops.c: If the second to last component of a path is a symlink and
        the last component cannot be found, return NOSUCHPATH instead of
        FILE_NOT_FOUND.


(cherry picked from commit 641c2b17efbffa523818a950761e612e9fc6f5f7)
2005-02-21 01:16:39 +00:00
Jeffrey Altman
aa8b4a2f56 STABLE14-windows-misc-20050131
afskfw.c: fix cross-realm token acquisition in ANDREW vs CS CMU case

cm_aclent.c: when ACL's timeout, remove them from the associated
   cm_scache_t object's randomACL list and place them on the end
   of the ACL LRU queue

   correct tgtLifetime to be unsigned

smb3.c: fix case sensitive matching


(cherry picked from commit 09feb1be1711dbbe053b572915df4384f488eb0e)
2005-02-21 01:16:20 +00:00
Jeffrey Altman
e5d20a6c5e STABLE14-windows-longfilename-matching-20050203
retry pattern matching when ambiguous matches are found for long file
names


(cherry picked from commit d5495f26ec6e02bc09ad0d6ee6a9a62f545bfd9c)
2005-02-21 01:15:44 +00:00
Jeffrey Hutzelman
f675629a2b STABLE14-unified-osi-probe-2-20050216
FIXES 17548

update osi_probe


(cherry picked from commit cb3ec9004e095a11db6e349d6feef6d08243aa19)
2005-02-21 01:15:34 +00:00
Jeffrey Hutzelman
b812d238cb STABLE14-ubik-remote-ntoa-20050204
afs_inet_ntoa needs a prototype for 64 bit systems


(cherry picked from commit 053e901f6bbd3237ca58147d4986e1c528ae503d)
2005-02-21 01:15:27 +00:00
Chaskiel M Grundman
9da396745e STABLE14-store64-cleanup-20050212
fix several deficiencies in 64 bit file size handling


(cherry picked from commit cefe48fc1353c0f5e2831b8b81443d35e983fc96)
2005-02-21 01:15:21 +00:00
Chas Williams
05bfda27b6 STABLE14-solaris-x8664-support-20050216
FIXES 17628

add amd64 support for solaris 10


(cherry picked from commit 66735f54b79bcc610f6185df98d9caeab8476a8b)
2005-02-21 01:15:04 +00:00
Derrick Brashear
470207699f STABLE14-solais10-declares-mem-funcs-20050212
mem* funcs now declared in sys/systm.h with a different prototype so there's a conflict. (but delcared means they exist, so this is fine)


(cherry picked from commit c92132eba3250d3ef3647b578a363be970496597)
2005-02-21 01:14:57 +00:00
Derrick Brashear
54420a1dbe STABLE14-macos-dont-inactive-vnodes-were-still-referencing-20050203
don't VOP_INACTIVE if we intend to keep using the inode, the refcount will go
bogus


(cherry picked from commit a6f560b80575a246b4ee347622f1fd3f6fdd1420)
2005-02-21 01:14:18 +00:00
Chaskiel M Grundman
58fe839b11 STABLE14-linux-sysincludes-needs-slab-20050211
add linux/slab.h to includes


(cherry picked from commit 8d1d71913cebee105416affa940fe96d63b12696)
2005-02-21 01:13:58 +00:00
Derrick Brashear
73d3e534f1 STABLE14-linux-lwp-work-around-signal-lossage-20050209
some versions of linux seem to lose signals sometimes. very annoying.


(cherry picked from commit 3aaeae0ee6fa13209fff93fd5d9dfe709804cee5)
2005-02-21 01:13:50 +00:00
Guillaume Rousse
dd06cd3168 STABLE14-linux-libafs-fix-20050207
create osi_vfs.h in the right place


(cherry picked from commit 96e09aa1099e7877dffb5134fe24edfa261032b4)
2005-02-21 01:13:37 +00:00
Chas Williams
cf6c38b984 STABLE14-linux-flush-release-rewrite-20050209
FIXES 17509

rewrite afs_linux_release and afs_linux_flush


(cherry picked from commit a0732a579ac1aea9cfdee2de530b3afcffe30bac)
2005-02-21 01:13:24 +00:00
Chaskiel M Grundman
9a21ac04eb STABLE14-linux-avoid-leaking-refs-20050211
FIXES 17451

hopefully this fixes all the not-able-to-unmount leaks


(cherry picked from commit e4552599b0e1d1ef8b8100a901510591f2e0c6b7)
2005-02-21 01:13:04 +00:00
Chas Williams
acf1282e3d STABLE14-linux26-inode-got-i-sb-list-20050204
another thing to do at inode initialization
2005-02-21 01:12:52 +00:00
Chas Williams
785bb3f524 STABLE14-ia64-smp-definition-20050220
FIXES 17640

change how smp is defined so we pick up a mutex


(cherry picked from commit f7ff156ec1f2daf9c9c81c44314034e178132717)
2005-02-21 01:12:43 +00:00
Tom Keiser
49760555b3 STABLE14-fix-multirx-checkservers-20050216
FIXES 17549

put results in an array.


(cherry picked from commit ef85cb144dc433879cfd05d0fd3a380d7ce78098)
2005-02-21 01:12:38 +00:00
Harald Barth
ed74ce6658 STABLE14-fbsd-amd64-20050212
initial fbsd support for amd64


(cherry picked from commit d164b1d311f55af08e020d3d163f67595271b003)
2005-02-21 01:12:09 +00:00
Derrick Brashear
212d9ca658 STABLE14-client-conndeadtime-tunable-20050209
make the fs and not just the vldb interface dead time tunable


(cherry picked from commit 08b998f798b44673f058b6a262c81cc077f20123)
2005-02-21 01:12:03 +00:00
Derrick Brashear
1042530937 STABLE14-1378-20050130
1.3.78 release
openafs-devel-1_3_78
2005-01-31 04:36:55 +00:00
Derrick Brashear
df63d437b9 STABLE14-cleanup-20050130
get all the drift between head and 1.4 branch
2005-01-31 04:34:42 +00:00
Chaskiel M Grundman
5b6fe6a693 STABLE14-linux-tasklist-lock-weak-20050129
FIXES 17424

weak binding to tasklist_lock


(cherry picked from commit 51ec9e099e22e16dbf8aee3333568b9ff26abd3f)
2005-01-31 04:25:31 +00:00
Jeffrey Hutzelman
b3e2c31138 STABLE14-osi-probe-syscall-20050129
FIXES 17405

add osi_probe


(cherry picked from commit f126dbdbe226bb05687f0bcbd0e379431f666219)
2005-01-31 04:25:13 +00:00
Jeffrey Altman
f7bb850073 STABLE14-createx-null-ptr-20050126
Don't release null scps


(cherry picked from commit 4cc0394af02a07a0000dd4ce9384398d8b03a6f4)
2005-01-31 04:24:58 +00:00
Jeffrey Altman
d82351b409 STABLE14-windows-aclent-20050126
Undo the FreeACLEnt lock as it is an automatic deadlock


(cherry picked from commit 4c27de95394d44e2066413de7eca65315b83cacb)
2005-01-31 04:24:44 +00:00
Chas Williams
3e6880c806 STABLE14-revert-afs-indextimes-in-dcache-20050125
FIXES 17377

indexTimes needs to persist, revert for now


(cherry picked from commit ff2e55343fdf14d730825c8e09dbe42b6037abb8)
2005-01-31 04:24:34 +00:00
Jeffrey Altman
27cdf06c28 STABLE14-winnotes-update-20050126
add dr watson info to install notes.

update changes list


(cherry picked from commit e41837e876f7dc947e8718b6dc972b803023eae5)
2005-01-31 04:24:05 +00:00
Jeffrey Altman
c0dc03d391 STABLE14-windows-misc-20050126
* The list of ACL entries was becoming corrupted because the function
    which obtained a free entry was doing so without the appropriate lock
    being held.

  * Changed the default @sys name list to "x86_win32 i386_w2k i386_nt40"
    for 32-bit x86 systems.  The default for itanium will be "ia64_win64"
    and "amd64_win64" for amd 64-bit processors.


(cherry picked from commit 516614090190f34cb74ec741cf06f86384bff4d1)
2005-01-31 04:23:57 +00:00
Jeffrey Altman
fa4b62ebb4 STABLE14-windows-misc-20050125
The list of ACL entries was being corrupted because the function
which obtains a free ACL entry was doing so without the appropriate
lock being held.

Returning Not A Directory is not the right thing to do when we are
attempting to resolve a path if the error is found on one of the
intermediary path components.  Instead return No Such Path or
No Such File as appropriate.


(cherry picked from commit ff3436446e1c8447d0f9703b088c6d65c6845aa0)
2005-01-31 04:23:45 +00:00
Jim Rees
7b9ca68155 STABLE14-obsd-vattrs-20040125
compare vattrs against VNOVAL, not -1
fixes mode setting now that modes are 32 bits


(cherry picked from commit e86eb73e30fe492c8be99a0a7a4788ec1b136ead)
2005-01-31 04:23:36 +00:00
Chas Williams
048c088f15 STABLE14-afs-indextimes-in-dcache-20050125
FIXES 17377

move indextimes array into dcache struct


(cherry picked from commit 1de152256aeb1d2b54e177a327404efe2504c815)
2005-01-31 04:23:31 +00:00
Chas Williams
8828862192 STABLE14-unpin-out-of-order-oops-20050125
FIXES 17346

unpin before freeing


(cherry picked from commit 9b7e78b048869e0319a369912d9fef63288dca7f)
2005-01-31 04:23:22 +00:00
Jeffrey Altman
6bd87f2519 STABLE14-rxdebug-withWaited-20050125
copy/paste error corrected.  'withWaited' never assigned a value


(cherry picked from commit 8a68d38977d4311a62350dd60645e39ded4650f1)
2005-01-31 04:23:17 +00:00
Derrick Brashear
4af4780deb STABLE14-linux-mmap-ro-means-no-write-20050125
don't allow a write map of a file which cannot be written to


(cherry picked from commit 96cf60ef3e830d16325fba664044f751ca164f85)
2005-01-31 04:23:11 +00:00
Nathan Neulinger
d9b041c595 STABLE14-no-copy-libafs-builds-20050121
make things so file copies from src/libafs don't happen; change how libafs_tree
is done


(cherry picked from commit 187f26a3afe805180268322d93dd7e01974c5fb1)
2005-01-31 04:23:02 +00:00
Nathan Neulinger
516fc4207d STABLE14-no-copy-libafs-builds-20021015
make things so file copies from src/libafs don't happen; change how libafs_tree
is done


(cherry picked from commit 782109a29bd751a7681e3a31aeaa077e880208c3)
2005-01-31 04:23:01 +00:00
Chas Williams
bdd9440ece STABLE14-linux-revised-dentry-invalidation-20050121
FIXES 17337

"the latest 2.6 version of "tryflushdcachechildren" is probably
good enough for 2.2/2.4 as well. further, we can just call
d_invalidate() to make things less complicated. unification
is good.

its seen limited testing here under 2.4/2.6."


(cherry picked from commit 72ea4e2c690d28b6c5c464368099b49dac847642)
2005-01-31 04:20:35 +00:00
Nickolai Zeldovich
4240eeb48a STABLE14-rx-hash-table-mod-prime-20050121
see https://lists.openafs.org/pipermail/openafs-devel/2004-September/010967.htmland https://lists.openafs.org/pipermail/openafs-devel/2004-September/010968.html


(cherry picked from commit 01aca8ca222373d71941cd007bdc00260bd3ff5c)
2005-01-31 04:20:25 +00:00
Douglas Engert
98ede708a9 STABLE14-rx-packetreadwrite-adjust-offset-20050119
offset - l must be zero in the second loop pass to avoid overwrites


(cherry picked from commit 110b1f14bd5b5548211ece9a32c540490e0aef6a)
2005-01-31 04:20:12 +00:00
Derrick Brashear
178fc7050b STABLE14-readd-qwaiting-20050121
FIXES 5616

the problem was caused by optimization on solaris. sigh.


(cherry picked from commit 90115511209e59ff4728a66a575899312fdf3e5b)
2005-01-31 04:20:00 +00:00
Derrick Brashear
4aac3f5268 STABLE14-linux-no-log-in-tryflushdcachechildren-20050121
FIXES 5835

just don't log, and lock order doesn't matter


(cherry picked from commit 76d6e43eb8e1ec72fcfde7cf8f303f954c11da14)
2005-01-31 04:19:55 +00:00
Jim Rees
6764e021dd STABLE14-alloc-confusion-20040120
use osi_Alloc instead of osi_AllocLargeSpace for tokens, to match free


(cherry picked from commit a0ce71a84374cc0600813a3101b76f89df04ee76)
2005-01-31 04:19:41 +00:00
Jim Rees
42b012d21b STABLE14-obsd-cred-ptr-20040120
**credpp, not *credp (OpenBSD only)


(cherry picked from commit 7f430a45aa12108ed1dc93e4a41ac154b1397818)
2005-01-31 04:19:20 +00:00
Jim Rees
83abf6cbd0 STABLE14-re-indent-20040120
re-indent so I can read the file so I can fix a bug


(cherry picked from commit dacae61bda0105497e912b3cdac429066cd68fcf)
2005-01-31 04:19:09 +00:00
Chas Williams
9a5016c423 STABLE14-linux26-vcache-reclaim-cleanup-20050119
"ok, if you ever drop
dcache_lock you need to go to restart (i think that's pretty clear).
shrink_dcache_parent() _might_ reduce a dentry count to 0.  in the
previous version, it seemed to make the assumption that this would
always happen.  if shrink_dcache_parent() is unsuccessful and the
dentry is a directory, we cant restart.  we would just find the
the dentry again and do the same thing over (we could always d_drop
but you shouldnt do this to active directories -- see d_invalidate).

if we find a busy dentry, we abort all processing for this inode.
going back to restart would find the same busy inode.  (i suppose
we could use a d_flag to keep track of which dentry has been shrunk.
this has other trouble, like who resets the flag and when?)  since we
only do this for directories and d_alias typically only grows due to
soft/hard links (as far as i can tell) this scheme seems reasonable."


(cherry picked from commit 73437ee7d469765df30285369301e3907fee0a3c)
2005-01-31 04:18:56 +00:00
Chaskiel M Grundman
885559ab7e STABLE14-dirbuffer-fid-is-index-20050119
"The new buffer code (which I wrote) did not deal
with dcache object re-use, as I had conflated the concepts of "dcache *
reuse" and "dcache slot reuse".

This patch should fix this problem. It now stores the dcache index (aka slot number,
which is the same as the numeric part of the cache file's filename) in the
buffer instead of the ephemeral struct dcache pointer."


(cherry picked from commit 8ccd2d91d89fc3ed0170a458853ec95ff274c87d)
2005-01-31 04:18:40 +00:00
Jeffrey Altman
07ff56fbb4 STABLE14-rx-multiple-packets-20050118
Doug Engert reports that large tokens are corrupted when being sent
using RX.  This patch fixes two bugs which prevent the transmission
and receipt of multiple packet exchanges.


(cherry picked from commit f42701022203605f8509b106fe8ca1677666aaa9)
2005-01-31 04:18:32 +00:00
Jim Rees
2527473d99 STABLE14-obsd-cleanups-20040118
remove dead code
add (commented out, non-working) new reclaim code


(cherry picked from commit 5f498279b827675a48c80b7c2f43c78d8e41d406)
2005-01-31 04:18:25 +00:00
Jeffrey Altman
0e9de60611 STABLE14-windows-smb_vc_t-refcounts-20050117
Rework the reference counting of the smb_vc_t objects to use
smb_ReleaseVC and smb_HoldVC.  Add missing counts for references
from waiting locks.

Fix cm_ioctl.c to allow it to compile once again.


(cherry picked from commit eabe2b6f77da6913b4a6bd51220708c363762fe6)
2005-01-31 04:17:43 +00:00