]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
19 years agoDEVEL15-fileserver-hates-pruclient-20060626
Derrick Brashear [Mon, 3 Jul 2006 19:46:06 +0000 (19:46 +0000)]
DEVEL15-fileserver-hates-pruclient-20060626

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)

19 years agoDEVEL15-windows-notes-20060703
Jeffrey Altman [Mon, 3 Jul 2006 18:11:08 +0000 (18:11 +0000)]
DEVEL15-windows-notes-20060703

notes

19 years agoDEVEL15-windows-wix-sdk-20060702
Asanka Herath [Mon, 3 Jul 2006 02:46:33 +0000 (02:46 +0000)]
DEVEL15-windows-wix-sdk-20060702

Move SDK to \Program Files\OpenAFS\SDK

(cherry picked from commit 277eb30d32349ad1fd24b1ea02a8dfca86c79ef5)

19 years agoDEVEL15-windows-library-cleanup-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:06:44 +0000 (02:06 +0000)]
DEVEL15-windows-library-cleanup-20060702

afs_winsockCleanup

(cherry picked from commit 20b4f785b56ff604bab72d3b624aae74a9e5ae5d)

19 years agoDEVEL15-windows-afsauth-krb-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:06:01 +0000 (02:06 +0000)]
DEVEL15-windows-afsauth-krb-20060702

Build the afsuth.krb library

(cherry picked from commit e66467f382a31345f3ea9dd919ea703eccb623d9)

19 years agoDEVEL15-windows-nsis-sdk-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:04:36 +0000 (02:04 +0000)]
DEVEL15-windows-nsis-sdk-20060702

Move SDK to Program Files\OpenAFS\SDK

(cherry picked from commit 5accc48e1b0db55c56ba64abe0450d511c0fdf2a)

19 years agoDEVEL15-windows-afslogon-pr_end-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:03:13 +0000 (02:03 +0000)]
DEVEL15-windows-afslogon-pr_end-20060702

* 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)

19 years agoDEVEL15-butc-prototyping-20060701
Derrick Brashear [Sat, 1 Jul 2006 06:02:49 +0000 (06:02 +0000)]
DEVEL15-butc-prototyping-20060701

have some prototypes
happy july 1
and what a crappy day it is

(cherry picked from commit 1947002d11358b9427adce1d6e03f5357a416ad8)

19 years agoDEVEL15-libcmd-support-version-switch-20060630
Derrick Brashear [Fri, 30 Jun 2006 20:47:08 +0000 (20:47 +0000)]
DEVEL15-libcmd-support-version-switch-20060630

well, i guess adm will be sad until it exports AFSVersion, but, life is hard.

(cherry picked from commit 350c140d89198cb7f9f8b241188f9937d7da119e)

19 years agoDEVEL15-solaris-vfsops-20060629
Tom Keiser [Fri, 30 Jun 2006 15:07:31 +0000 (15:07 +0000)]
DEVEL15-solaris-vfsops-20060629

fix symbol binding for modern solaris 10 patches (6/06)
which kills a few we didn't need anyway

(cherry picked from commit 8a1a06b5eb0e415859fd841c3c4a6b578eaea022)

19 years agoDEVEL15-salvager-20060628
Tom Keiser [Fri, 30 Jun 2006 15:00:45 +0000 (15:00 +0000)]
DEVEL15-salvager-20060628

make ClearROInUseBit actually do it

(cherry picked from commit 2dcf63ef4e044019bda5889f1de332432124bb71)

19 years agoDEVEL15-rxbind-typo-fix-20060629
Christopher Allen Wing [Fri, 30 Jun 2006 01:18:43 +0000 (01:18 +0000)]
DEVEL15-rxbind-typo-fix-20060629

FIXES 34634

kill this obvious typo

(cherry picked from commit bc9f256f1c6d2ac26a0b6bfc15de85de895ecf0b)

19 years agoDEVEL15-rxkad-rt34568-20060629
Jeffrey Altman [Fri, 30 Jun 2006 00:27:16 +0000 (00:27 +0000)]
DEVEL15-rxkad-rt34568-20060629

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)

19 years agoDEVEL15-windows-bulkstat-eaccess-20060628
Jeffrey Altman [Wed, 28 Jun 2006 16:01:21 +0000 (16:01 +0000)]
DEVEL15-windows-bulkstat-eaccess-20060628

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)

