]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
19 years agoSTABLE14-windows-nsis-help-files-install-location-20060625
Jeffrey Altman [Sun, 25 Jun 2006 15:55:35 +0000 (15:55 +0000)]
STABLE14-windows-nsis-help-files-install-location-20060625

place the help files in the correct location

(cherry picked from commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12)

19 years agoSTABLE14-windows-report-quota-diskfull-20060624
Jeffrey Altman [Sun, 25 Jun 2006 02:49:59 +0000 (02:49 +0000)]
STABLE14-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 agoSTABLE14-rhel3-krb524-checking-20060624
Russ Allbery [Sat, 24 Jun 2006 17:22:13 +0000 (17:22 +0000)]
STABLE14-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 agoSTABLE14-windows-wix-help-files-install-location-20060623
Asanka Herath [Sat, 24 Jun 2006 04:05:44 +0000 (04:05 +0000)]
STABLE14-windows-wix-help-files-install-location-20060623

place the help files in the correct location

(cherry picked from commit e264711295275b7b1372e701bf106cf75b342007)

19 years agoSTABLE14-obsd-39-141-20060623
Jim Rees [Fri, 23 Jun 2006 15:21:12 +0000 (15:21 +0000)]
STABLE14-obsd-39-141-20060623

By popular demand, merge OpenBSD 3.9 changes to 1.4.x branch

19 years agoSTABLE14-windows-cm_syncop-buflocked-20060622
Jeffrey Altman [Fri, 23 Jun 2006 04:37:57 +0000 (04:37 +0000)]
STABLE14-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 agoSTABLE14-windows-no-freelance-vldb-failover-20060622
Jeffrey Altman [Thu, 22 Jun 2006 22:50:13 +0000 (22:50 +0000)]
STABLE14-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 agoSTABLE14-aix-largefile-cleanup-20060620
Tom Keiser [Wed, 21 Jun 2006 18:59:07 +0000 (18:59 +0000)]
STABLE14-aix-largefile-cleanup-20060620

some largefile cleanup and other minor aix tweaking

(cherry picked from commit 7826b313868ec8ce975b65e5c430a9503fca4dd5)

19 years agoSTABLE14-dont-override-default-fs-settings-for-aix5-20060620
Derrick Brashear [Tue, 20 Jun 2006 22:31:04 +0000 (22:31 +0000)]
STABLE14-dont-override-default-fs-settings-for-aix5-20060620

this was just excessively clever. if aix 5 binaries "want" this, there are configure switches. laziness sucks.

19 years agoSTABLE14-windows-afsrpc-exports-20060620
Jeffrey Altman [Tue, 20 Jun 2006 22:00:18 +0000 (22:00 +0000)]
STABLE14-windows-afsrpc-exports-20060620

New functions: rx_InitHost, rx_NewServiceHost

(cherry picked from commit 840ef4a80f3ec8378865232f23171c7c3485626b)

19 years agoSTABLE14-rxbind-for-servers-20060620
Jeffrey Altman [Tue, 20 Jun 2006 21:34:59 +0000 (21:34 +0000)]
STABLE14-rxbind-for-servers-20060620

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

(cherry picked from commit 7af6b06cb6611a8925e3fa887ddf0a03542ee4dc)

19 years agoSTABLE14-viced-findclient-do-not-return-wrong-client-20060620
Jeffrey Hutzelman [Tue, 20 Jun 2006 21:01:42 +0000 (21:01 +0000)]
STABLE14-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 agoSTABLE14-viced-deadlock-20060620
Rainer Toebbicke [Tue, 20 Jun 2006 15:51:43 +0000 (15:51 +0000)]
STABLE14-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 agoSTABLE14-getaddr-avoid-looping-20060615
Derrick Brashear [Thu, 15 Jun 2006 16:13:33 +0000 (16:13 +0000)]
STABLE14-getaddr-avoid-looping-20060615

so it would be good to count these all off

oops

(cherry picked from commit 2e691074fb6ce70e8352da3e57a746a77f7489f1)

19 years agoSTABLE14-rxbind-for-servers-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:29:03 +0000 (01:29 +0000)]
STABLE14-rxbind-for-servers-20060612

FIXES 32308

support -rxbind switch for servers

(cherry picked from commit 592d97f9472abcf77496cef07261fa8766f60b9f)

