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)
LICENSE IPL10
FIXES 121040
return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log
instead.
(cherry picked from commit 8b1b390713a79fadd300d17713350f5789879615)
LICENSE IPL10
raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects
(cherry picked from commit d569a083e337c2971a4ac471d8adeb1788518684)
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)
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)
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)
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)
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)
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)
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)
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)
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)
LICENSE IPL10
flag packets for all queues, and when they are currentPacket somewhere
(cherry picked from commit 559ea99b1e6e6e82ec6a77541ef9844ccc764de8)
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 a72eea6bb1758678d25528cd1ab9b439ade2f844)
LICENSE IPL10
avoid using the same name for the struct and the global so the windows debugger
works usefully
(cherry picked from commit 7a4041f9404ff27f3e446d7b523086e0938dc6b9)
LICENSE IPL10
when currentPacket is empty, avoid leaking it and instead free and NULL it
(cherry picked from commit 883683fc317c5196f2eea1c1baed3b510771f001)