19 years agoDEVEL15-windows-inlinebulkstat-20060628
Jeffrey Altman [Wed, 28 Jun 2006 06:34:50 +0000 (06:34 +0000)]
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)

19 years agoDEVEL15-windows-inlinebulkstat-20060627
Jeffrey Altman [Wed, 28 Jun 2006 04:24:05 +0000 (04:24 +0000)]
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)

19 years agoDEVEL15-windows-fs-uuid-part-two-20060627
Jeffrey Altman [Tue, 27 Jun 2006 23:53:42 +0000 (23:53 +0000)]
DEVEL15-windows-fs-uuid-part-two-20060627

force new connections after uuid change

(cherry picked from commit 08c07df7eb8ab22857d0c23d8f7ab35532576039)

19 years agoDEVEL15-windows-fs-uuid-20060627
Jeffrey Altman [Tue, 27 Jun 2006 23:19:35 +0000 (23:19 +0000)]
DEVEL15-windows-fs-uuid-20060627

 fs uuid [-generate]

(cherry picked from commit 5c563c121e853a06bb47d0b8932276982e676150)

19 years agoDEVEL15-windows-uninitialized-vars-20060627
Jeffrey Altman [Tue, 27 Jun 2006 22:54:31 +0000 (22:54 +0000)]
DEVEL15-windows-uninitialized-vars-20060627

uninitialized pointers when dereferenced do bad things

(cherry picked from commit a8e481ddd92744944d2b06fd5c8ed28383297f6a)

19 years agoDEVEL15-windows-cleanup-20060627
Jeffrey Altman [Tue, 27 Jun 2006 16:40:33 +0000 (16:40 +0000)]
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)

19 years agoDEVEL15-windows-do-not-release-null-20060626
Jeffrey Altman [Tue, 27 Jun 2006 05:04:27 +0000 (05:04 +0000)]
DEVEL15-windows-do-not-release-null-20060626

uidp can be null.  if so, do not release.

(cherry picked from commit 8de6593c6829eab9dae15fc38ba08f382ee7b096)

19 years agoDEVEL15-afsutil-includes-20060623
Christopher Allen Wing [Mon, 26 Jun 2006 17:20:50 +0000 (17:20 +0000)]
DEVEL15-afsutil-includes-20060623

Include <afs/afsutil.h> for prototypes of afs_inet_ntoa and afs_inet_ntoa_r.

(cherry picked from commit 2a1aff4104dd9a71bebf1a63ca85ac86338b3b1b)

19 years agoDEVEL15-windows-wix-path-key-fix-20060625
Asanka Herath [Mon, 26 Jun 2006 06:48:31 +0000 (06:48 +0000)]
DEVEL15-windows-wix-path-key-fix-20060625

properly set the path key

(cherry picked from commit 2a6f610ecadcc61f7fe332e63f8ffca7942e4193)

19 years agoDEVEL15-windows-32bit-tools-client-dir-20060625
Jeffrey Altman [Mon, 26 Jun 2006 03:25:49 +0000 (03:25 +0000)]
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)

19 years agoDEVEL15-windows-wix-client-path-20060625
Jeffrey Altman [Mon, 26 Jun 2006 03:19:31 +0000 (03:19 +0000)]
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)

19 years agoDEVEL15-windows-largefile-support-20060625
Jeffrey Altman [Sun, 25 Jun 2006 22:45:11 +0000 (22:45 +0000)]
DEVEL15-windows-largefile-support-20060625

don't clear the no64bit when there is no server

(cherry picked from commit 0eb04961602949683be26cbe002677b5ee537ab6)

19 years agoDEVEL15-windows-aklog-64bit-20060625
Qi Dong [Sun, 25 Jun 2006 18:58:06 +0000 (18:58 +0000)]
DEVEL15-windows-aklog-64bit-20060625

Prepare makefile to link against kfw 64-bit libs when they are
available.

(cherry picked from commit 266c9339896d75ab36dc812f1e905d05be23e0fd)

19 years agoDEVEL15-windows-64bit-type-safety-20060625
Qi Dong [Sun, 25 Jun 2006 18:54:47 +0000 (18:54 +0000)]
DEVEL15-windows-64bit-type-safety-20060625

Type casting

(cherry picked from commit ebef2766358b8cca53efd5c12bc951198eb246e0)