19 years agoSTABLE14-linux-enable-gcpags-20060612
Derrick Brashear [Mon, 12 Jun 2006 17:20:53 +0000 (17:20 +0000)]
STABLE14-linux-enable-gcpags-20060612

enable gcpags

(cherry picked from commit 33418253e06534b43ad44eaa71b7c4a84be7cb49)

19 years agoSTABLE14-recvackpkt-count-acks-and-open-cong-window-20060612
Chas Williams [Mon, 12 Jun 2006 05:25:24 +0000 (05:25 +0000)]
STABLE14-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 agoSTABLE14-windows-scache-recycle-fix-20060608
Jeffrey Altman [Thu, 8 Jun 2006 22:19:17 +0000 (22:19 +0000)]
STABLE14-windows-scache-recycle-fix-20060608

do not special case freelance entries

(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)

19 years agoSTABLE14-linux-enroll-locks-20060403 openafs-stable-1_4_2-beta1
Chaskiel M Grundman [Tue, 13 Jun 2006 17:00:38 +0000 (17:00 +0000)]
STABLE14-linux-enroll-locks-20060403

FIXES 25037

enroll our locks in the linux kernels' lock management

(cherry picked from commit 62e28d9a0a6adc6e1f3c2938bfc530b54bea4158)

19 years agoSTABLE14-getaddr-skip-loopbacks-version-for-macos-20060613
Derrick Brashear [Tue, 13 Jun 2006 04:54:18 +0000 (04:54 +0000)]
STABLE14-getaddr-skip-loopbacks-version-for-macos-20060613

so rxbind does something sensible

(cherry picked from commit 3d1fc22c6ba5d07c831da79ffa01e3cf4d95322a)

19 years agoSTABLE14-namei-dec-drop-lock-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:00:17 +0000 (01:00 +0000)]
STABLE14-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 agoSTABLE14-windows-cifs-std-info-take-two-20060607
Jeffrey Altman [Thu, 8 Jun 2006 00:30:18 +0000 (00:30 +0000)]
STABLE14-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 agoSTABLE14-openafs-1-4-2-beta1-20060607
Derrick Brashear [Wed, 7 Jun 2006 06:05:44 +0000 (06:05 +0000)]
STABLE14-openafs-1-4-2-beta1-20060607

openafs 1.4.2-beta1i

19 years agoSTABLE14-no-client-tcon-20060607
Chaskiel M Grundman [Wed, 7 Jun 2006 05:55:25 +0000 (05:55 +0000)]
STABLE14-no-client-tcon-20060607

remove client->tcon and avoid locking issues

19 years agoSTABLE14-openlog-consistency-20060607
Chaskiel M Grundman [Wed, 7 Jun 2006 05:27:17 +0000 (05:27 +0000)]
STABLE14-openlog-consistency-20060607

open logs consistently so assert logging is appended

(cherry picked from commit ed9a2181217f19b7ddbfe28118f6fb2f700b08ad)

19 years agoSTABLE14-synchronize-xdr-20060606
Russ Allbery [Wed, 7 Jun 2006 05:22:27 +0000 (05:22 +0000)]
STABLE14-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 agoSTABLE14-windows-smb-mountpt-is-dir-20060606
Jeffrey Altman [Tue, 6 Jun 2006 17:58:50 +0000 (17:58 +0000)]
STABLE14-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 agoSTABLE14-windows-makefile-clean-20060606
Jeffrey Altman [Tue, 6 Jun 2006 15:52:20 +0000 (15:52 +0000)]
STABLE14-windows-makefile-clean-20060606

cleanup additional files

(cherry picked from commit 81cd89320fe855d22f91bda461dd5cdba147b671)

19 years agoSTABLE14-windows-version-20060604
Jeffrey Altman [Mon, 5 Jun 2006 04:30:02 +0000 (04:30 +0000)]
STABLE14-windows-version-20060604

1.4.0151 == 1.4.2-beta-1

(cherry picked from commit 36da63e03de7230b8464a50a58acf732ce994ff2)

19 years agoSTABLE14-windows-notes-20060604
Jeffrey Altman [Mon, 5 Jun 2006 02:34:42 +0000 (02:34 +0000)]
STABLE14-windows-notes-20060604

updates

