5369 Commits

Author SHA1 Message Date
Jeffrey Altman
d99efa0277 DEVEL15-windows-netbios-name-logging-20081015
LICENSE MIT

log more data to afsd_init.log regarding events that
can cause the netbios name registration to become
invalid.


(cherry picked from commit bfd01550bddcce18f6f76e97231e21680a545e3f)
2008-10-16 02:39:11 +00:00
Jeffrey Altman
e3d22fc07a DEVEL15-windows-dnlc-20081015
LICENSE MIT
FIXES 116641

Do not use the DNLC if the name when converted from Unicode is NULL.


(cherry picked from commit e0298d5f09d7e791aeb0f98438e299ad1faf186a)
2008-10-16 02:26:24 +00:00
Jeffrey Altman
76abf59daa DEVEL15-windows-checkVCs-20081015
LICENSE MIT
FIXES 116641

Do not drop references to 'nextp' until we are done with the object.
Dropping the last reference can result in the object being destroyed.


(cherry picked from commit 1115e29dacab98ed29ec603edfdaa8f697507daa)
2008-10-15 14:51:12 +00:00
Mike Meffie
1ff2d7329c DEVEL15-linux-alt-builddir-fix-20081014
LICENSE IPL10
FIXES 121650

correct the if test to include missing x


(cherry picked from commit 9be6b92a17ebe1d125e13c1cbd7bce620e7672ce)
2008-10-14 15:38:41 +00:00
Derrick Brashear
49048a0377 DEVEL15-linux-proc-walk-locking-20081012
LICENSE IPL10
FIXES 116603

sort out rcu locking versus tasklist lock. if this fails we probably have to
disable walking entirely


(cherry picked from commit 24ce8010cd414c8c573f2b035d186a2418900546)
2008-10-12 19:44:36 +00:00
Dragos Tatulea
3d5ecb9977 DEVEL15-disconnected-rmdir-infinite-recursion-20081012
LICENSE IPL10
FIXES 121226

fix infinite recursion when replaying rmdir transaction


(cherry picked from commit 0195d7c0828e3eae7281aad3b983160089b8846a)
2008-10-12 19:10:14 +00:00
Simon Wilkinson
f4cb4d782c DEVEL15-disconnected-getvcache-avoid-duplicate-work-20081012
LICENSE IPL10
FIXES 121254

don't do duplicate work finding a vcache we already had


(cherry picked from commit 7c6fac305c81af3e10f48560c03db4d2da630527)
2008-10-12 19:07:01 +00:00
Stefaan De Roeck
d4d0c44755 DEVEL15-linux-alternate-kernel-builddir-20081012
LICENSE IPL10
FIXES 121354

add support for KBUILD_OUTPUT=... builds.


(cherry picked from commit 726fc5b8425eb7bbaab4bdde38d977382dc17a9d)
2008-10-12 19:02:18 +00:00
Jeffrey Hutzelman
a88cf69421 DEVEL15-volser-newtrans-racy-20081012
LICENSE IPL10
FIXES 121263

avoid a race on creating new transactions in volserver


(cherry picked from commit 322f7e0e9fff02c5d6cad8d9aded3e40abce93ef)
2008-10-12 18:53:17 +00:00
Dragos Tatulea
2d18a3a0f4 DEVEL15-doxygen-comments-20081010
LICENSE IPL10
FIXES 98819 99069

add doxygen comments for some parts of openafs cache manager

====================
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.
====================
LICENSE IPL10

add doxygen comments for some parts of openafs cache manager


(cherry picked from commit 4b72f8765cdf88540354291e8e7072185538ae5d)
2008-10-11 00:27:02 +00:00
Derrick Brashear
c405e441b1 DEVEL15-cachemgr-blacklist-down-servers-20081010
LICENSE IPL10
FIXES 121035

fix to issue suggested by reuter@rzg.mpg.de


(cherry picked from commit 523dd766ef7ed26c2207c7ec4bebe8f74e4dc408)
2008-10-10 17:25:46 +00:00
Jeffrey Hutzelman
2004514644 DEVEL15-volser-dumpstuff-log-errors-20081010
LICENSE IPL10
FIXES 121040

