3823 Commits

Author SHA1 Message Date
Jeffrey Altman
89cd60d522 DEVEL15-windows-inlinebulkstat-20060628
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)
2006-06-28 06:34:50 +00:00
Jeffrey Altman
b2cfdae0e8 DEVEL15-windows-inlinebulkstat-20060627
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)
2006-06-28 04:24:05 +00:00
Jeffrey Altman
553300e751 DEVEL15-windows-fs-uuid-part-two-20060627
force new connections after uuid change


(cherry picked from commit 08c07df7eb8ab22857d0c23d8f7ab35532576039)
2006-06-27 23:53:42 +00:00
Jeffrey Altman
f1048e1fff DEVEL15-windows-fs-uuid-20060627
fs uuid [-generate]


(cherry picked from commit 5c563c121e853a06bb47d0b8932276982e676150)
2006-06-27 23:19:35 +00:00
Jeffrey Altman
1db82ce203 DEVEL15-windows-uninitialized-vars-20060627
uninitialized pointers when dereferenced do bad things


(cherry picked from commit a8e481ddd92744944d2b06fd5c8ed28383297f6a)
2006-06-27 22:54:31 +00:00
Jeffrey Altman
5e592de63b DEVEL15-windows-cleanup-20060627
* fix UAEACCES debug string

 * assign scachetype invalid when invalid

 * smb_WriteData prototype

 * update T2 search dir debug message to include unique


(cherry picked from commit f2c64e15995abc6791923013805cca402e6f4e8e)
2006-06-27 16:40:33 +00:00
Jeffrey Altman
e89379051b DEVEL15-windows-do-not-release-null-20060626
uidp can be null.  if so, do not release.


(cherry picked from commit 8de6593c6829eab9dae15fc38ba08f382ee7b096)
2006-06-27 05:04:27 +00:00
Christopher Allen Wing
0fe6f9aaf8 DEVEL15-afsutil-includes-20060623
Include <afs/afsutil.h> for prototypes of afs_inet_ntoa and afs_inet_ntoa_r.


(cherry picked from commit 2a1aff4104dd9a71bebf1a63ca85ac86338b3b1b)
2006-06-26 17:20:50 +00:00
Asanka Herath
45c77e8fe9 DEVEL15-windows-wix-path-key-fix-20060625
properly set the path key


(cherry picked from commit 2a6f610ecadcc61f7fe332e63f8ffca7942e4193)
2006-06-26 06:48:31 +00:00
Jeffrey Altman
13d15f62b3 DEVEL15-windows-32bit-tools-client-dir-20060625
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)
2006-06-26 03:25:49 +00:00
Jeffrey Altman
ace383d77c DEVEL15-windows-wix-client-path-20060625
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)
2006-06-26 03:19:31 +00:00
Jeffrey Altman
f47d640adb DEVEL15-windows-largefile-support-20060625
don't clear the no64bit when there is no server


(cherry picked from commit 0eb04961602949683be26cbe002677b5ee537ab6)
2006-06-25 22:45:11 +00:00
Qi Dong
16bf3f719e DEVEL15-windows-aklog-64bit-20060625
Prepare makefile to link against kfw 64-bit libs when they are
available.


(cherry picked from commit 266c9339896d75ab36dc812f1e905d05be23e0fd)
2006-06-25 18:58:06 +00:00
Qi Dong
a50e4972e5 DEVEL15-windows-64bit-type-safety-20060625
Type casting


(cherry picked from commit ebef2766358b8cca53efd5c12bc951198eb246e0)
2006-06-25 18:54:47 +00:00
Jeffrey Altman
11361e4b63 DEVEL15-windows-cleanup-20060625
cleanup AFS_component_version_number.h


(cherry picked from commit 0b9b02178e7a3d8df39fec9c83f8b49230ce30d9)
2006-06-25 17:58:00 +00:00
Jeffrey Altman
d6810b106c DEVEL15-windows-wix-tools-on-i386-only-20060625
only build the 32-bit tools installer on i386


(cherry picked from commit 8c3e1ad7578dfbfd26633fc12b91ea69c1f77436)
2006-06-25 16:01:04 +00:00
Jeffrey Altman
9fc091f57e DEVEL15-windows-nsis-help-files-install-location-20060625
place the help files in the correct location