(cherry picked from commit 54eed0930a36c54db73f8e2d10c28b99c2c1e6bb)

19 years agoSTABLE14-viced-swap-old-cbcon-diff-20060603
Jeffrey Altman [Sun, 4 Jun 2006 07:12:52 +0000 (07:12 +0000)]
STABLE14-viced-swap-old-cbcon-diff-20060603

FIXES 32985

swap cbconn when other side changes IPs

(cherry picked from commit b30dcf9738d7fa87f8da4afa1f024376130b80a9)

19 years agoSTABLE14-windows-scache-recycle-20060603
Jeffrey Altman [Sat, 3 Jun 2006 18:57:12 +0000 (18:57 +0000)]
STABLE14-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 agoSTABLE14-flock-handle-uae-errors-20060601
Chaskiel M Grundman [Fri, 2 Jun 2006 22:23:52 +0000 (22:23 +0000)]
STABLE14-flock-handle-uae-errors-20060601

handle uae versions of errors for flock locks

19 years agoSTABLE14-windows-notes-20060602 openafs-stable-1_4_1d
Jeffrey Altman [Fri, 2 Jun 2006 16:45:28 +0000 (16:45 +0000)]
STABLE14-windows-notes-20060602

1.4.1d

19 years agoSTABLE14-windows-smb-fid-mx-lock-20060602
Jeffrey Altman [Fri, 2 Jun 2006 16:39:42 +0000 (16:39 +0000)]
STABLE14-windows-smb-fid-mx-lock-20060602

add a lock that was lost during the pullups before 1.4.1c

19 years agoSTABLE14-flock-handle-uae-errors-20060601
Chaskiel M Grundman [Thu, 1 Jun 2006 17:02:31 +0000 (17:02 +0000)]
STABLE14-flock-handle-uae-errors-20060601

handle uae versions of errors for flock locks

19 years agoSTABLE14-linux-vfsops-remove-redundant-code-20060601
Joe Buehler [Thu, 1 Jun 2006 16:59:56 +0000 (16:59 +0000)]
STABLE14-linux-vfsops-remove-redundant-code-20060601

FIXES 32783

remove redundancy

(cherry picked from commit 3fdb1902c04153e3522e36c091b073dc7419ac65)

19 years agoSTABLE14-windows-notes-20060531 openafs-stable-1_4_1c
Jeffrey Altman [Thu, 1 Jun 2006 04:58:01 +0000 (04:58 +0000)]
STABLE14-windows-notes-20060531

1.4.1c

19 years agoSTABLE14-windows-smb-fid-faster-20060531
Jeffrey Altman [Thu, 1 Jun 2006 04:48:19 +0000 (04:48 +0000)]
STABLE14-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 agoSTABLE14-windows-version-20060531
Jeffrey Altman [Thu, 1 Jun 2006 04:42:15 +0000 (04:42 +0000)]
STABLE14-windows-version-20060531

1.4.1c == 1.4.0104

19 years agoSTABLE14-fix-rx-getaddr-20060531
Derrick Brashear [Wed, 31 May 2006 21:39:13 +0000 (21:39 +0000)]
STABLE14-fix-rx-getaddr-20060531

(cherry picked from commit 397fb82b694e72d9259aaa7264ca432c007bdb6f)

19 years agoSTABLE14-os-probe-linux-2-6-9-20060426
Derek Atkins [Wed, 31 May 2006 18:40:57 +0000 (18:40 +0000)]
STABLE14-os-probe-linux-2-6-9-20060426

FIXES 30514

make this work on 2.6.9

(cherry picked from commit 9677ca31860dd39749e7b3c2695d7209c1737cb6)

19 years agoSTABLE14-obsd39-20060531
Jim Rees [Wed, 31 May 2006 17:01:45 +0000 (17:01 +0000)]
STABLE14-obsd39-20060531

pull up changes for OpenBSD 3.8/3.9 to 1.4.x branch

19 years agoSTABLE14-windows-smb-fid-deadlock-20060530
Jeffrey Altman [Tue, 30 May 2006 17:57:38 +0000 (17:57 +0000)]
STABLE14-windows-smb-fid-deadlock-20060530

remove a deadlock introduced in 1.4.1

(cherry picked from commit 134669a912a99b212fb4768d2a9a969cda5fffff)

