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)
This patch adds large file support (> 2GB) to the CIFS server and
the cache manager.
It also corrects a significant oversight where the definition of
struct rx_call was inconsistent due to a failure to define AFS_PTHREAD_ENV
prior to including rx.h in all source files. This prevented all errors
during rx_Read and rx_Write to be ignored.
(cherry picked from commit 015f9ce287c22df7a0b967ee0357d0816b4e0e54)
FIXES 30589
Check for krb524 functions in libkrb524 if not found in libkrb5 so that the
Kerberos v5 support will build on RHEL3. Thanks to Derek Atkins for the
debugging and testing.
(cherry picked from commit a4cb03504075771e0f2cfebf931f91f29553c73a)
If cm_SyncOp is called with the buffer locked, it must be returned
locked even on error.
(cherry picked from commit ae9a07a8e0a5d0e83e138ef9bbd71b3e7e0072ea)
When Freelance mode is not in use the cache manager must load the root.afs
volume of the default cell in order to be able to start. Unfortunately,
if the first vlserver fails the request to obtain the volume information
will timeout and no retries will be performed. This patch performs up
to 10 retries in the initialization code in order to enable the vlservers
to be marked down so that failover can occur.
(cherry picked from commit 4859232df55c94232a70d602cafe6a8bcc72d9dd)
In h_FindClient_r it was possible for the wrong client to be returned
and worse for it to be returned without the reference count being
incremented.
(cherry picked from commit 06fa1f9c40432747724e6e55154bf54e1e3e94c5)
FIXES 34073
* checks for client == oldClient
* drops the H_LOCK prior to obtaining the WriteLock on oldClient
in order to prevent a deadlock
(cherry picked from commit efd74baa950133de6ed92b7395be6d14ef63a58e)
"the non AFS_GLOBAL_RXLOCK_KERNEL version of
rxi_ReceiveAckPacket() wasnt counting 'hard' acks and not opening the
congestion window. using rx_Readv() directs the incoming packets into
the target iov, and sends a hard ack (skipping soft acks). "
(cherry picked from commit b365b06d34a9450dc53ad22e8ecb3f6d922af5f4)
The "is a directory" value was being set one field beyond the end of
the Standard Info reply structure.
(cherry picked from commit 2c20a3d603fcc654759b8c90924f36468f8aae81)
Include the same set of xdr objects in the shared libafsrpc as are included
in the static libafsrpc.
(cherry picked from commit b8b1438716a14b596a68c2e77d54ca66009c01c2)
Be consistent about reporting mountpoints and invalid links as directories
to the CIFS client.
(cherry picked from commit 422f2d4523ae9be2ff3f1395db1dd62b0b3a3b4b)