19 years agoDEVEL15-windows-cleanup-20060625
Jeffrey Altman [Sun, 25 Jun 2006 17:58:00 +0000 (17:58 +0000)]
DEVEL15-windows-cleanup-20060625

cleanup AFS_component_version_number.h

(cherry picked from commit 0b9b02178e7a3d8df39fec9c83f8b49230ce30d9)

19 years agoDEVEL15-windows-wix-tools-on-i386-only-20060625
Jeffrey Altman [Sun, 25 Jun 2006 16:01:04 +0000 (16:01 +0000)]
DEVEL15-windows-wix-tools-on-i386-only-20060625

only build the 32-bit tools installer on i386

(cherry picked from commit 8c3e1ad7578dfbfd26633fc12b91ea69c1f77436)

19 years agoDEVEL15-windows-nsis-help-files-install-location-20060625
Jeffrey Altman [Sun, 25 Jun 2006 15:57:12 +0000 (15:57 +0000)]
DEVEL15-windows-nsis-help-files-install-location-20060625

place the help files in the correct location

(cherry picked from commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12)

19 years agoDEVEL15-windows-report-quota-diskfull-20060624
Jeffrey Altman [Sun, 25 Jun 2006 02:51:40 +0000 (02:51 +0000)]
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)

19 years agoDEVEL15-windows-largefile-support-20060623
Asanka Herath [Sat, 24 Jun 2006 21:41:54 +0000 (21:41 +0000)]
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)

19 years agoDEVEL15-rhel3-krb524-checking-20060624
Russ Allbery [Sat, 24 Jun 2006 17:24:19 +0000 (17:24 +0000)]
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)

19 years agoDEVEL15-windows-viced-cbd-20060624
Jeffrey Altman [Sat, 24 Jun 2006 15:10:46 +0000 (15:10 +0000)]
DEVEL15-windows-viced-cbd-20060624

don't break platforms other than Windows

(cherry picked from commit 830756f8f73e1f67da6ec916cdfc3e4b9a677f71)

19 years agoDEVEL15-windows-wix-help-files-install-location-20060623
Asanka Herath [Sat, 24 Jun 2006 03:49:43 +0000 (03:49 +0000)]
DEVEL15-windows-wix-help-files-install-location-20060623

place the help files in the correct location

(cherry picked from commit e264711295275b7b1372e701bf106cf75b342007)

19 years agoDEVEL15-windows-cm_syncop-buflocked-20060622
Jeffrey Altman [Fri, 23 Jun 2006 04:34:40 +0000 (04:34 +0000)]
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)

19 years agoDEVEL15-windows-no-freelance-vldb-failover-20060622
Jeffrey Altman [Thu, 22 Jun 2006 22:54:40 +0000 (22:54 +0000)]
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)

19 years agoDEVEL15-windows-viced-cbd-20060621
Jeffrey Altman [Wed, 21 Jun 2006 21:40:31 +0000 (21:40 +0000)]
DEVEL15-windows-viced-cbd-20060621

typo

(cherry picked from commit d53a0a8d5e58d6bb0a979d977889aa2bfcb19829)

19 years agoDEVEL15-windows-viced-cbd-20060620
Jeffrey Altman [Tue, 20 Jun 2006 23:10:53 +0000 (23:10 +0000)]
DEVEL15-windows-viced-cbd-20060620

build the callback debug utility

(cherry picked from commit f3a7cd67c5d9d225a688892b3d5948db11e9a82e)

19 years agoDEVEL15-aix-largefile-cleanup-20060620
Tom Keiser [Tue, 20 Jun 2006 22:40:04 +0000 (22:40 +0000)]
DEVEL15-aix-largefile-cleanup-20060620

some largefile cleanup and other minor aix tweaking

(cherry picked from commit 7826b313868ec8ce975b65e5c430a9503fca4dd5)

19 years agoDEVEL15-windows-afsrpc-exports-20060620
Jeffrey Altman [Tue, 20 Jun 2006 21:59:25 +0000 (21:59 +0000)]
DEVEL15-windows-afsrpc-exports-20060620

New functions: rx_InitHost, rx_NewServiceHost

(cherry picked from commit 840ef4a80f3ec8378865232f23171c7c3485626b)

19 years agoDEVEL15-rxbind-for-servers-20060620
Jeffrey Altman [Tue, 20 Jun 2006 21:37:10 +0000 (21:37 +0000)]
DEVEL15-rxbind-for-servers-20060620

