a re-write of the Tran2 Query File Info, Query Path Info, Set File Info,
and Set Path Info functions to make them more readable and ensure
correctness.
(cherry picked from commit 94e2fd2f51b671ee44e9ddd12b44c6d26aa149fe)
don't hold the VOL_LOCK during vpurgevolume
volserver's transaction stuff (NewTrans, actually) precludes any problem
(cherry picked from commit 6878e0b6348a649768274adbce77500fbd45caa4)
based on fix from tkeiser@gmail.com for aix segfaulting issue; keep offsets of
cprivate and sprivate's copies of type and level the same
(cherry picked from commit 845b4ac1cf8f97c5c4d84e36109ef477edef4a31)
Don't timeout based upon the LAN Workstation Session Timeout value.
Instead wait for the rx hard dead timeout.
(cherry picked from commit 8f2aba65819a668fc4a78c0ab929932c23cbc381)
" ld: warning: relocation warning: R_SPARC_COPY: file
/usr/local/lib/libafsrpc.so: symbol
rx_enable_stats: relocation bound to a symbol with STV_PROTECTED
visibility
Undefined first referenced
symbol in file
xdr_afs_uint32
/usr/local/lib/libafsauthent.a(ptint.xdr.o)
ld: fatal: Symbol referencing errors. No output written to slapd
collect2: ld returned 1 exit status
"
one can guess how that might be less than useful
(cherry picked from commit 3d4b12626136a59bd876648e0d1360f629998df8)
make ubik_Call removal work on Windows.
====================
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.
====================
another fix for Windows
(cherry picked from commit 941ac04165a9239a11b4ab908350dbfae24edfb9)
right now there is one struct ubik_client shared by all threads in the fileserve
r, which sucks when one has it locked
let's, uh, fix that.
(cherry picked from commit e117599fe17fdfca9c61d1883fe9bf9aa95e3918)
ubik_Call's pseudo-varargs construction is hideous
put it out of its misery where possible
(cherry picked from commit 4478d3a99a1baaee081048a20ac50e7af0223647)
FIXES 34774
In s10u2 the vnode path cache code was modified so that we're no longer
guaranteed of having a valid path cache pointer for the lofs mount case.
Attached patch changes gafs_rename to deal with this. Patch also removes
unnecessary MODLOAD32 build rule from sun4x_510 case.
(cherry picked from commit a2d5bb078f3df6dc6fe992fdcaaf8b5a5607c0d6)
right now there is one struct ubik_client shared by all threads in the fileserver, which sucks when one has it locked
let's, uh, fix that.
(cherry picked from commit 791b2141809fc0ad2da78ab3cd91303ac0ec482d)
* do not attempt to copy kfw krb5 creds if integrated logon disabled
* disable use of automatic registration from afslogon.dll. calling
pr_Initialize() results in rx_Init() being called which creates
threads that prevent safe unloading of the dll. This is causing
crashes in third party applications that call CreateProcessAsUser()
which in turn temporarily loads afslogon.dll.
* add life_to_time to afskfw.c in order remove the link to the rxkad
and des libraries
(cherry picked from commit 61df8d9fc834b87d758d8581e73fa7c05198ecf4)
fix symbol binding for modern solaris 10 patches (6/06)
which kills a few we didn't need anyway
(cherry picked from commit 8a1a06b5eb0e415859fd841c3c4a6b578eaea022)
FIXES 34568
The use of strncmp() results in p->v5_str being treated as matching
prefix instead of as the complete string. This causes "ftpa" to be
considered a match for "ftp".
(cherry picked from commit f0830f89a11a2fea06a26270a90c7ddf8365a533)
New CM_SCACHEFLAG_EACCESS flag is used to track whether the status
information was the result of an EACCESS error during an inline bulk
status call. If so, we have a callback but did not get any status
info. When this flag is set we include the entry in future bulk status
calls but otherwise treat the cm_scache entry as if it has a valid
callback. The callback will be revoked if the ACLs on the object
changes.
(cherry picked from commit a8dc93bf9f93a1ab74972c41d09af01da93ff230)
fix the timeout conditional and error handling so that all directory
entries will be processed.
now there is a problem in which transitioning from no tokens to tokens
does not result in refreshed data. something to look into.
(cherry picked from commit cb395ac70a2387723b0eceb33afe293d2cbfbf71)
Activate previously implemented TryBulkStat code. Due to incorrect
comparisons the code was never executed. Add support for InlineBulkStat
with fallback to BulkStat and increase the size of CM_BULKMAX to 150.
(3 * AFSCBMAX)
Add CM_SERVERFLAG_NOINLINEBULK to track support for InlineBulkStat.
Clear flag during InitCallbackState.
(cherry picked from commit 7fa3d8d735779c263eec66fecec5255d8407b2be)
Modify afssw_GetClientInstallDir to check both the registry for both
the full client installation as well as the 32-bit tools installation
for the Client Install Pathname.
(cherry picked from commit 83e22d270ea07cd473bc98a5fb2e7191cb840a40)
move <Environment> tag to a component that will be installed
as part of the 32-bit tools so that Client\Program is added to
the PATH.
(cherry picked from commit ea499821f73a9f27aad36b1878cccd26b2dc55c5)
overquota and diskfull errors are detected while writing dirty buffers
to the file server. A flag is set on the scp so that the error can
be returned to the caller. cm_FSync was clearing the flag without
returning the error. This permitted calls to Win32 WriteFile to report
success even when they failed.
(cherry picked from commit 8e0033ba73ef9551cb24052ef90db677e4adad50)