return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log
instead.


(cherry picked from commit 8b1b390713a79fadd300d17713350f5789879615)
2008-10-10 15:42:40 +00:00
Harald Barth
566641bffc DEVEL15-cmdebug-entry-count-20081010
LICENSE IPL10

raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects


(cherry picked from commit d569a083e337c2971a4ac471d8adeb1788518684)
2008-10-10 12:54:29 +00:00
Derrick Brashear
991ef629de DEVEL15-hpux-gop-lookupname-20081009
LICENSE IPL10

add missing gop_lookupname macro for hpux


(cherry picked from commit 7034078b3386e074a399f9387ff9b387e479f4f0)
2008-10-09 19:56:53 +00:00
Derrick Brashear
b35b321321 DEVEL15-solaris-gop-lookupname-20081009
LICENSE IPL10

add missing gop_lookupname macro for solaris


(cherry picked from commit 2e15aa2b261f49a1d6648c36a34300cade3c968c)
2008-10-09 19:54:17 +00:00
Derrick Brashear
398dfacd83 DEVEL15-bypasscache-fix-linux24-20081009
LICENSE IPL10

no f_mapping in 2.4.x


(cherry picked from commit 9f8865744e3f4c1830afdf32b6b38f6b8f584801)
2008-10-09 13:55:37 +00:00
Jeffrey Altman
c955258bf4 DEVEL15-volser-dumpstuff-uninitialized-variable-20081008
LICENSE MIT

lcode should be initialized to zero but wasn't.
2008-10-08 23:21:13 +00:00
Jeffrey Altman
f64fd549c5 DEVEL15-windows-build-do-not-mix-pthread-and-lwp-20081008
LICENSE MIT

The rx library is built in lwp and pthread forms.  The methods used to
export data symbols are incompatible between the two.  The ubik library
is built with rx headers but only in the lwp form.  As a result it is
not possible to link the ubik libs without also including the lwp rx
lib.  We have pthreaded servers that require linking to the pthreaded
rx and ubik.  To fix the problem all of the macros that assigned values
to variables and were used by ubik have been converted to functions
(but only for Windows.)


(cherry picked from commit 32977eadf12aaec6608ce3457a976a0810da8590)
2008-10-08 22:15:10 +00:00
Jeffrey Altman
56d5c76875 DEVEL15-windows-cell-name-trailing-dot-removal-20081008
LICENSE MIT
FIXES 120318

Lookups of cell names that have a trailing dot should have the dot removed
otherwise there is a risk of duplicate cell entries since "foo" and "foo."
will not match but both will resolve to the same AFSDB record in DNS.


(cherry picked from commit e7b06ab695b83114954b58bd8cd25e5c0ad3f395)
2008-10-08 18:43:17 +00:00
Jeffrey Altman
286c00d1b8 DEVEL15-windows-libafsrpc-20081007
LICENSE MIT

export missing symbols necessary for tbutc and performance testing.


(cherry picked from commit ab2d343c31fe41d663c5a5feb796c3a9250c60d8)
openafs-devel-1_5_54
2008-10-07 23:28:49 +00:00
Jeffrey Altman
94ca8e0842 DEVEL15-windows-tbutc-20081007
LICENSE MIT

do not link to both pthread and lwp rx libs


(cherry picked from commit b8b3bd8d1b7ca1a95c07e2ee3a0004b07a0b9537)
2008-10-07 23:26:44 +00:00
Jeffrey Altman
8f615c1fda DEVEL15-windows-release-notes-20081007
LICENSE MIT

1.5.54
2008-10-07 23:09:54 +00:00
Jeffrey Altman
df93cf79d0 DEVEL15-windows-version-20081007
LICENSE MIT

1.5.5400.0 == 1.5.54
2008-10-07 22:56:55 +00:00
Jeffrey Altman
a6a26a8645 DEVEL15-windows-notes-20081007
LICENSE MIT