do not call parseNetFile on Windows where the function does not exist

(cherry picked from commit 7af6b06cb6611a8925e3fa887ddf0a03542ee4dc)

19 years agoDEVEL15-viced-findclient-do-not-return-wrong-client-20060620
Jeffrey Hutzelman [Tue, 20 Jun 2006 21:03:16 +0000 (21:03 +0000)]
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)

19 years agoDEVEL15-viced-deadlock-20060620
Rainer Toebbicke [Tue, 20 Jun 2006 15:53:18 +0000 (15:53 +0000)]
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)

19 years agoDEVEL15-fs-getcache-show-more-20060615
Troy Benjegerdes [Thu, 15 Jun 2006 16:52:59 +0000 (16:52 +0000)]
DEVEL15-fs-getcache-show-more-20060615

show more info about cache usage, optionally

(cherry picked from commit 176c2fddb95ced6c13e04e7492fc09b5551f273c)

19 years agoDEVEL15-linux-current-already-used-20060615
Troy Benjegerdes [Thu, 15 Jun 2006 16:45:19 +0000 (16:45 +0000)]
DEVEL15-linux-current-already-used-20060615

don;'t conflict on use of current

(cherry picked from commit 463d899a4f6527fc26d29e4cff31f65028cfa43f)

19 years agoDEVEL15-getaddr-avoid-looping-20060615
Derrick Brashear [Thu, 15 Jun 2006 16:20:56 +0000 (16:20 +0000)]
DEVEL15-getaddr-avoid-looping-20060615

so it would be good to count these all off

oops

(cherry picked from commit 2e691074fb6ce70e8352da3e57a746a77f7489f1)

19 years agoDEVEL15-getaddr-skip-loopbacks-version-for-macos-20060613
Derrick Brashear [Tue, 13 Jun 2006 04:52:39 +0000 (04:52 +0000)]
DEVEL15-getaddr-skip-loopbacks-version-for-macos-20060613

so rxbind does something sensible

(cherry picked from commit 3d1fc22c6ba5d07c831da79ffa01e3cf4d95322a)

19 years agoDEVEL15-rxbind-for-servers-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:29:15 +0000 (01:29 +0000)]
DEVEL15-rxbind-for-servers-20060612

FIXES 32308

support -rxbind switch for servers

(cherry picked from commit 592d97f9472abcf77496cef07261fa8766f60b9f)

19 years agoDEVEL15-namei-dec-drop-lock-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:01:51 +0000 (01:01 +0000)]
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)

19 years agoDEVEL15-linux-enable-gcpags-20060612
Derrick Brashear [Mon, 12 Jun 2006 17:25:47 +0000 (17:25 +0000)]
DEVEL15-linux-enable-gcpags-20060612

enable gcpags

(cherry picked from commit 33418253e06534b43ad44eaa71b7c4a84be7cb49)

19 years agoDEVEL15-recvackpkt-count-acks-and-open-cong-window-20060612
Chas Williams [Mon, 12 Jun 2006 05:27:07 +0000 (05:27 +0000)]
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)

19 years agoDEVEL15-windows-scache-recycle-fix-20060608 openafs-devel-1_5_2
Jeffrey Altman [Thu, 8 Jun 2006 22:22:20 +0000 (22:22 +0000)]
DEVEL15-windows-scache-recycle-fix-20060608

do not special case freelance entries

(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)

19 years agoDEVEL15-windows-cifs-std-info-take-two-20060607
Jeffrey Altman [Thu, 8 Jun 2006 00:31:55 +0000 (00:31 +0000)]
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)

19 years agoDEVEL15-openafs-devel-1-5-2-20060607
Derrick Brashear [Wed, 7 Jun 2006 06:03:06 +0000 (06:03 +0000)]
DEVEL15-openafs-devel-1-5-2-20060607

1.5.2

19 years agoDEVEL15-no-client-tcon-20060607
Chaskiel M Grundman [Wed, 7 Jun 2006 05:56:29 +0000 (05:56 +0000)]
DEVEL15-no-client-tcon-20060607

remove client->tcon and avoid locking issues

(cherry picked from commit f6468e0f27c90b2e2385508f9a1f01b8b1d346d2)

19 years agoDEVEL15-openlog-consistency-20060607
Chaskiel M Grundman [Wed, 7 Jun 2006 05:28:57 +0000 (05:28 +0000)]
DEVEL15-openlog-consistency-20060607