19 years agoSTABLE14-windows-get-acls-20060528
Jeffrey Altman [Mon, 29 May 2006 00:09:52 +0000 (00:09 +0000)]
STABLE14-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 agoSTABLE14-windows-notes-20060527
Jeffrey Altman [Sun, 28 May 2006 14:58:01 +0000 (14:58 +0000)]
STABLE14-windows-notes-20060527

update changelog

19 years agoSTABLE14-windows-vcp-release-fix-20060527
Jeffrey Altman [Sun, 28 May 2006 01:18:29 +0000 (01:18 +0000)]
STABLE14-windows-vcp-release-fix-20060527

smb_SendPacket cannot release the vcp since it does not own the
reference.

19 years agoSTABLE14-windows-access-fetchstatus-20060526
Jeffrey Altman [Fri, 26 May 2006 22:12:41 +0000 (22:12 +0000)]
STABLE14-windows-access-fetchstatus-20060526

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

(cherry picked from commit 40415fe265d8e660f3698d8ab7f93004d589f902)

19 years agoSTABLE14-windows-dynamic-thread-priority-20060525
Jeffrey Altman [Fri, 26 May 2006 07:38:05 +0000 (07:38 +0000)]
STABLE14-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 agoSTABLE14-windows-head-tail-queue-removal-20060525
Jeffrey Altman [Thu, 25 May 2006 18:40:59 +0000 (18:40 +0000)]
STABLE14-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.

====================
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.
====================

fix typo caused by pullup failure

(cherry picked from commit c1e79275079cfa68d73cc3a008c3fb3b201f1068)

19 years agoSTABLE14-windows-smb-mods-20060524
Jeffrey Altman [Thu, 25 May 2006 00:06:48 +0000 (00:06 +0000)]
STABLE14-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 agoSTABLE14-getaddr-skip-loopbacks-version-for-macos-20060523
Derrick Brashear [Wed, 24 May 2006 16:49:26 +0000 (16:49 +0000)]
STABLE14-getaddr-skip-loopbacks-version-for-macos-20060523

so rxbind does something sensible

(cherry picked from commit cefa6b1dce9aa3c12a7afbc0c6b4d68c3444758d)

19 years agoSTABLE14-rxkad-var-tkt-len-20060523
Hartmut Reuter [Tue, 23 May 2006 17:31:02 +0000 (17:31 +0000)]
STABLE14-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 agoSTABLE14-more-rxglock-cleanup-20060126
Chas Williams [Mon, 22 May 2006 20:08:45 +0000 (20:08 +0000)]
STABLE14-more-rxglock-cleanup-20060126

FIXES 23321

more rx glock cleanup. eval for pullup after 1.4.1

(cherry picked from commit f84de8044aab16ccaf961ba30a36929f2d1f1e50)

19 years agoSTABLE14-windows-aklog-afsid-lookup-20060519
Jeffrey Altman [Sat, 20 May 2006 04:15:58 +0000 (04:15 +0000)]
STABLE14-windows-aklog-afsid-lookup-20060519

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

(cherry picked from commit 36f3bafb44aae8472453a1c39e9585b920a1bada)

19 years agoSTABLE14-windows-notes-20060516 openafs-stable-1_4_1b
Jeffrey Altman [Tue, 16 May 2006 15:45:10 +0000 (15:45 +0000)]
STABLE14-windows-notes-20060516

notes for 1.4.1b

19 years agoSTABLE14-windows-version-20060516
Jeffrey Altman [Tue, 16 May 2006 15:34:43 +0000 (15:34 +0000)]
STABLE14-windows-version-20060516

1.4.103 == 1.4.1b

19 years agoSTABLE14-viced-host-mobile-client-20060505
Jeffrey Altman [Sat, 13 May 2006 15:22:57 +0000 (15:22 +0000)]
STABLE14-viced-host-mobile-client-20060505

Do not delete an old host entry because the UUID because the UUIDs
of the clients at the old addresses are wrong.  Remove the addresses.

Do not allow the same host,addr,port combination to be added into
the hash table multiple times.

====================
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.
====================

Add some more logging

Do not allow 'code' to be re-used for probing the uuid of the old host
primary address because we are relying on the value of 'code' to indicate
whether or not RCallBackConnectBack failed.  If it did, we mark the
client as VENUSDOWN, if not we marked it as RESETDONE.