(cherry picked from commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12)
2006-06-25 15:57:12 +00:00
Jeffrey Altman
ce4f103eb7 DEVEL15-windows-report-quota-diskfull-20060624
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)
2006-06-25 02:51:40 +00:00
Asanka Herath
f04b1ce261 DEVEL15-windows-largefile-support-20060623
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)
2006-06-24 21:41:54 +00:00
Russ Allbery
026978c8ec DEVEL15-rhel3-krb524-checking-20060624
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)
2006-06-24 17:24:19 +00:00
Jeffrey Altman
f1c5baae75 DEVEL15-windows-viced-cbd-20060624
don't break platforms other than Windows


(cherry picked from commit 830756f8f73e1f67da6ec916cdfc3e4b9a677f71)
2006-06-24 15:10:46 +00:00
Asanka Herath
623b91d6af DEVEL15-windows-wix-help-files-install-location-20060623
place the help files in the correct location


(cherry picked from commit e264711295275b7b1372e701bf106cf75b342007)
2006-06-24 03:49:43 +00:00
Jeffrey Altman
1a7f467122 DEVEL15-windows-cm_syncop-buflocked-20060622
If cm_SyncOp is called with the buffer locked, it must be returned
locked even on error.


(cherry picked from commit ae9a07a8e0a5d0e83e138ef9bbd71b3e7e0072ea)
2006-06-23 04:34:40 +00:00
Jeffrey Altman
65121b480d DEVEL15-windows-no-freelance-vldb-failover-20060622
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)
2006-06-22 22:54:40 +00:00
Jeffrey Altman
cc25d59509 DEVEL15-windows-viced-cbd-20060621
typo


(cherry picked from commit d53a0a8d5e58d6bb0a979d977889aa2bfcb19829)
2006-06-21 21:40:31 +00:00
Jeffrey Altman
e103928a30 DEVEL15-windows-viced-cbd-20060620
build the callback debug utility


(cherry picked from commit f3a7cd67c5d9d225a688892b3d5948db11e9a82e)
2006-06-20 23:10:53 +00:00
Tom Keiser
cd6c0f39e2 DEVEL15-aix-largefile-cleanup-20060620
some largefile cleanup and other minor aix tweaking


(cherry picked from commit 7826b313868ec8ce975b65e5c430a9503fca4dd5)
2006-06-20 22:40:04 +00:00
Jeffrey Altman
9a8554fa6f DEVEL15-windows-afsrpc-exports-20060620
New functions: rx_InitHost, rx_NewServiceHost


(cherry picked from commit 840ef4a80f3ec8378865232f23171c7c3485626b)
2006-06-20 21:59:25 +00:00
Jeffrey Altman
8a9d6bfa5b DEVEL15-rxbind-for-servers-20060620
do not call parseNetFile on Windows where the function does not exist


(cherry picked from commit 7af6b06cb6611a8925e3fa887ddf0a03542ee4dc)
2006-06-20 21:37:10 +00:00
Jeffrey Hutzelman
f8417b5f63 DEVEL15-viced-findclient-do-not-return-wrong-client-20060620
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)
2006-06-20 21:03:16 +00:00
Rainer Toebbicke
0b543c1de5 DEVEL15-viced-deadlock-20060620
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)
2006-06-20 15:53:18 +00:00
Troy Benjegerdes
ceae30e010 DEVEL15-fs-getcache-show-more-20060615
show more info about cache usage, optionally


(cherry picked from commit 176c2fddb95ced6c13e04e7492fc09b5551f273c)
2006-06-15 16:52:59 +00:00
Troy Benjegerdes
0d8e3b7e62 DEVEL15-linux-current-already-used-20060615
don;'t conflict on use of current


(cherry picked from commit 463d899a4f6527fc26d29e4cff31f65028cfa43f)
2006-06-15 16:45:19 +00:00
Derrick Brashear
92168775a6 DEVEL15-getaddr-avoid-looping-20060615
so it would be good to count these all off

oops


(cherry picked from commit 2e691074fb6ce70e8352da3e57a746a77f7489f1)
2006-06-15 16:20:56 +00:00
Derrick Brashear
27e172d6bc DEVEL15-getaddr-skip-loopbacks-version-for-macos-20060613
so rxbind does something sensible


