LICENSE IPL10
FIXES 124142
V_PEEK/V_SECRETLY should not change inUse. servertype based inUse should not
leak past giving back a volume.
(cherry picked from commit 92cf4d996f91e895b8995d41419b32843a40b9fb)
LICENSE MIT
remove more ubik_Call(RPC, ...) calls and replace them with ubik_RPC(...)
(cherry picked from commit d4b17a6e2e08c41de8ee07721029469ebcde6f72)
LICENSE IPL10
FIXES 84846
avoid some infinite loops on bad input
ensure that all partition ids are within the legal limit
provide prototypes for strlcat and strlcpy when the openafs
implementations are being used.
(cherry picked from commit 69bab4cc6ee68ab98b6f207f6ab80352250f6b97)
LICENSE IPL10
FIXES 124154
make salvager look for and create headers in the right place.
(cherry picked from commit f11480748cd682f60e81e8854e254fe964d5955c)
LICENSE IPL10
FIXES 124175
possibly not the ultimate right fix but it will make things work for now
(cherry picked from commit 81e1d5403438929bc6380c05bdacb808a31aaa37)
LICENSE MIT
Prevent multiple smb_Server threads from sharing the same EVENT
object when they are each waiting for their own packet requests
to complete.
(cherry picked from commit 10ecf76d281dc90a4f83f0c45404712b62bcea8b)
LICENSE IPL10
FIXES 124116
based on patch from daleg@elemental.org. rename to avoid conflict with opensolar
is
(cherry picked from commit a268678326f3713a0ba41f69a1432bd1fca2872f)
LICENSE MIT
smb_ParseASCIIBlock() may be called with more than just data
type ASCII (0x4). If the type is 2, 3, or 4 the data field is
a null terminated string. If the type is 1 or 5 the data field
is a counted string. if the type is 2 the data field is never
Unicode.
In any case, if the type is unrecognized smb_ParseASCIIBlock()
will return NULL and all of the callers must be prepared to handle
it. If the return is NULL, the smb request will fail with
CM_ERROR_BADSMB.
(cherry picked from commit a0fd9b17334333e257ae9c476c4fbf85ee9fec95)
LICENSE IPL10
FIXES 124130
restore the mr-afs names until such time as the pioctl registrations
are addressed.
(cherry picked from commit e5a6c3f62dde6bc1b6a26957b866c3f27dc28c3a)
FIXES 124157
LICENSE BSD
More wording and typo fixes for the pts membership man page.
(cherry picked from commit 8c18c62dffa23557fb521950eede4252cdafc0b5)
LICENSE IPL10
FIXES 124147
abstract vcache resetting code so disconnected can reuse it
(cherry picked from commit 57744971179a8ee7441e73eeb9e2a56d671fcc37)
LICENSE IPL10
FIXES 124134
simplify afs_q macros and allow further reuse in disconnected
(cherry picked from commit 9ef65a789feed5007f18041d259f0ddd6c3c97e9)
LICENSE IPL10
FIXES 124149
make
touch a
fs discon offline
rm -f a
fs discon online
work
(cherry picked from commit e1cc987ea57c03a93dd02164ecb75cd705fc79b3)
LICENSE IPL10
FIXES 124130
rename mrafs commands into their equivalent osd versions; structures etc are the
same.
(cherry picked from commit 92c7925b12d7b99e4ff044bc053330e77336a21a)
LICENSE IPL10
FIXES 124152
avoid allowing a non-CStatd vcache to make its way into a readdir which causes a
n infinite loop
(cherry picked from commit 9fa51694c6a41323cfeb7b41bb4dff9e8dac77be)
FIXES 124151
LICENSE BSD
Add system:ptsviewers to the privilege documentation of pts membership and
try to clarify the privilege required by being less verbose and hopefully
more direct.
(cherry picked from commit d781450cf3c08bf89f3d1490620ed89885f7e518)
LICENSE BSD
The rx_pthread.h defines afs_kcondvar_t and afs_kmutex_t but
their use throughout the rx library is inconsistent. Sometimes
they are used, other times pthread_cond_t and pthread_mutex_t.
This commit ensures that afs_kmutex_t and afs_kcondvar_t are
used consistently.
(cherry picked from commit 3394644531fb89b02ffbe0c10f4a51c3a4169a39)
LICENSE BSD
Permit the rx library to be built without the RXDEBUG preprocessor
definition. When RXDEBUG is not defined all of the debugging functions
either become stubs or log a message indicating that the library was
built without RXDEBUG so that there will be no surprises. There
are no changes to the export list. By default RXDEBUG is defined.
Eventually the definition of RXDEBUG can become a configuration option
to the build system.
(cherry picked from commit f1a13e15625afa324ffc6614eea432dcc89bf768)
LICENSE IPL10
FIXES 124093
make libuafs work with things which expect to be able to use native file
sizes etc
(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)
LICENSE MIT
Permit rx statistics gathering to be disabled by setting the
new rx_stats_active variable to 0. This avoids grabbing the
rx_stats_mutex throughout the execution of the requests and
permits greater concurrency thoughout the library.
(cherry picked from commit 30cfed8e25dfcc6c423d1e121360f048d6724328)
LICENSE MIT
not everything should be under the rx_stats_mutex. doing so
results in too much lock contention. add new mutexes:
rx_quota_mutex, rx_waiting_mutex, rx_pthread_mutex, and rx_packets_mutex.
Each new mutex protects an associated group of variables.
LICENSE MIT
if the socket buffer size specified by the configuration is too large
to be applied, do not drop down immediately to 32766 bytes. Instead
try increasingly smaller values trying to find the largest one that
works. use the same value for the send buf size as well.
(cherry picked from commit 5b0e23567e1ed64f448bb3253ad90d39cad31271)