====================

log the old addr, not the new one

(cherry picked from commit 69c7d8ae707fd1a145b8eec756526603ddd370b7)

19 years agoSTABLE14-windows-smb-vcp-cleanup-races-20060511
Jeffrey Altman [Thu, 11 May 2006 13:37:05 +0000 (13:37 +0000)]
STABLE14-windows-smb-vcp-cleanup-races-20060511

Only allow one thread to mark the vcp dead

(cherry picked from commit f6833e96f961de1c1d402646c87681f27bf926e9)

19 years agoSTABLE14-viced-writevalloc-dont-vtakeoffline-20060510
Derrick Brashear [Wed, 10 May 2006 06:01:08 +0000 (06:01 +0000)]
STABLE14-viced-writevalloc-dont-vtakeoffline-20060510

random errors shouldn't take the volume offline

(cherry picked from commit bcabba994188a4c88bdae3c5252c9b0de5d163c8)

19 years agoSTABLE14-windows-addr-change-mods-20060509
Jeffrey Altman [Tue, 9 May 2006 06:20:40 +0000 (06:20 +0000)]
STABLE14-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 agoSTABLE14-windows-smb-vcp-clean-20060508
Jeffrey Altman [Tue, 9 May 2006 02:41:17 +0000 (02:41 +0000)]
STABLE14-windows-smb-vcp-clean-20060508

don't grab the vcp mutex after releasing the vcp

(cherry picked from commit 77fbc6a158a570f1816c87433c0e4c44c0fc8fce)

19 years agoSTABLE14-windows-less-power-mgmt-logging-20060508
Jeffrey Altman [Tue, 9 May 2006 02:39:06 +0000 (02:39 +0000)]
STABLE14-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 agoSTABLE14-macos-packaging-oops-20060508
Derrick Brashear [Mon, 8 May 2006 20:28:08 +0000 (20:28 +0000)]
STABLE14-macos-packaging-oops-20060508

no plugin yet

(cherry picked from commit 948027777114c8061aaed3818dbdd836cfd87b11)

19 years agoSTABLE14-test-heimdal-revert-tsalv-20060508
Derrick Brashear [Mon, 8 May 2006 20:14:30 +0000 (20:14 +0000)]
STABLE14-test-heimdal-revert-tsalv-20060508

rolled up a bit too much here

19 years agoSTABLE14-viced-host-logging-20060505
Jeffrey Altman [Fri, 5 May 2006 17:28:55 +0000 (17:28 +0000)]
STABLE14-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 agoSTABLE14-viced-hcps-logging-20060504
Jeffrey Altman [Thu, 4 May 2006 05:56:24 +0000 (05:56 +0000)]
STABLE14-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 agoSTABLE14-viced-store-data-validate-input-20060408
Jeffrey Altman [Wed, 3 May 2006 11:57:13 +0000 (11:57 +0000)]
STABLE14-viced-store-data-validate-input-20060408

The old StoreData RPC is only supposed to be valid for files
smaller than 2GB.  When StoreData64 was added, StoreData and StoreData64
were implemented as calls to common_StoreData64.  This removed the bounds
checking on the old StoreData RPC making it possible for operations
beyond two 2GB to be requested even if the file server cannot support
them.  This patch adds a validity check to ensure that the requested
file operations remain below 2GB.  Failures return E2BIG.

(cherry picked from commit 9817af2a81eded29eeefcf8ef4445301a7d348ea)

19 years agoSTABLE14-windows-version-20060501
Jeffrey Altman [Tue, 2 May 2006 04:55:18 +0000 (04:55 +0000)]
STABLE14-windows-version-20060501

1.4.1a

19 years agoSTABLE14-windows-pthread-cleanup-20060424
Jeffrey Altman [Tue, 2 May 2006 04:51:55 +0000 (04:51 +0000)]
STABLE14-windows-pthread-cleanup-20060424

A number of crash reports have been filed with Microsoft in afspthread.dll.
The crashes are occuring as the processes are terminating.  In order to
attempt to address this problem this patch adds support for a DllMain()
entry point that is used to cleanup Thread Local Storage and the various
RX queues.  One theory is that processes are loading and unloading DLLs
that are linked to afspthread.dll leaving the pthread data in a very
inconsistent state after each unload.  By cleaning up the static data
during the unload, if afspthread is loading again it will be forced to
initialize the data once again.