open logs consistently so assert logging is appended

(cherry picked from commit ed9a2181217f19b7ddbfe28118f6fb2f700b08ad)

19 years agoDEVEL15-synchronize-xdr-20060606
Russ Allbery [Wed, 7 Jun 2006 05:23:56 +0000 (05:23 +0000)]
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)

19 years agoDEVEL15-windows-smb-mountpt-is-dir-20060606
Jeffrey Altman [Tue, 6 Jun 2006 18:00:08 +0000 (18:00 +0000)]
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)

19 years agoDEVEL15-windows-makefile-clean-20060606
Jeffrey Altman [Tue, 6 Jun 2006 15:47:08 +0000 (15:47 +0000)]
DEVEL15-windows-makefile-clean-20060606

cleanup additional files

(cherry picked from commit 81cd89320fe855d22f91bda461dd5cdba147b671)

19 years agoDEVEL15-windows-version-20060604
Jeffrey Altman [Mon, 5 Jun 2006 04:26:33 +0000 (04:26 +0000)]
DEVEL15-windows-version-20060604

1.5.0002

(cherry picked from commit 36da63e03de7230b8464a50a58acf732ce994ff2)

19 years agoDEVEL15-windows-notes-20060604
Jeffrey Altman [Mon, 5 Jun 2006 02:37:01 +0000 (02:37 +0000)]
DEVEL15-windows-notes-20060604

updates

(cherry picked from commit 54eed0930a36c54db73f8e2d10c28b99c2c1e6bb)

19 years agoDEVEL15-viced-swap-old-cbcon-diff-20060603
Jeffrey Altman [Sun, 4 Jun 2006 07:14:30 +0000 (07:14 +0000)]
DEVEL15-viced-swap-old-cbcon-diff-20060603

FIXES 32985

swap cbconn when other side changes IPs

(cherry picked from commit b30dcf9738d7fa87f8da4afa1f024376130b80a9)

19 years agoDEVEL15-windows-scache-recycle-20060603
Jeffrey Altman [Sat, 3 Jun 2006 19:01:19 +0000 (19:01 +0000)]
DEVEL15-windows-scache-recycle-20060603

A deadlock was detected when performing "fs flushall" if the file
server reports VNOVNODE.   The scp->createBufferLock is already
held by the current thread and there is no mechanism to propagate
the knowledge.  Therefore, an alternate mechanism for clearing the
cache must be developed.  A new function cm_RecycleSCache(scp,flags)
has been extracted from cm_GetNewSCache().  This function performs
the task of recycling an cm_scache_t object.  When called from
cm_GetNewSCache() with no flags the expectation is that there are
no associated buffers that are queued to be read or written.  When
called from cm_Analyze() with the CM_SCACHE_RECYCLEFLAG_DESTROY_BUFFERS
flag, any queued buffers will be de-queued and marked as if the operations
were performed so the data can be discarded.

This patch also addresses the following issues:

* CM_ERROR codes were logged as "unknown" by cm_Analyze.

* In response to VNOVNODE, the parent is only discarded if the current
  cm_scache_t is not a directory.

* In the Ioctl FlushFile and FlushVolume functions, there were no
  checks to protect against flushing the Freelance SCache entries.

* In FlushFile, the wrong cm_scache_t object was being released.

* In cm_GetNewSCache, do not allow Freelance SCache entries to be
  recycled.  Choose a new entry if cm_RecycleSCache fails.

(cherry picked from commit f4f09d1c03cf738de6f73fc9d56502babd6743b4)

19 years agoDEVEL15-flock-handle-uae-errors-20060601
Chaskiel M Grundman [Fri, 2 Jun 2006 22:25:26 +0000 (22:25 +0000)]
DEVEL15-flock-handle-uae-errors-20060601

handle uae versions of errors for flock locks

(cherry picked from commit 99b572a00a342ab6ff003eb6736eb24a27e8fb15)

19 years agoDEVEL15-linux-vfsops-remove-redundant-code-20060601
Joe Buehler [Thu, 1 Jun 2006 16:58:06 +0000 (16:58 +0000)]
DEVEL15-linux-vfsops-remove-redundant-code-20060601

FIXES 32783

remove redundancy

(cherry picked from commit 3fdb1902c04153e3522e36c091b073dc7419ac65)