(cherry picked from commit 3d1fc22c6ba5d07c831da79ffa01e3cf4d95322a)
2006-06-13 04:52:39 +00:00
Derrick Brashear
c1df032b97 DEVEL15-rxbind-for-servers-20060612
FIXES 32308

support -rxbind switch for servers


(cherry picked from commit 592d97f9472abcf77496cef07261fa8766f60b9f)
2006-06-13 01:29:15 +00:00
Derrick Brashear
66a4a10a42 DEVEL15-namei-dec-drop-lock-20060612
FIXES 17638

unsure why yet, or even if, but this is all that makes sense


(cherry picked from commit 1e5f6a17fcf4f7039bae756c22735b77a31ceec5)
2006-06-13 01:01:51 +00:00
Derrick Brashear
bb99162d2d DEVEL15-linux-enable-gcpags-20060612
enable gcpags


(cherry picked from commit 33418253e06534b43ad44eaa71b7c4a84be7cb49)
2006-06-12 17:25:47 +00:00
Chas Williams
78e16a87d7 DEVEL15-recvackpkt-count-acks-and-open-cong-window-20060612
"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)
2006-06-12 05:27:07 +00:00
Jeffrey Altman
a955a3c506 DEVEL15-windows-scache-recycle-fix-20060608
do not special case freelance entries


(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)
openafs-devel-1_5_2
2006-06-08 22:22:20 +00:00
Jeffrey Altman
43cb64929c DEVEL15-windows-cifs-std-info-take-two-20060607
The "is a directory" value was being set one field beyond the end of
the Standard Info reply structure.


(cherry picked from commit 2c20a3d603fcc654759b8c90924f36468f8aae81)
2006-06-08 00:31:55 +00:00
Derrick Brashear
eaaf7091e7 DEVEL15-openafs-devel-1-5-2-20060607
1.5.2
2006-06-07 06:03:06 +00:00
Chaskiel M Grundman
728594ad69 DEVEL15-no-client-tcon-20060607
remove client->tcon and avoid locking issues


(cherry picked from commit f6468e0f27c90b2e2385508f9a1f01b8b1d346d2)
2006-06-07 05:56:29 +00:00
Chaskiel M Grundman
7a3d70f177 DEVEL15-openlog-consistency-20060607
open logs consistently so assert logging is appended


(cherry picked from commit ed9a2181217f19b7ddbfe28118f6fb2f700b08ad)
2006-06-07 05:28:57 +00:00
Russ Allbery
cbff26d61c DEVEL15-synchronize-xdr-20060606
Include the same set of xdr objects in the shared libafsrpc as are included
in the static libafsrpc.


(cherry picked from commit b8b1438716a14b596a68c2e77d54ca66009c01c2)
2006-06-07 05:23:56 +00:00
Jeffrey Altman
cf2efc98d5 DEVEL15-windows-smb-mountpt-is-dir-20060606
Be consistent about reporting mountpoints and invalid links as directories
to the CIFS client.


(cherry picked from commit 422f2d4523ae9be2ff3f1395db1dd62b0b3a3b4b)
2006-06-06 18:00:08 +00:00
Jeffrey Altman
42579550a7 DEVEL15-windows-makefile-clean-20060606
cleanup additional files


(cherry picked from commit 81cd89320fe855d22f91bda461dd5cdba147b671)
2006-06-06 15:47:08 +00:00
Jeffrey Altman
888c845999 DEVEL15-windows-version-20060604
1.5.0002


(cherry picked from commit 36da63e03de7230b8464a50a58acf732ce994ff2)
2006-06-05 04:26:33 +00:00
Jeffrey Altman
86565bfbc2 DEVEL15-windows-notes-20060604
updates


(cherry picked from commit 54eed0930a36c54db73f8e2d10c28b99c2c1e6bb)
2006-06-05 02:37:01 +00:00
Jeffrey Altman
e425a3995c DEVEL15-viced-swap-old-cbcon-diff-20060603
FIXES 32985

swap cbconn when other side changes IPs


(cherry picked from commit b30dcf9738d7fa87f8da4afa1f024376130b80a9)
2006-06-04 07:14:30 +00:00