(cherry picked from commit edff1e8788a2cadfd6bb9e08f9cfdbfb491924a6)

19 years agoSTABLE14-windows-ansi-filenames-fix-20060430
Tommie Gannert [Sun, 30 Apr 2006 06:00:31 +0000 (06:00 +0000)]
STABLE14-windows-ansi-filenames-fix-20060430

FIXES 31202

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

(cherry picked from commit 97a9d1964347e2b4b0f75e749b4d8f36d09fc876)

19 years agoSTABLE14-aix-make-install-20050815
Tom Keiser [Thu, 27 Apr 2006 18:35:19 +0000 (18:35 +0000)]
STABLE14-aix-make-install-20050815

FIXES 20827

make install was broken on aix. fix it.

(cherry picked from commit 45d144da14c39ed48ae8be4f89d78cfc12985056)

19 years agoSTABLE14-windows-deadlock-and-race-removal-20060427
Jeffrey Altman [Thu, 27 Apr 2006 16:55:38 +0000 (16:55 +0000)]
STABLE14-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

(cherry picked from commit bf7404c3510d63b90c2cb15766f8455f79da90fe)

19 years agoSTABLE14-vlserver-rxmaxmtu-fix-20060426
Tommie Gannert [Wed, 26 Apr 2006 16:24:14 +0000 (16:24 +0000)]
STABLE14-vlserver-rxmaxmtu-fix-20060426

use 'index' as offset to argv

(cherry picked from commit 702e3346f36d448af8901d31c543d9d4b35bfa81)

19 years agoSTABLE14-linux-probe-missing-commas-20060426
Jeffrey Altman [Wed, 26 Apr 2006 14:58:34 +0000 (14:58 +0000)]
STABLE14-linux-probe-missing-commas-20060426

FIXES 30977

Add missing commas for non-2.6 x86_64 platforms

(cherry picked from commit a88cb6c662d7fc0daed043ba40d971f4b5d2a05a)

19 years agoSTABLE14-volser-dump-validate-input-20060417
Jeffrey Altman [Mon, 17 Apr 2006 16:22:26 +0000 (16:22 +0000)]
STABLE14-volser-dump-validate-input-20060417

This patch adds code to perform return code error checking for all calls
to the ReadXyz() routines.  If the rx connection was lost or if the dump
format being parsed was incorrect there was an opportunity for data to
the processed after an error had already been detected.  In the best case
this would have simply resulted in additional work being performed when
it was not necessary but there was also the potential for modifying return
values which would later be used as input to later operations.  Better
to simply catch the error when it initially occurs and be done with it.

The ReadString() function had the potential to write into one byte prior
to the start of the input array.

ProcessIndex() would not properly close Fdhandle nor the StreamHandle
if an error was detected.

RestoreVolume() had a problem with the processing of incremental dumps.
Originally AFS supported a concept of incrementals dumps which when
restored would simply add their contents to the existing volume.  One
of the distinctions between the incremental and full dumps is that full
dump processing is responsible for removing any vnode entries from the
volume that are not present in the dump file headers.  When the incremental
dump support was removed, the RestoreVolume() function was broken.  If
a dump file contains multiple Dump Headers, then only the vnode entries
in the first Dump Header would be marked as being restored.  Any vnode
entries restored from subsequent Dump Headers would be deleted when the
RestoreVolume() function reached the end.  By removing the assignment
of 'tdelo = -1' within the loop that processes the Dump Headers, this
bug is resolved.  Although RestoreVolume is only called with the
'incremental' parameter == 0 at the current time, the check for non-zero
values is restored and the "remove unrestored vnodes" functionality is
disabled when a non-zero value is provided.

The ReadVnodes() function did not perform error checking.

(cherry picked from commit 8074632d6938e965d3f02cc07359d85276c25dbc)

19 years agoSTABLE14-vos-date-parse-errmsg-20060417
Andrew Deason [Mon, 17 Apr 2006 16:00:46 +0000 (16:00 +0000)]
STABLE14-vos-date-parse-errmsg-20060417

FIXES 30218

use the correct index value when printing the invalid date string

(cherry picked from commit f8103d800d8136d9f19fc880497741da859ff830)