19 years agoDEVEL15-rx-rdwr-type-casting-20060523
Jeffrey Altman [Thu, 1 Jun 2006 16:50:21 +0000 (16:50 +0000)]
DEVEL15-rx-rdwr-type-casting-20060523

type cast correctly

(cherry picked from commit 53f6c22a2b590279d0ea4859829aec71c0692983)

19 years agoDEVEL15-md5-formerly-fbsd-saddr-wtf-20060601
Jim Rees [Thu, 1 Jun 2006 16:49:56 +0000 (16:49 +0000)]
DEVEL15-md5-formerly-fbsd-saddr-wtf-20060601

seemlingly unrelated change in with some other stuff, so i can't just pull or leave it

19 years agoDEVEL15-windows-smb-fid-faster-20060531
Jeffrey Altman [Thu, 1 Jun 2006 16:42:02 +0000 (16:42 +0000)]
DEVEL15-windows-smb-fid-faster-20060531

Speed up the performance of the cache manager by not holding the
smb_fid_t mutex across calls to cm_SyncOp and AFS RPCs.

Ensure that all smb_fid_t flag references are protected.

(cherry picked from commit 87313c96b1271b4730a27dcee1b6c062b0a37425)

19 years agoDEVEL15-fix-rx-getaddr-20060531
Derrick Brashear [Thu, 1 Jun 2006 16:41:49 +0000 (16:41 +0000)]
DEVEL15-fix-rx-getaddr-20060531

(cherry picked from commit 397fb82b694e72d9259aaa7264ca432c007bdb6f)

19 years agoDEVEL15-windows-smb-fid-deadlock-20060530
Jeffrey Altman [Thu, 1 Jun 2006 16:41:23 +0000 (16:41 +0000)]
DEVEL15-windows-smb-fid-deadlock-20060530

remove a deadlock introduced in 1.4.1

(cherry picked from commit 134669a912a99b212fb4768d2a9a969cda5fffff)

19 years agoDEVEL15-windows-get-acls-20060528
Jeffrey Altman [Thu, 1 Jun 2006 16:40:57 +0000 (16:40 +0000)]
DEVEL15-windows-get-acls-20060528

It is possible to have a valid callback but not to have the
required ACL info for the current user.  Force acquisition of
a FetchStatus but do so without making multiple calls.

(cherry picked from commit 83732fdb158e79b64774667ee09fc1b81062707e)

19 years agoDEVEL15-windows-hexdump-fix-20060528
Jeffrey Altman [Thu, 1 Jun 2006 16:40:48 +0000 (16:40 +0000)]
DEVEL15-windows-hexdump-fix-20060528

do not allow unquoted percent signs to be logged

(cherry picked from commit ee600c02e8f7c1299e3ebe13867f9aaa581c0141)

19 years agoDEVEL15-windows-access-fetchstatus-20060526
Jeffrey Altman [Thu, 1 Jun 2006 16:40:32 +0000 (16:40 +0000)]
DEVEL15-windows-access-fetchstatus-20060526

Do not call cm_GetCallback() directly.  Always
use cm_SyncOp(CM_SCACHESYNC_NEEDCALLBACK)

(cherry picked from commit 40415fe265d8e660f3698d8ab7f93004d589f902)

19 years agoDEVEL15-windows-dynamic-thread-priority-20060525
Jeffrey Altman [Thu, 1 Jun 2006 16:40:04 +0000 (16:40 +0000)]
DEVEL15-windows-dynamic-thread-priority-20060525

Dynamically adjust the priority of server threads based upon the age
of the cifs request that is being processed.  Bump the priority one
level for each 15 seconds of age.

(cherry picked from commit 7ca1a339cb488fd97015e959e2a17e91e9b56409)

19 years agoDEVEL15-windows-head-tail-queue-removal-20060525
Jeffrey Altman [Thu, 1 Jun 2006 16:39:51 +0000 (16:39 +0000)]
DEVEL15-windows-head-tail-queue-removal-20060525

while investigating the cause of the delayed write errors it was observed
that all of the sleep queues are LIFO.  This has the side effect of
encouraging starvation.  Changing the queues to FIFOs revealed a serious
problem affecting the use of all queues which use both head and tail
pointers.  The removal function osi_QRemove does not take a tail pointer
and therefore the pointer is always left hanging.  If the number of elements
ever drops to zero the queue becomes corrupted.

Added osi_QRemoveHT to be used whenever head and tail pointers are used.
Updated all callers in afsd.