1.5.54
2008-10-07 22:54:18 +00:00
Derrick Brashear
8fd0c47f0e DEVEL15-openafs-1-5-54-20081007
LICENSE IPL10

make 1.5.54
2008-10-07 22:31:47 +00:00
Derrick Brashear
28269a02d2 DEVEL15-darwin-fake-more-disk-free-20081007
LICENSE IPL10

placate finder. this time for sure


(cherry picked from commit 967cbd2628c02060870c2381bd6fca3480f5711a)
2008-10-07 22:30:33 +00:00
Derrick Brashear
23c0ac8ec9 DEVEL15-linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007
LICENSE IPL10
FIXES 113558

avoid case where revalidate saw a mountpoint which hadn't been rewritten yet
and failed to handle it, exposing ENOENT where the entry existed.


(cherry picked from commit b3bf4b89e345b991984a416d97e3f9aeacc0e159)
2008-10-07 20:00:42 +00:00
Derrick Brashear
fd2641ccf1 DEVEL15-find-new-xbsa-first-20081007
LICENSE IPL10
FIXES 119162

change test order


(cherry picked from commit af0b03055e8a3244881d8ac3e7c52ed775ae86d1)
2008-10-07 19:51:34 +00:00
Derrick Brashear
b3aa9986d8 DEVEL15-ubik-notruncate-dont-pollute-fd-cache-20081007
LICENSE IPL10

issue suggested by Chaskiel Grundman; while it should not have been an issue
we now behave usefully in the notruncate recovery code.


(cherry picked from commit fe0186dccd4e4d16c0610f211d454a90b0841a83)
2008-10-07 18:44:13 +00:00
Derrick Brashear
9454601664 DEVEL15-vldb-check-fix-more-kinds-of-corruption-20081007
LICENSE IPL10

work harder to ferret out corruption; still reruns itself so if 2 hash chains
are comingled they get split back out correctly without having to flush state
continuously


(cherry picked from commit 1e3674cafe3c3feea0840c531cc0461d358f87c6)
2008-10-07 16:38:29 +00:00
Derrick Brashear
21a1bebfeb DEVEL15-linux-fakestat-revalidate-to-validity-20081006
LICENSE IPL10

we had something which fakestat was faking, but the inode had no ops, so
we ended up ENOTDIRing. oops.


(cherry picked from commit 2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1)
2008-10-07 04:41:02 +00:00
Jeffrey Altman
0be25bed37 DEVEL15-rx-varargs-20081003
LICENSE MIT

call va_start on Windows


(cherry picked from commit 061634bfc96e70e3c02ce93319f1f269e5c16a44)
2008-10-04 06:05:20 +00:00
Hans-Werner Paulsen
f2034c7e52 DEVEL15-kdump-rx-stats-20081003
LICENSE IPL10
FIXES 118700

add change to kdump also


(cherry picked from commit 5158e8c7aff8f0385edbebb688b6c79b19c604c3)
2008-10-03 21:39:56 +00:00
Jeffrey Altman
853b65ec15 DEVEL15-rx-windows-dpf-20081003
LICENSE MIT

dpf on windows is conditional on rxdebug_active, not rx_debugFile


(cherry picked from commit b8caeee989fcc096a1846c87b088263d3db130d9)
2008-10-03 15:57:19 +00:00
Jeffrey Altman
ec14218f72 DEVEL15-rx-vaargs-20081003
LICENSE MIT

define va_list ap where it will be defined on all platforms


(cherry picked from commit 82fc110302a7f1b7e7971285777658bdce3735ac)
2008-10-03 15:56:10 +00:00
Simon Wilkinson
7ccdc35252 DEVEL15-rx-varargs-20080924
LICENSE IPL10

make rx use varargs instead of a large fixed set of parms


(cherry picked from commit 8aa9d07e35c132ba5bbc1704fc9c0ba289b277fd)
2008-10-03 15:55:12 +00:00
Jeffrey Altman
392a606bc5 DEVEL15-windows-smb_dir_watch_lock-20081003
LICENSE MIT