19 years agoSTABLE14-relnotes-20060414
Jeffrey Altman [Fri, 14 Apr 2006 20:54:06 +0000 (20:54 +0000)]
STABLE14-relnotes-20060414

windows notes

19 years agoSTABLE14-openafs-relnotes-1_4_1-20060414
Derrick Brashear [Fri, 14 Apr 2006 20:23:23 +0000 (20:23 +0000)]
STABLE14-openafs-relnotes-1_4_1-20060414

1.4.1 release notes

19 years agoSTABLE14-backup-dump-parameter-fix-20060411
Rainer Toebbicke [Tue, 11 Apr 2006 20:28:20 +0000 (20:28 +0000)]
STABLE14-backup-dump-parameter-fix-20060411

this is a pointer, not an int, pass in NULL not 0

(cherry picked from commit 9ebf2fed4a1af7134fa86d09c865802b05ed27d1)

19 years agoSTABLE14-aix-build-fix-20060413 openafs-stable-1_4_1
Tom Keiser [Fri, 14 Apr 2006 14:13:49 +0000 (14:13 +0000)]
STABLE14-aix-build-fix-20060413

FIXES 30089

don't include this other than in kernel

(cherry picked from commit c77421ff087d059b8723b8e44f19a87e860d5593)

19 years agoSTABLE14-irix-ifnet-flags-20060413
Derrick Brashear [Thu, 13 Apr 2006 22:09:55 +0000 (22:09 +0000)]
STABLE14-irix-ifnet-flags-20060413

make ifnet_flags b e defined for irix also

(cherry picked from commit bbf4620d2d5c0d80d01f737b5bdda794453dd4ad)

19 years agoSTABLE14-inode-64bit-type-20060411
Derrick Brashear [Tue, 11 Apr 2006 20:41:33 +0000 (20:41 +0000)]
STABLE14-inode-64bit-type-20060411

use a 64 bit type for 64 bit inode size with inode fileserver

(cherry picked from commit 4d91ee63efb8b00dd2e6a1a50072928a94673175)

19 years agoSTABLE14-openafs-1-4-1-20060410
Derrick Brashear [Mon, 10 Apr 2006 21:29:30 +0000 (21:29 +0000)]
STABLE14-openafs-1-4-1-20060410

make OpenAFS 1.4.1

19 years agoSTABLE14-windows-remove-active_vcp-20060410
Jeffrey Altman [Mon, 10 Apr 2006 18:56:30 +0000 (18:56 +0000)]
STABLE14-windows-remove-active_vcp-20060410

The 'active_vcp' variable is no longer being used for any useful
purpose and is the center of a race condition that could lead to
an undercount of references to 'vcp' objects.  Remove it.

(cherry picked from commit f1ef60c020feffb73b2aee4c1871afba039afb67)

19 years agoSTABLE14-xstat_fs-fix-20060407
Jeffrey Altman [Mon, 10 Apr 2006 16:46:46 +0000 (16:46 +0000)]
STABLE14-xstat_fs-fix-20060407

as pointed out by cg2v@andrew.cmu.edu the addition of performance
collection data for the GetCapabilities RPC broke backward compatibility
with previous builds because it altered the size of the data structure
sent on the wire.

Instead we count the number of GetCapabilties calls but do not gather
performance timing data as this can be done using spare fields.

(cherry picked from commit 78bb852509767ff32547c8dc90c385a4c503e0f9)

19 years agoSTABLE14-STABLE-windows-vs2005-compat-20060409
Jeffrey Altman [Sun, 9 Apr 2006 08:52:50 +0000 (08:52 +0000)]
STABLE14-STABLE-windows-vs2005-compat-20060409

correct the makefile so it is compatible with the latest nmake

19 years agoSTABLE14-windows-notes-20060409
Jeffrey Altman [Sun, 9 Apr 2006 08:32:54 +0000 (08:32 +0000)]
STABLE14-windows-notes-20060409

updates for 1.4.1-rc11

19 years agoSTABLE14-windows-getvolstatus-20060408
Jeffrey Altman [Sun, 9 Apr 2006 08:29:37 +0000 (08:29 +0000)]
STABLE14-windows-getvolstatus-20060408

don't prevent all calls to getvolstatus, just the ones that are
not AFS pioctl calls.