(cherry picked from commit c1e79275079cfa68d73cc3a008c3fb3b201f1068)

19 years agoDEVEL15-windows-smb-mods-20060524
Jeffrey Altman [Thu, 1 Jun 2006 16:39:40 +0000 (16:39 +0000)]
DEVEL15-windows-smb-mods-20060524

Prevent smb_FindVCP from returning dead virtual circuits

Treat "*." as an alias for "all"

(cherry picked from commit b753ef7265b1970d1e38f3c65532af929102e1d6)

19 years agoDEVEL15-getaddr-skip-loopbacks-version-for-macos-20060523
Derrick Brashear [Thu, 1 Jun 2006 16:39:18 +0000 (16:39 +0000)]
DEVEL15-getaddr-skip-loopbacks-version-for-macos-20060523

so rxbind does something sensible

(cherry picked from commit cefa6b1dce9aa3c12a7afbc0c6b4d68c3444758d)

19 years agoDEVEL15-rxkad-var-tkt-len-20060523
Hartmut Reuter [Thu, 1 Jun 2006 16:38:59 +0000 (16:38 +0000)]
DEVEL15-rxkad-var-tkt-len-20060523

FIXES 31966

allocate memory for struct rxkad_cprivate based upon the actual
ticket size not the max ticket size

(cherry picked from commit 1344a69c57f6c2b8e0588e4b18b1178bc596f190)

19 years agoDEVEL15-windows-aklog-afsid-lookup-20060519
Jeffrey Altman [Thu, 1 Jun 2006 16:38:52 +0000 (16:38 +0000)]
DEVEL15-windows-aklog-afsid-lookup-20060519

if the cell matches the realm, do not lookup with realm

(cherry picked from commit 36f3bafb44aae8472453a1c39e9585b920a1bada)

19 years agoDEVEL15-windows-smb-vcp-cleanup-races-20060511
Jeffrey Altman [Thu, 1 Jun 2006 16:37:25 +0000 (16:37 +0000)]
DEVEL15-windows-smb-vcp-cleanup-races-20060511

Only allow one thread to mark the vcp dead

(cherry picked from commit f6833e96f961de1c1d402646c87681f27bf926e9)

19 years agoDEVEL15-viced-writevalloc-dont-vtakeoffline-20060510
Derrick Brashear [Thu, 1 Jun 2006 16:36:58 +0000 (16:36 +0000)]
DEVEL15-viced-writevalloc-dont-vtakeoffline-20060510

random errors shouldn't take the volume offline

(cherry picked from commit bcabba994188a4c88bdae3c5252c9b0de5d163c8)

19 years agoDEVEL15-windows-addr-change-mods-20060509
Jeffrey Altman [Thu, 1 Jun 2006 16:36:46 +0000 (16:36 +0000)]
DEVEL15-windows-addr-change-mods-20060509

When the client changes IP addresses, in order to obtain optimal
performance it must:

(1) force the replacement of all existing rx connections

(2) ping all up and down servers

(cherry picked from commit 66596cc677e8cbf7fa40ad2962ccc4547692afb5)

19 years agoDEVEL15-windows-less-power-mgmt-logging-20060508
Jeffrey Altman [Thu, 1 Jun 2006 16:36:39 +0000 (16:36 +0000)]
DEVEL15-windows-less-power-mgmt-logging-20060508

comment out some of the power mgmt log entries
reducing the size of afsd_init.log

(cherry picked from commit cabc803a62c2f3d20d41356bc177873bcf79c033)

19 years agoDEVEL15-windows-smb-vcp-clean-20060508
Jeffrey Altman [Thu, 1 Jun 2006 16:36:31 +0000 (16:36 +0000)]
DEVEL15-windows-smb-vcp-clean-20060508

don't grab the vcp mutex after releasing the vcp

(cherry picked from commit 77fbc6a158a570f1816c87433c0e4c44c0fc8fce)

19 years agoDEVEL15-windows-osi-lock-validate-20060508
Jeffrey Altman [Thu, 1 Jun 2006 16:36:18 +0000 (16:36 +0000)]
DEVEL15-windows-osi-lock-validate-20060508

perform lock type validation

(cherry picked from commit f86e9dfd7b97e1e26730be2d960bef004d3d3a1f)