re-order the lock hierarchyfor smb_Dir_Watch_Lock so that the
lock does not have to be dropped when sending notifications
within smb_NotifyChange().


(cherry picked from commit 38800039a7039c3fa832718799667557a5e24f66)
2008-10-02 13:14:02 +00:00
Jeffrey Altman
b8f0b2279f DEVEL15-rx-current-packet-double-free-20081003
LICENSE MIT

in rxi_WriteProc() make sure that rx_call currentPacket is
set to NULL after the rx_packet is added to a queue or
passed to rx_freePacket().  Otherwise we will panic when
we attempt to call rx_freePacket twice on the same packet.


(cherry picked from commit 1e7203940456e783aad215e939c04ed01dd45599)
2008-10-02 12:53:18 +00:00
Simon Wilkinson
713ef30274 DEVEL15-linux-nfstrans-libafs-tree-20080926
LICENSE IPL10

add missing files needed for nfs variants


(cherry picked from commit 6acd68f0e88ffa40891be4b908b70af784b397a2)
2008-09-26 11:17:17 +00:00
Jeffrey Altman
20f45ce835 DEVEL15-windows-version-20080925
LICENSE MIT

1.5.53 == 1.5.5300.0
2008-09-25 21:39:31 +00:00
Jeffrey Altman
059fe081b5 DEVEL15-windows-notes-20080925
LICENSE MIT

1.5.53
2008-09-25 20:24:24 +00:00
Jeffrey Altman
4ccb974a3c DEVEL15-windows-release-notes-20080925
LICENSE MIT

1.5.53
2008-09-25 20:19:04 +00:00
Simon Wilkinson
a019871782 DEVEL15-disconn-prototypes-20080926
LICENSE IPL10

add a prototype we need for disconnected


(cherry picked from commit 3853c326155d58613bb1711a10123ac88acce002)
openafs-devel-1_5_53
2008-09-26 09:24:00 +00:00
Derrick Brashear
9d4ed9c8c6 DEVEL15-openafs-1-5-53-20080925
LICENSE IPL10

make 1.5.53
2008-09-25 22:42:01 +00:00
Simon Wilkinson
848902bad1 DEVEL15-pthread-ubik-volser-stupidity-20080925
LICENSE IPL10

make volserver build again for not pthreaded ubik


(cherry picked from commit 3f11790f6ab999be828fb0868b64ea00b98a5ea4)
2008-09-25 22:40:44 +00:00
Simon Wilkinson
5c97c4724d DEVEL15-rx-dpf-clarify-20080924
LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues


(cherry picked from commit 3a5e912230fd09c72c1a27d7f7d4e4ac78f9323b)
2008-09-25 21:19:57 +00:00
Jeffrey Altman
18bc1f8c2e DEVEL15-rx-clear-queues-correctly-20080925
LICENSE IPL10

don't potentially leak packets by leaving them behind and initing queues;
in fact, if you are cleaning up there is no need to init queues anyway.


(cherry picked from commit 8b50c9d9e3d181f749d0982f57410a5b4906627c)
2008-09-25 21:17:54 +00:00
Jeffrey Altman
918b68629d DEVEL15-rx-packet-allocation-debug-20080925
LICENSE IPL10

add field to track allocated packets


(cherry picked from commit b84da5849261867b201646e957c014e933a2c17f)
2008-09-25 20:55:16 +00:00
Jeffrey Altman
38b9b1be68 DEVEL15-rx-change-packet-allocation-calculation-20080925
LICENSE IPL10

don't alloc ourselves to death; try harder to manage growth


(cherry picked from commit 230dcebcd61064cc9aab6d20d34ff866a5c575ea)
2008-09-25 20:36:34 +00:00
Jeffrey Altman
ea3a99038b DEVEL15-rx-flag-all-packets-20080925
LICENSE IPL10

flag packets for all queues, and when they are currentPacket somewhere


(cherry picked from commit 559ea99b1e6e6e82ec6a77541ef9844ccc764de8)
2008-09-25 19:59:45 +00:00