(cherry picked from commit 632d0c701b31877b4d74f5f3849a5a8054f7326a)

19 years agoSTABLE14-windows-version-20060408
Jeffrey Altman [Sun, 9 Apr 2006 06:01:58 +0000 (06:01 +0000)]
STABLE14-windows-version-20060408

1.4.0101 == 1.4.1-rc11

19 years agoSTABLE14-windows-protect-against-vcp-undercount-20060408
Jeffrey Altman [Sun, 9 Apr 2006 05:56:36 +0000 (05:56 +0000)]
STABLE14-windows-protect-against-vcp-undercount-20060408

An undercount has been detected of the smb_vc_t objects stored
in the smb_allVCsp list.  Unfortunately, we have yet to be able
to find the cause of the undercount so this patch adds logic to
protect against the side effects until such time as the cause
can be identified.

(cherry picked from commit b9f22f0b7b9bf9aa746d3ef8ea63465b1cdadb97)

19 years agoSTABLE14-linux24-fix-osi-probe-20060407
Chaskiel M Grundman [Fri, 7 Apr 2006 06:23:11 +0000 (06:23 +0000)]
STABLE14-linux24-fix-osi-probe-20060407

linux-updates-20060331 broke 2.4 kernels

(cherry picked from commit 714df786894e6a9572e93d77b68384706abb02f0)

19 years agoSTABLE14-test-heimdal-20060217
Jim Rees [Wed, 5 Apr 2006 16:42:13 +0000 (16:42 +0000)]
STABLE14-test-heimdal-20060217

Add a configure test for heimdal and use it to build asetkey or not.
Thanks to Derek Atkins for his helpful suggestions.

19 years agoSTABLE14-man-page-asetkey-20060329
Russ Allbery [Mon, 3 Apr 2006 20:48:08 +0000 (20:48 +0000)]
STABLE14-man-page-asetkey-20060329

Add a man page for asetkey.

(cherry picked from commit 5b20ed35114473061015d3ff1904c12d0790c7ea)

19 years agoSTABLE14-asetkey-macos-20060215
Derrick Brashear [Mon, 3 Apr 2006 20:42:05 +0000 (20:42 +0000)]
STABLE14-asetkey-macos-20060215

make the same fix we do on aklog w.r.t com_err

(cherry picked from commit 90d681405a744816435949c1c70a5f33d86ff12d)

19 years agoSTABLE14-integrate-asetkey-20051029
Ken Hornstein [Mon, 3 Apr 2006 20:39:50 +0000 (20:39 +0000)]
STABLE14-integrate-asetkey-20051029

Add asetkey to the OpenAFS tree.

(cherry picked from commit 6b042d4edb7f26358523da9dcdb565ed023e00da)

19 years agoSTABLE14-windows-minidump-20060402
Jeffrey Altman [Mon, 3 Apr 2006 00:56:06 +0000 (00:56 +0000)]
STABLE14-windows-minidump-20060402

change minidump default to include data segments

(cherry picked from commit 0fd8768c859b549c2294dcb4dc4cb315deb7caad)

19 years agoSTABLE14-linux-updates-20060331
Chaskiel M Grundman [Fri, 31 Mar 2006 06:52:59 +0000 (06:52 +0000)]
STABLE14-linux-updates-20060331

FIXES 29122 29110 29112

fc5 and 2.6.16 updates

(cherry picked from commit ea59126e31672e3a1ed2958ea10ef5dbad24813e)

19 years agoSTABLE14-viced-gethostcps-byte-order-20060328
Derrick Brashear [Thu, 30 Mar 2006 17:29:22 +0000 (17:29 +0000)]
STABLE14-viced-gethostcps-byte-order-20060328

don't call GetHostCPS after swapping away from net byte order

(cherry picked from commit d387dba5efc88b14696b72e6b18cfb1af264be04)

19 years agoSTABLE14-man-page-kaserver-fix-20060329
Russ Allbery [Wed, 29 Mar 2006 21:41:55 +0000 (21:41 +0000)]
STABLE14-man-page-kaserver-fix-20060329

SYNOPSIS was mislabelled DESCRIPTION and the man page was therefore missing
the HTML formatting fixes.

(cherry picked from commit 5f70d9bb3ce0d1bb5db6604a53c52f483449e0d3)