19 years agoDEVEL15-macos-packaging-oops-20060508
Derrick Brashear [Thu, 1 Jun 2006 16:36:02 +0000 (16:36 +0000)]
DEVEL15-macos-packaging-oops-20060508

no plugin yet

(cherry picked from commit 948027777114c8061aaed3818dbdd836cfd87b11)

19 years agoDEVEL15-viced-host-mobile-client-20060505
Jeffrey Altman [Thu, 1 Jun 2006 16:35:55 +0000 (16:35 +0000)]
DEVEL15-viced-host-mobile-client-20060505

log the old addr, not the new one

(cherry picked from commit 69c7d8ae707fd1a145b8eec756526603ddd370b7)

19 years agoDEVEL15-windows-manifests-20060505
Jeffrey Altman [Thu, 1 Jun 2006 16:35:46 +0000 (16:35 +0000)]
DEVEL15-windows-manifests-20060505

embed manifests when building tools needed for building OpenAFS

(cherry picked from commit c4b6c57f6706cf3672294c23a232d84aff107812)

19 years agoDEVEL15-viced-host-logging-20060505
Jeffrey Altman [Thu, 1 Jun 2006 16:35:40 +0000 (16:35 +0000)]
DEVEL15-viced-host-logging-20060505

another place where dotted notation and port numbers were not being used
in log output.

(cherry picked from commit ada9819fd630f6cbe6fb8d442e79326df1fcdcad)

19 years agoDEVEL15-windows-wix-vs8-20060505
Jeffrey Altman [Thu, 1 Jun 2006 16:35:27 +0000 (16:35 +0000)]
DEVEL15-windows-wix-vs8-20060505

Enable wix installers to build with VS8 compiler on X86

(cherry picked from commit 86ff4c4d6bd264210990b57cbdbbf6b40d742716)

19 years agoDEVEL15-viced-hcps-logging-20060504
Jeffrey Altman [Thu, 1 Jun 2006 16:31:52 +0000 (16:31 +0000)]
DEVEL15-viced-hcps-logging-20060504

log whenever a client host does not have an hcps value.

log the host by dotted ip-addr and port number

(cherry picked from commit ea3ed375e8f706456afddd23bff5ebf906565d92)

19 years agowindows-ansi-filenames-fix-20060430 BP-openafs-devel-1_5_x
Tommie Gannert [Sun, 30 Apr 2006 05:58:28 +0000 (05:58 +0000)]
windows-ansi-filenames-fix-20060430

FIXES 31202

Remember to perform an OemToChar() conversion of the file name being
queried in Trans2QueryFileInfo

19 years agovlserver-rxmaxmtu-fix-20060426
Tommie Gannert [Wed, 26 Apr 2006 16:22:33 +0000 (16:22 +0000)]
vlserver-rxmaxmtu-fix-20060426

use 'index' as offset to argv

19 years agowindows-deadlock-and-race-removal-20060427 openafs-devel-1_5_1
Jeffrey Altman [Thu, 27 Apr 2006 16:49:55 +0000 (16:49 +0000)]
windows-deadlock-and-race-removal-20060427

This patch fixes:

* race conditions around cm_Lock() calls that were not protected
  by cm_SyncOp(LOCK) [asanka@secure-endpoints.com]

* deadlocks caused by obtaining smb_fid_t->mx after cm_scache_t->mx

* removes an extra Release smb_fid_t->mx that could result in
  releasing a mutex that is not currently held

* changes the log representation of several return codes and fids to
  be consistent with other output

19 years agonamei-delay-fsync-20060426
Rainer Toebbicke [Wed, 26 Apr 2006 16:43:17 +0000 (16:43 +0000)]
namei-delay-fsync-20060426

FIXES 30632

group fsync calls to speed up operations

19 years agoos-probe-linux-2-6-9-20060426
Derek Atkins [Wed, 26 Apr 2006 16:40:43 +0000 (16:40 +0000)]
os-probe-linux-2-6-9-20060426

FIXES 30514

make this work on 2.6.9

19 years agopam-configure-optmz-20060426
Christof Hanke [Wed, 26 Apr 2006 16:36:21 +0000 (16:36 +0000)]
pam-configure-optmz-20060426

FIXES 30659

get rid of hardcoded optimize flags

19 years agomd5-fix-20060426
Derrick Brashear [Wed, 26 Apr 2006 16:03:20 +0000 (16:03 +0000)]
md5-fix-20060426

the user struct macros hate us