]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
17 years agoDEVEL15-windows-afsd-20080222
Jeffrey Altman [Sat, 23 Feb 2008 00:17:34 +0000 (00:17 +0000)]
DEVEL15-windows-afsd-20080222

LICENSE MIT

1. Change RxEnableHotThread default to 'on'

2. Add a 'hash' value to the cm_fid_t structure in order to speed up cm_FidCmp().
   Add cm_SetFid() for use in constructing a fid complete with the hash.

3. Redefine the BUF_HASH and BUF_FILEHASH in terms of the cm_fid_t hash which
   has a better distribution

4. Modify cm_ConsiderPrefetch to evaluate the amount of data in the most recent
   read request instead of the next chunkSize.  cm_chunkSize can be dozens or
   hundreds of buffers.  As a result too much time is spent performing the
   evaluation.

5. Fix the usage of cm_scache_t bufCreateLock.  The purpose of this lock is
   to prevent the creation of new buffers while a truncation is being performed.
   All references to bufCreateLock have been removed except in two places:
   i.  a write-lock surrounding the function that calls buf_Truncate()
   ii. a read-lock within buf_GetNewLocked() that actually allocates new
       buffers

6. Modify the CM_CONFIG_DATA_MAGIC value to include a CM_CONFIG_DATA_VERSION
   number which value be used to force the replacement of the cache file
   contents when incompatible changes are made between releases.

7. CM_SCACHESYNC_ASYNCSTORE should not be ordered by cm_SyncOpCheckContinue

8. Avoid calls to multi_Rx if nconns == 0

9. Modify smb_WriteData to perform background writes based upon the crossing
   of buf_blockSize boundaries instead of cm_chunkSize boundaries.  This will
   slow down writes from the SMB interface but will avoid the risk of
   the CIFS client disconnecting from the AFS client SMB server.

(cherry picked from commit dcef8fa4adc4c2cdc166494979d77d91c40c1f06)

17 years agoDEVEL15-debian-packaging-update-20080220
Derrick Brashear [Wed, 20 Feb 2008 21:35:53 +0000 (21:35 +0000)]
DEVEL15-debian-packaging-update-20080220

LICENSE IPL10

Russ' metadata, repacked into our tree

(cherry picked from commit cd9ce022ee97bee809e840be8612aafb2cbfc6b8)

17 years agoDEVEL15-vos-addsite-pod-error-20080220
Derrick Brashear [Wed, 20 Feb 2008 20:19:44 +0000 (20:19 +0000)]
DEVEL15-vos-addsite-pod-error-20080220

LICENSE IPL10
Item is not item

(cherry picked from commit 49d77d8d4b8c26a56143a3655d460a6495f7d57a)

17 years agoDEVEL15-urecovery-invalidate-without-truncate-20080220
Derrick Brashear [Wed, 20 Feb 2008 20:09:05 +0000 (20:09 +0000)]
DEVEL15-urecovery-invalidate-without-truncate-20080220

LICENSE IPL10

critical to label the database invalid when we don't truncate so recovery finishes.

issue in 84609 remains.

(cherry picked from commit d5c32c97a01f02cd69e2167964b43d83c6d413fb)

17 years agoDEVEL15-windows-smb-locking-20080220
Jeffrey Altman [Wed, 20 Feb 2008 17:37:09 +0000 (17:37 +0000)]
DEVEL15-windows-smb-locking-20080220

LICENSE MIT

minor improvements to smb_rctLock usage.

(cherry picked from commit d48e3d1e7a5a5d065a0046b9115043bed47510a7)

17 years agoDEVEL15-windows-rx_enable_hot_thread-20080220
Jeffrey Altman [Wed, 20 Feb 2008 17:33:34 +0000 (17:33 +0000)]
DEVEL15-windows-rx_enable_hot_thread-20080220

LICENSE MIT

Add RxEnableHotThread registry option to permit rx_enable_hot_thread
to be set.  The default is off for the moment but turning it on does
provide significant performance benefits.

(cherry picked from commit dd4ecb4ca0467d9f5727de1bfe9082f195330b99)

17 years agoDEVEL15-rx-osi_socket-20080220
Jeffrey Altman [Wed, 20 Feb 2008 17:18:47 +0000 (17:18 +0000)]
DEVEL15-rx-osi_socket-20080220

LICENSE MIT

The portable type to be used for sockets is osi_socket not int.

On 64-bit Windows this caused failures when hot threads were enabled.

(cherry picked from commit 5067e6786dc93b8760edf6b1b9d92c3999caea7e)

17 years agoDEVEL15-openafs-1-5-32-20080219 openafs-devel-1_5_32
Derrick Brashear [Wed, 20 Feb 2008 03:36:24 +0000 (03:36 +0000)]
DEVEL15-openafs-1-5-32-20080219

LICENSE IPL10

make 1.5.32

17 years agoDEVEL15-man-page-updates-20080219
Jason Edgecombe [Tue, 19 Feb 2008 15:28:55 +0000 (15:28 +0000)]
DEVEL15-man-page-updates-20080219

LICENSE IPL10
FIXES 86677

note 2tb limit, add fs minidump document

(cherry picked from commit 897c36027476843db988b9d0625a8fc189c8716d)

17 years agoDEVEL15-s390x-not-s390-20080219
Mike Meffie [Tue, 19 Feb 2008 15:07:36 +0000 (15:07 +0000)]
DEVEL15-s390x-not-s390-20080219

LICENSE IPL10

don't try to link multiple things to asm

(cherry picked from commit 4bd64596caebf79962db441782082d07c2de9e4e)

17 years agoDEVEL15-viced-rmdir-fid-leak-20080219
Rainer Toebbicke [Tue, 19 Feb 2008 14:38:20 +0000 (14:38 +0000)]
DEVEL15-viced-rmdir-fid-leak-20080219

LICENSE IPL10
FIXES 86786

(cherry picked from commit 19b829d21934d60ab0b1af3ef0c7eefb2cce17b6)

17 years agoDEVEL15-windows-version-20080218
Jeffrey Altman [Tue, 19 Feb 2008 04:30:19 +0000 (04:30 +0000)]
DEVEL15-windows-version-20080218

LICENSE MIT

1.5.32 = 1.5.3200.0

17 years agoDEVEL15-windows-notes-20080218
Jeffrey Altman [Tue, 19 Feb 2008 04:19:09 +0000 (04:19 +0000)]
DEVEL15-windows-notes-20080218

LICENSE MIT

more for 1.5.32

17 years agoDEVEL15-windows-name-entries-20080218
Derrick Brashear [Tue, 19 Feb 2008 04:15:03 +0000 (04:15 +0000)]
DEVEL15-windows-name-entries-20080218

LICENSE IPL10

restore the original behavior.  Fixes smb_ReceiveTran2SearchDir().

(cherry picked from commit c2de3a1623441f93b119dbdbd772bfa81973b230)

17 years agoDEVEL15-arm-linux26-syscall-missing-20080218
Derrick Brashear [Tue, 19 Feb 2008 03:39:17 +0000 (03:39 +0000)]
DEVEL15-arm-linux26-syscall-missing-20080218

LICENSE IPL10

there's nothing non-political about this. whatever.

(cherry picked from commit 1e4c03deecee1671703af891dbaf11e11b0dd5c8)

17 years agoDEVEL15-viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218
Derrick Brashear [Mon, 18 Feb 2008 19:20:52 +0000 (19:20 +0000)]
DEVEL15-viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218

LICENSE IPL10

my code, though, this is a result of a problem reported by Chaskiel Grundman and analysis by him, Jeff Altman and myself.

I'm just checking in my implementation. In any case, the issue this addresses
is one where we can end up in makecall_waiting in rx on multiple connections
when we multibreakcallback because the lists are sorted differently and each has "pending" calls on a different connection. by sorting by index we will not
block on another caller while also holding what they're after

(cherry picked from commit 7421feda944d5fa05f5223528a69f23a7bb0b724)

17 years agoDEVEL15-windows-do-not-discard-badtickets-20080218
Jeffrey Altman [Mon, 18 Feb 2008 17:34:51 +0000 (17:34 +0000)]
DEVEL15-windows-do-not-discard-badtickets-20080218

LICENSE MIT

The RXKADBADTICKET error is returned when a krb5 derived token is sent
to a server that does not support them.  In a mixed cell it is possible
that some servers were not updated.  Discarding the token does not make
it possible to perform the request successfully and adversely affects
the user experience because those servers that do support the token
can no longer be accessed in an authenticated manner.  Users can't
determine what the cause is, all they see are their tokens disappearing
and there is nothing they can do about it anyway.

From now on return STATUS_NO_KERB_KEY and do not retry.

(cherry picked from commit 7a290f39ec303cb3473f63f7d9c634e767191279)

17 years agoDEVEL15-rx-stats-optimization-20080218
Jeffrey Altman [Mon, 18 Feb 2008 17:29:16 +0000 (17:29 +0000)]
DEVEL15-rx-stats-optimization-20080218

LICENSE IPL10

Do not grab the peer mutex or the rpc stats mutex if we are not
intending to collect stats.  Doing so is a bottleneck.

(cherry picked from commit 5fd85f53f26ba1f0649b8a8c68d3abb1c5159eb9)

17 years agoDEVEL15-windows-afskfw-20080218
Jeffrey Altman [Mon, 18 Feb 2008 14:17:11 +0000 (14:17 +0000)]
DEVEL15-windows-afskfw-20080218

LICENSE MIT

if we are going to insert the full ccache name then we must search by
it as well.

(cherry picked from commit f5645ccffe05f2c1b44d5ba1adb32ba45e26aae8)

17 years agoDEVEL15-windows-notes-20080217
Jeffrey Altman [Mon, 18 Feb 2008 05:56:30 +0000 (05:56 +0000)]
DEVEL15-windows-notes-20080217

LICENSE MIT

1.5.32

17 years agoDEVEL15-windows-share-parse-20080217
Jeffrey Altman [Mon, 18 Feb 2008 05:53:56 +0000 (05:53 +0000)]
DEVEL15-windows-share-parse-20080217

LICENSE MIT

add srvsvc and wkssvc to reserved names in smb_ShareParse.

include slash in ipc$ reference in dfs referrals check.

(cherry picked from commit 72da5c434c8caef0cb81523091915738e7e930ed)

17 years agoDEVEL15-windows-release-notes-20080217
Jeffrey Altman [Mon, 18 Feb 2008 04:37:44 +0000 (04:37 +0000)]
DEVEL15-windows-release-notes-20080217

LICENSE MIT

1.5.32

17 years agoDEVEL15-windows-netidmgr-extension-sample-20080217
Asanka Herath [Sun, 17 Feb 2008 14:38:07 +0000 (14:38 +0000)]
DEVEL15-windows-netidmgr-extension-sample-20080217

LICENSE MIT

A sample template for constructing Network Identity Manager OpenAFS
Provider Extensions for obtaining and identifying new token types.

(cherry picked from commit 55aa6f04dcfebae134b3459944e005599d06ef05)

17 years agoDEVEL15-windows-invalidate-file-locks-vnovnode-20080217
Jeffrey Altman [Sun, 17 Feb 2008 05:59:30 +0000 (05:59 +0000)]
DEVEL15-windows-invalidate-file-locks-vnovnode-20080217

LICENSE MIT

Upon receiving a VNOVNODE error from a file server, be sure to
invalidate any file locks.  This prevents on-going attempts to
extend the locks and will cause subsequent attempts to access
the file to receive a invalid handle error.

(cherry picked from commit 38c2524bd16f1e535ea28f9d0788b7eaa8d26c3d)

17 years agoDEVEL15-windows-buf-consistency-20080217
Jeffrey Altman [Sun, 17 Feb 2008 05:28:04 +0000 (05:28 +0000)]
DEVEL15-windows-buf-consistency-20080217

LICENSE MIT

All calls to buf_Get() must be protected by a read lock on the
cm_scache_t bufCreateLock

When a MergeStatus results in the invalidation of buffers, do
not remove buffers from the hash tables that have active references.

(cherry picked from commit 33bed6296114e16914cecf312c762774d44386c8)

17 years agoDEVEL15-windows-check-offline-volumes-20080214
Jeffrey Altman [Fri, 15 Feb 2008 03:31:36 +0000 (03:31 +0000)]
DEVEL15-windows-check-offline-volumes-20080214

LICENSE MIT

when checking offline volumes, update the cell vlserver info
if required and don't perform a check if there are no servers
in the list.

(cherry picked from commit 935c49a2a6efa476c327e8a24fc4895f0c8f623d)

17 years agoDEVEL15-windows-afsd-rx-extrapackets-20080214
Jeffrey Altman [Fri, 15 Feb 2008 03:26:35 +0000 (03:26 +0000)]
DEVEL15-windows-afsd-rx-extrapackets-20080214

LICENSE MIT

Add support for specifying rx_extraPackets in the Windows client

(cherry picked from commit 4aad2a7b6bcf97af384de36994af94b7b4b07f98)

17 years agoDEVEL15-windows-volstat-vl-unknown-20080214
Jeffrey Altman [Thu, 14 Feb 2008 14:13:28 +0000 (14:13 +0000)]
DEVEL15-windows-volstat-vl-unknown-20080214

LICENSE MIT

Add volumes in the vl_unknown state to the list of objects to be
checked as offline or retried when an allbusy error is received
in cm_Analyze.

(cherry picked from commit 093433b981cd1917215a4ee6196c5a0a55352d92)

17 years agoDEVEL15-windows-vnovol-20080214
Jeffrey Altman [Thu, 14 Feb 2008 19:20:32 +0000 (19:20 +0000)]
DEVEL15-windows-vnovol-20080214

LICENSE MIT

avoid a crash when logging VNOVOL errors returned from cm_CheckOfflineVolume

(cherry picked from commit 1133cc441862f3f0d44f0ab380a7274ead672b0f)

17 years agoDEVEL15-windows-osilog-savestring-20080214
Jeffrey Altman [Thu, 14 Feb 2008 14:09:18 +0000 (14:09 +0000)]
DEVEL15-windows-osilog-savestring-20080214

LICENSE MIT

When osi_Log is disabled, osi_LogSaveString will no longer copy the
provided string into the circular log buffer.  This saves a huge amount
of time.

(cherry picked from commit 00bada9c5eb803c13a6b930e79684a470cf94278)

17 years agoDEVEL15-windows-smb-special-share-names-20080212
Jeffrey Altman [Wed, 13 Feb 2008 05:58:25 +0000 (05:58 +0000)]
DEVEL15-windows-smb-special-share-names-20080212

LICENSE MIT

Treat srvsvc, wkssvc and ipc$ as pseudo files.  Permit them to be opened
and closed without actually existing.  For now we treat them as equivalent
to ioctls but this should eventually change.

Fix RAP processing to not reject names that exist in the root.afs volume
for GetInfo queries.

(cherry picked from commit 588a229110c92bd82b819916260ee9727759c4a0)

17 years agoDEVEL15-windows-dfs-referrals-20080212
Jeffrey Altman [Wed, 13 Feb 2008 05:46:27 +0000 (05:46 +0000)]
DEVEL15-windows-dfs-referrals-20080212

LICENSE MIT

Add "ipc$" to the list of names that must not be automatically added
as a share name.

If the sharename is a partial match and therefore will not be added
automatically to the share list, make sure that we return an error
to the requestor.

(cherry picked from commit 44c20384ed5c0fdb4bce737a2a3c2b9c0af4472b)

17 years agoDEVEL15-redhat-openafs-kmodtool-20080213
Derrick Brashear [Wed, 13 Feb 2008 05:28:58 +0000 (05:28 +0000)]
DEVEL15-redhat-openafs-kmodtool-20080213

LICENSE IPL10

rename to be specific to us.

(cherry picked from commit 31990decdef84adc1c9033944fcc59910720c834)

17 years agoDEVEL15-windows-no-wx-20080212
Jeffrey Altman [Tue, 12 Feb 2008 14:02:35 +0000 (14:02 +0000)]
DEVEL15-windows-no-wx-20080212

LICENSE MIT

Warnings as errors are nice, but when different compiler versions
stop building simply because a parameter is not being referenced
in a meaningful way its time for the option to be turned off

(cherry picked from commit e9e1d1a39bfe047a38f153afdc2fe8951174135c)

17 years agoDEVEL15-windows-no-more-rpcns4-dll-20080212
Jeffrey Altman [Tue, 12 Feb 2008 13:32:48 +0000 (13:32 +0000)]
DEVEL15-windows-no-more-rpcns4-dll-20080212

LICENSE MIT

Remove all references to rpcns4.lib and its included functions RpcNsXXX.
These APIs are no longer supported on Vista.  Except for TaAfsAdmSvr
they had been commented out for a long time but we still continued to
link to the library.  Loading the library generates a no longer supported
error on Vista.  So lets get rid of it.

(cherry picked from commit a5e5736c67cdf3d08bce548447bc7635b65329c2)

17 years agoDEVEL15-windows-afscreds-username-20080212
Jeffrey Altman [Tue, 12 Feb 2008 13:21:17 +0000 (13:21 +0000)]
DEVEL15-windows-afscreds-username-20080212

LICENSE MIT

Use GetUserNameEx to obtain the username instead of searching the registry.
Try UserPrincipalName first and fallback to SamCompatible.

(cherry picked from commit 512ec8f51880d4e9e1cc5564bd27991a2c2915d6)

17 years agoDEVEL15-windows-afscreds-vista-uac-20080211
Jeffrey Altman [Mon, 11 Feb 2008 16:44:27 +0000 (16:44 +0000)]
DEVEL15-windows-afscreds-vista-uac-20080211

LICENSE MIT
FIXES 82701

Modifying the registry and the startup shortcuts is not permitted under
Vista UAC.  Generate an error dialog and notify the end user.

(cherry picked from commit 7a8d8da95f5bd23fbb97d93840f3a2c5a145a695)

17 years agoDEVEL15-windows-freelance-20080211
Jeffrey Altman [Mon, 11 Feb 2008 14:46:36 +0000 (14:46 +0000)]
DEVEL15-windows-freelance-20080211

LICENSE MIT

Do not return BAD_NETWORK_ERROR in response to attempts to create directories
or files in the Freelance root.afs volume.  Instead return ACCESS_DENIED.

BAD_NETWORK_ERROR was being sent because the Freelance cell has no
vldb servers.  Short circuit the error by testing for freelance
in CreateFile and MakeDir

(cherry picked from commit 61bb3b7f096f3b10075dcb1403879e3ec518276b)

17 years agoDEVEL15-windows-version-20080210 openafs-devel-1_5_31
Jeffrey Altman [Mon, 11 Feb 2008 04:04:05 +0000 (04:04 +0000)]
DEVEL15-windows-version-20080210

LICENSE MIT

1.5.3100.0 == 1.5.31

17 years agoDEVEL15-openafs-1-5-31-20080210
Derrick Brashear [Mon, 11 Feb 2008 04:02:12 +0000 (04:02 +0000)]
DEVEL15-openafs-1-5-31-20080210

LICENSE IPL10

make 1.5.31

17 years agoDEVEL15-magic-vnodes-20080210
Derrick Brashear [Mon, 11 Feb 2008 04:00:47 +0000 (04:00 +0000)]
DEVEL15-magic-vnodes-20080210

LICENSE IPL10

add magic vnodes like the magic mounts we already have. you can now
cons up any afs vnode if you know the cell and fid.

(cherry picked from commit a5dbdd03b8187f0c2c146f330e9adc42e103432c)

17 years agoDEVEL15-vos-syncv-dryrun-20080210
Derrick Brashear [Mon, 11 Feb 2008 03:44:23 +0000 (03:44 +0000)]
DEVEL15-vos-syncv-dryrun-20080210

LICENSE IPL10

add a dryrun mode to vos syncvldb and syncserv

(cherry picked from commit b44afa839b7c5dd33ab83958f0871edac32fc7ac)

17 years agoDEVEL15-dafs-vol-updates-20080210
Tom Keiser [Mon, 11 Feb 2008 03:37:22 +0000 (03:37 +0000)]
DEVEL15-dafs-vol-updates-20080210

LICENSE IPL10

make sure status is consistent in vol package when doing dafs

(cherry picked from commit c61712de68f6bcb59eac29cb59e9ae78d98cf179)

17 years agoDEVEL15-windows-windows-pipes-20080210
Jeffrey Altman [Mon, 11 Feb 2008 00:18:32 +0000 (00:18 +0000)]
DEVEL15-windows-windows-pipes-20080210

LICENSE MIT

do not search for cellnames that match srvsvc or wkssvc pipes

(cherry picked from commit d7235b1493917250a163dc4336f8b6ac83c6a07e)

17 years agoDEVEL15-linux-x8664-mapfile-update-20080210
Derrick Brashear [Sun, 10 Feb 2008 06:03:04 +0000 (06:03 +0000)]
DEVEL15-linux-x8664-mapfile-update-20080210

LICENSE IPL10

as reported by arolfe@mit.edu

17 years agoDEVEL15-windows-notes-20080209
Jeffrey Altman [Sat, 9 Feb 2008 12:39:21 +0000 (12:39 +0000)]
DEVEL15-windows-notes-20080209

LICENSE MIT

more updates for 1.5.31

17 years agoDEVEL15-windows-wow64-registry-20080208
Jeffrey Altman [Sat, 9 Feb 2008 02:32:19 +0000 (02:32 +0000)]
DEVEL15-windows-wow64-registry-20080208

LICENSE MIT

Enable the 32-bit tools that are distributed for use in the WOW64 environment
to access the 64-bit registry keys instead of the 32-bit versions.  This
will remove the need to support both 64-bit and 32-bit versions of the
values.

(cherry picked from commit cd82af9d4e50798e8fe5cf0f2f022f1f40e2b59e)

17 years agoDEVEL15-windows-vnodeops-20080208
Jeffrey Altman [Sat, 9 Feb 2008 02:27:55 +0000 (02:27 +0000)]
DEVEL15-windows-vnodeops-20080208

LICENSE MIT

Add support for returning RANGE_NOT_LOCKED errors

Do not attempt to add a mount point for share names of the form
<cell><mount-type><volume>.  Its just a big waste of time.  DNS
queries and CellServDB file searches are expensive.

(cherry picked from commit 0caf7c54dfac30c92587031af6a902f4d33b2e22)

17 years agoDEVEL15-rx-kill-void-stupidity-20080208
Derrick Brashear [Fri, 8 Feb 2008 21:21:06 +0000 (21:21 +0000)]
DEVEL15-rx-kill-void-stupidity-20080208

LICENSE IPL10

remove VOID since it conflicts with this. and we shouldn't need it anymore anyway

(cherry picked from commit 607c0959f085a6d8283f78a9969c450930cab084)

17 years agoDEVEL15-windows-scache-locks-20080207
Jeffrey Altman [Fri, 8 Feb 2008 01:21:46 +0000 (01:21 +0000)]
DEVEL15-windows-scache-locks-20080207

LICENSE MIT

add lock assertions to ensure we are holding write locks when
manipulating scache refcounts

(cherry picked from commit 629feb40c46658d08e5dc3e6dcd1114996b8c734)

17 years agoDEVEL15-windows-fs-utils-20080207
Jeffrey Altman [Thu, 7 Feb 2008 21:42:11 +0000 (21:42 +0000)]
DEVEL15-windows-fs-utils-20080207

LICENSE MIT

Use ismeta() correctly when parsing integer strings.

(cherry picked from commit 1c0c38b91836db8e90c73f340dd302000950a539)

17 years agoDEVEL15-windows-scache-refcount-race-20080207
Jeffrey Altman [Thu, 7 Feb 2008 21:21:20 +0000 (21:21 +0000)]
DEVEL15-windows-scache-refcount-race-20080207

LICENSE MIT

if we are going to call a NoLock function better be holding the lock

(cherry picked from commit bb2dc54732c865f37b0e9c5b928c850daa795b4d)

17 years agoDEVEL15-windows-multi-check-servers-20080207
Jeffrey Altman [Thu, 7 Feb 2008 20:29:19 +0000 (20:29 +0000)]
DEVEL15-windows-multi-check-servers-20080207

LICENSE MIT

for multi must compute the host string from the ip address for each server

(cherry picked from commit f2be22f71001852d5d461b34ba2c13d3d53d5e10)

17 years agoDEVEL15-windows-volstat-20080207
Jeffrey Altman [Thu, 7 Feb 2008 14:48:53 +0000 (14:48 +0000)]
DEVEL15-windows-volstat-20080207

LICENSE MIT

When updating the volume status do not introduce a deadlock by holding
cm_serverLock

(cherry picked from commit 1a95df210c51a4e1416e5996b99c5640e4265255)

17 years agoDEVEL15-windows-volstat-20080206
Jeffrey Altman [Thu, 7 Feb 2008 06:14:59 +0000 (06:14 +0000)]
DEVEL15-windows-volstat-20080206

LICENSE MIT

Ensure that the volume status is always updated after a server_ref
status change.

(cherry picked from commit 04cac1963a4716e57447b28c00629f0ef5a15258)

17 years agoDEVEL15-windows-multi-check-servers-20080206
Jeffrey Altman [Wed, 6 Feb 2008 19:31:09 +0000 (19:31 +0000)]
DEVEL15-windows-multi-check-servers-20080206

LICENSE MIT

do not leak references

remove signed vs unsigned warnings

retry all RXGEN_OPCODE responses regardless of whether or not the entry
had to be moved to consolidate the list.

(cherry picked from commit 5d61f37949fd561f4c9d777cc67c5fd3db835e29)

17 years agoDEVEL15-windows-notes-20080206
Jeffrey Altman [Wed, 6 Feb 2008 19:14:27 +0000 (19:14 +0000)]
DEVEL15-windows-notes-20080206

LICENSE MIT

more changes for 1.5.31

17 years agoDEVEL15-windows-release-notes-20080206
Jeffrey Altman [Wed, 6 Feb 2008 17:58:17 +0000 (17:58 +0000)]
DEVEL15-windows-release-notes-20080206

LICENSE MIT

Updates for 1.5.31

17 years agoDEVEL15-windows-shell-add-symlink-20080206
Jeffrey Altman [Wed, 6 Feb 2008 17:53:55 +0000 (17:53 +0000)]
DEVEL15-windows-shell-add-symlink-20080206

LICENSE MIT

No longer attempt to validate the target of the symlink.
There is no method of doing so reliably.

(cherry picked from commit d78bff3dbd561f9d0f4976eeb264e601216a37c6)

17 years agoDEVEL15-windows-vnovol-20080206
Jeffrey Altman [Wed, 6 Feb 2008 16:52:53 +0000 (16:52 +0000)]
DEVEL15-windows-vnovol-20080206

LICENSE MIT

VNOVOL means the volume could not be attached which from the client
perspective is the same as being offline.  The VLDB should not be
queried in response to this error.

(cherry picked from commit a0e454bd41ec8b363f7669d620d4ff3caa8caf1d)

17 years agoDEVEL15-hpux-dafs-inline-functions-20080206
Derrick Brashear [Wed, 6 Feb 2008 12:21:48 +0000 (12:21 +0000)]
DEVEL15-hpux-dafs-inline-functions-20080206

LICENSE IPL10

fix this for hpux

(cherry picked from commit 0254b1a8810c3ef9692c0c77f9851b563ea70832)

17 years agoDEVEL15-windows-notes-20080205
Jeffrey Altman [Wed, 6 Feb 2008 05:58:57 +0000 (05:58 +0000)]
DEVEL15-windows-notes-20080205

LICENSE MIT

update changes since 1.5.30

17 years agoDEVEL15-linux-rx-kernel-listener-kill-task-directly-20080205
Derrick Brashear [Wed, 6 Feb 2008 01:32:13 +0000 (01:32 +0000)]
DEVEL15-linux-rx-kernel-listener-kill-task-directly-20080205

LICENSE IPL10

as reported by cg2v@andrew.cmu.edu

(cherry picked from commit 8274eb91f1c0fd94f3982ae6f12d8dcb8f388f44)

17 years agoDEVEL15-window-wix-dependencies-two-20080205
Jeffrey Altman [Wed, 6 Feb 2008 01:14:52 +0000 (01:14 +0000)]
DEVEL15-window-wix-dependencies-two-20080205

LICENSE MIT

afsvosadmin.dll is required by translate_et.exe

(cherry picked from commit 9732b4bb94a921a2a6bff0f985e44d04afacebd9)

17 years agoDEVEL15-windows-pioctl-path-charset-translation-20080205
Jeffrey Altman [Tue, 5 Feb 2008 20:49:30 +0000 (20:49 +0000)]
DEVEL15-windows-pioctl-path-charset-translation-20080205

LICENSE MIT
FIXES 84279

Do not translate the character set of the pioctl path data.
These paths were not provided by the file system but by the end user.
Therefore, they were not converted to the OEM character set.

With this change the AFS shell context menu will be displayed for
non-ASCII file names when ANSI file names are being used as well
as the fs commands will work.

(cherry picked from commit b85428263c75316ff8fd15c188617f4eb02670a8)

17 years agoDEVEL15-windows-multi-checkservers-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:38:02 +0000 (17:38 +0000)]
DEVEL15-windows-multi-checkservers-20080205

LICENSE MIT

Instead of probing servers one at a time, use multi_rx versions of
RXAFS_GetCapabilities, RXAFS_GetTime and VL_ProbeServer to permit
simultaneous probing of servers in constant time regardless of the
number of servers.

(cherry picked from commit df5cfb3de1deae455d264780d3987c7fa6f33d2c)

17 years agoDEVEL15-multi-rx-calls-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:26:46 +0000 (17:26 +0000)]
DEVEL15-multi-rx-calls-20080205

LICENSE MIT

Add multi versions of RXAFS_GetCapabilities, RXAFS_GiveUpAllCallBacks,
and VL_ProbeServer.

(cherry picked from commit 5c7dfcad135a1c34942d264be2b72196e3b96003)

17 years agoDEVEL15-rxgen-multi-prototypes-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:18:42 +0000 (17:18 +0000)]
DEVEL15-rxgen-multi-prototypes-20080205

LICENSE MIT

When 'multi' is applied to an RPC definition, rxgen produced split prototypes,
Start and End, but failed to produce the prototype for the normal RPC call.

(cherry picked from commit 0088e5cb20c90a899aacb62cd13b57a7bbe13432)

17 years agoDEVEL15-windows-down-time-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:11:45 +0000 (17:11 +0000)]
DEVEL15-windows-down-time-20080205

LICENSE MIT

use clock time instead of osi_Time() for server down time tracking
for proper comparison with expiration times.

(cherry picked from commit ac614c7609f61394da1ea425940a09bf98fbc0ea)

17 years agoDEVEL15-windows-check-offline-volumes-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:08:54 +0000 (17:08 +0000)]
DEVEL15-windows-check-offline-volumes-20080205

LICENSE MIT

Do not hold the cm_volume_t mutex across the RPC

(cherry picked from commit db20cd6b718096530e8b2a5f7df7818c4a07783b)

17 years agoDEVEL15-windows-wix-translate_et-20080205
Jeffrey Altman [Tue, 5 Feb 2008 16:58:19 +0000 (16:58 +0000)]
DEVEL15-windows-wix-translate_et-20080205

LICENSE MIT

Install the dll dependencies for translate_et as part of the client
component.

(cherry picked from commit 48fe8ad6ab68620dbfc26ad44f078c01ba5174c5)

17 years agoDEVEL15-dafs-windows-vnode-locking-20080204
Jeffrey Altman [Mon, 4 Feb 2008 22:43:15 +0000 (22:43 +0000)]
DEVEL15-dafs-windows-vnode-locking-20080204

LICENSE MIT

allow Windows to build with dafs-vnode-locking-20080204

(cherry picked from commit 08ca5fc1e1c883a5fc6b55cb076540845585243f)

17 years agoDEVEL15-pts-localauth-20080204
Simon Wilkinson [Mon, 4 Feb 2008 19:42:02 +0000 (19:42 +0000)]
DEVEL15-pts-localauth-20080204

LICENSE IPL10

distilled from changes by mdw@umich.edu

(cherry picked from commit 496b5e4c978dec000c5f1e318968d74f8818d60b)

17 years agoDEVEL15-dafs-vnode-locking-20080204
Tom Keiser [Mon, 4 Feb 2008 18:51:37 +0000 (18:51 +0000)]
DEVEL15-dafs-vnode-locking-20080204

LICENSE IPL10
FIXES 84778

* Vnode package concurrency model was overhauled. Unlike the old model,
where concurrency was controlled via reader/writer locks, the new model
uses a per-vnode finite state automata.
* add several new volume states to deal with volume vnode list operations
* a new FSSYNC command code was added to allow volume utilities to close
out a volume operation without causing the fileserver to mount the volume
* a new FSSYNC command code was added to allow volume utilities to
transition a volume into a hard error state
* the salvageserver has been modified to keep volume group partition
path data coherent with the fileserver (like many other parts of the
volume package, this code assumes all members of the group are stored on
the same vice partition)
* make salvageserver correctly handle volume state when a child worker
process terminates abnormally
* update volume pre-attachment code to deal with move volumes across
partitions on the same server
* add volume state sanity checks to more volume package interfaces
* original vos online patch introduced a race condition; rearchitect vos
online/offline to eliminate race condition, and reduce i/o load caused
by operation
* unify duplicate code in volserver related to servicing vos examine and
vos listvol requests
* add doxygen formatted comment blocks to numerous volume package elements
* various updates to fssync-debug to allow dumping vnode state, and
updates to deal with added volume and vnode states
* several 1.5-specific fixes related to fssync and salvsync

(cherry picked from commit ed25934c1fe96b143715025b49104e75dce9a361)

17 years agoDEVEL15-rx-xdr_rec-type-error-20080203
Jeffrey Altman [Mon, 4 Feb 2008 04:05:25 +0000 (04:05 +0000)]
DEVEL15-rx-xdr_rec-type-error-20080203

LICENSE MIT

x_inline second parameter is unsigned

(cherry picked from commit 647bbb509ddf59b80ce9965e89ac13ea26952e0f)

17 years agoDEVEL15-kauth-windows-handle-leak-20080203
Jeffrey Altman [Mon, 4 Feb 2008 03:59:06 +0000 (03:59 +0000)]
DEVEL15-kauth-windows-handle-leak-20080203

LICENSE MIT

close() does not close sockets on Windows

(cherry picked from commit f68eb88ac0af27371232903de837de57f0790056)

17 years agoDEVEL15-rxmaxmtu-printf-format-error-20080203
Jeffrey Altman [Mon, 4 Feb 2008 03:51:41 +0000 (03:51 +0000)]
DEVEL15-rxmaxmtu-printf-format-error-20080203

LICENSE MIT

correct improper format string

(cherry picked from commit 80fc057c4dc0b3373723a19eeb6a9fa12a71f301)

17 years agoDEVEL15-windows-vista-resume-smb-binding-20080202
Jeffrey Altman [Sat, 2 Feb 2008 22:27:11 +0000 (22:27 +0000)]
DEVEL15-windows-vista-resume-smb-binding-20080202

LICENSE MIT

another plane trip, more tweaks to the logic for handling re-binding
of the netbios name after a power management resume event.

(cherry picked from commit 270cb6a9c9903d92b9b6276a542968667056066a)

17 years agoDEVEL15-windows-dfs-referrals-symlinks-20082002
Jeffrey Altman [Sat, 2 Feb 2008 22:23:01 +0000 (22:23 +0000)]
DEVEL15-windows-dfs-referrals-symlinks-20082002

LICENSE MIT

another small tweak to ensure that we don't create a symlink for "fo" when
a mountpoint or symlink for "foo" exists

(cherry picked from commit d52f19ca0aacdbfdf64bdeaae4153c1f2ec7f385)

17 years agoDEVEL15-windows-cellservdb-location-20080202
Jeffrey Altman [Sat, 2 Feb 2008 13:43:21 +0000 (13:43 +0000)]
DEVEL15-windows-cellservdb-location-20080202

LICENSE MIT

Modify the search order for determining the location of CellServDB
and other client configuration files.

1. AFSCONF environment variable
2. registry setting
3. NEW - use All Users\AppData\OpenAFS\Client only if CellServDB exists
4. use Program Files\OpenAFS\Client

(cherry picked from commit d094c65f14e674dfc334b9c6b3f5ac871e3dd1e6)

17 years agoDEVEL15-windows-more-cellservdb-consolidation-20080201
Jeffrey Altman [Sat, 2 Feb 2008 02:48:12 +0000 (02:48 +0000)]
DEVEL15-windows-more-cellservdb-consolidation-20080201

LICENSE MIT

Merge cellconfig.c and the afsreg library.
Redefine the location of the client cellservdb directory in dirpath
in terms of the cellservdb direction and not the install directory.
(although they point at the same thing now by default.)

Future changes to the location of the cellservdb directory should
be made in afsreg.

(cherry picked from commit 753ba70cf257aded0fae158c556a25ca72243214)

17 years agoDEVEL15-windows-client-config-cellservdb-20080201
Jeffrey Altman [Sat, 2 Feb 2008 00:24:49 +0000 (00:24 +0000)]
DEVEL15-windows-client-config-cellservdb-20080201

LICENSE MIT

modify cellservdb.c to use cm_GetCellServDB() from libafsconf.dll.
This results in both libadmin and the afs client control panel using
the same CellServDB as the rest of the system.

(cherry picked from commit c9339265f7036dd465a4bbf8e762fc246f45d6a4)

17 years agoDEVEL15-windows-build-system-20080201
Jeffrey Altman [Sat, 2 Feb 2008 00:20:07 +0000 (00:20 +0000)]
DEVEL15-windows-build-system-20080201

LICENSE MIT

re-order the building of directories so that libafsconf.dll is built
before other directories that might want to use it.

(cherry picked from commit f224734230f6bfd27f1a1dfa159d1f38797c7999)

17 years agoDEVEL15-windows-refactor-cm_config-20080201
Jeffrey Altman [Fri, 1 Feb 2008 21:39:40 +0000 (21:39 +0000)]
DEVEL15-windows-refactor-cm_config-20080201

LICENSE MIT

cm_config.c was a nightmare.  there were several functions that each
computed the location of the OpenAFS Client configuration directory
in a slightly different way.  Now there is a single exported function
that determines the directory, and another that determines the name
of the CellServDB file.  All of the other functons in cm_config.c and
throughout the src/WINNT/afsd directory now use those two functions.

The new rule for determining the location of the OpenAFS Client
configuration directory and hence the CellServDB file location is:

1. check the AFSCONF environment variable
2. check the HKLM\SOFTWARE\OpenAFS\Client   CellServDBDir registry value
3. use AFSDIR_CLIENT_ETC_DIRPATH which currently refers to
   \Program Files\OpenAFS\Client

(For 1.5 branch remove all references to DJGPP in cm_config.[ch])

(cherry picked from commit 0f41a173925407cc7f6a597477ba25691f73d119)

17 years agoDEVEL15-h-enumerate-less-heavyhanded-check-20080201
Derrick Brashear [Fri, 1 Feb 2008 21:33:40 +0000 (21:33 +0000)]
DEVEL15-h-enumerate-less-heavyhanded-check-20080201

LICENSE IPL10

if hostCount is too small this is fine or at least not fatal

(cherry picked from commit 4fe2978f69f6314284d5689ea1d9169360155450)

17 years agoDEVEL15-windows-netidmgr-20080201
Jeffrey Altman [Fri, 1 Feb 2008 21:17:15 +0000 (21:17 +0000)]
DEVEL15-windows-netidmgr-20080201

LICENSE MIT

afs/stds.h before all others

(cherry picked from commit 4ad35bd5aa431332bea866775278a6ae9d65a5e2)

17 years agoDEVEL15-poll-drop-fsync-lock-20080201
Simon Wilkinson [Fri, 1 Feb 2008 15:27:30 +0000 (15:27 +0000)]
DEVEL15-poll-drop-fsync-lock-20080201

LICENSE IPL10

update to drop fsync lock if we're using poll

(cherry picked from commit 43aa2bd2ba63e778f78d80b2a6a7d5ff991b0f97)

17 years agoDEVEL15-solaris10-cleanup-friendliness-20080130
Derrick Brashear [Thu, 31 Jan 2008 20:18:36 +0000 (20:18 +0000)]
DEVEL15-solaris10-cleanup-friendliness-20080130

LICENSE IPL10

based on patch from mib@unimelb.edu.au

clean up taskq after ourselves and don't leave ourself marked system processes

(cherry picked from commit 462f1fb90defcb351657655442024f971705d945)

17 years agoDEVEL15-windows-noprobe-20080131
Jeffrey Altman [Thu, 31 Jan 2008 16:11:03 +0000 (16:11 +0000)]
DEVEL15-windows-noprobe-20080131

LICENSE MIT

do not mark servers down if they are not probed.

(cherry picked from commit 3d17e10e007ea3b4c3bd4a536a7e47c264d4701f)

17 years agoDEVEL15-windows-edquot-20080131
Jeffrey Altman [Thu, 31 Jan 2008 07:31:56 +0000 (07:31 +0000)]
DEVEL15-windows-edquot-20080131

LICENSE MIT

For Windows, EDQUOT == WSAEDQUOT.   Define it in the right places
so that in the end STATUS_OUT_OF_QUOTA can be returned to the application.

(cherry picked from commit 03e72233178bf18a8978d62c3bcc4ebb743e6710)

17 years agoDEVEL15-windows-fs-newcell-20080130
Jeffrey Altman [Thu, 31 Jan 2008 05:49:00 +0000 (05:49 +0000)]
DEVEL15-windows-fs-newcell-20080130

LICENSE MIT

prevent the afs client service from crashing when fs newcell is executed

(cherry picked from commit 02a80e05a73d9df50fbd427e30ca862706afcbc1)

17 years agoDEVEL15-windows-nsis-installer-20080130
Jeffrey Altman [Thu, 31 Jan 2008 03:03:13 +0000 (03:03 +0000)]
DEVEL15-windows-nsis-installer-20080130

LICENSE MIT

move afslogon.dll, afscpcc.exe and afs_cpa.cpl to
\Program Files\OpenAFS\Client\Program in order to get them out
of the %windir% tree

(cherry picked from commit 3d0ebe1f7841ac6ca9db593b587a13d85a950ac5)

17 years agoDEVEL15-rx-edquot-20080130
Jeffrey Altman [Thu, 31 Jan 2008 00:28:23 +0000 (00:28 +0000)]
DEVEL15-rx-edquot-20080130

LICENSE MIT

Conditionalize error translation on the existence of EDQUOT not
on platform macros

(cherry picked from commit 9ce814aa99b6877843f38c7fdd8fde09cb2a743c)

17 years agoDEVEL15-linux-keytype-exports-20080130
Simon Wilkinson [Wed, 30 Jan 2008 17:30:38 +0000 (17:30 +0000)]
DEVEL15-linux-keytype-exports-20080130

LICENSE IPL10

try to work even if key_type_keyring isn't exported

(cherry picked from commit 9751c68faaff4ab5e4fae7aaad082073ca4daebf)

17 years agoDEVEL15-linux-rx-kernel-listener-kill-task-directly-20080130
Simon Wilkinson [Wed, 30 Jan 2008 17:26:01 +0000 (17:26 +0000)]
DEVEL15-linux-rx-kernel-listener-kill-task-directly-20080130

LICENSE IPL10

based on work from shadow@dementia.org

since the tasklist lock and rcu stuff can/will be de-exported, and we don't
need it anyway...

(cherry picked from commit c5afa335a8ffb86cf17c32173eb0e1c26500dd80)

17 years agoDEVEL15-windows-ipaddr-change-server-deadlock-20080130
Jeffrey Altman [Wed, 30 Jan 2008 14:57:37 +0000 (14:57 +0000)]
DEVEL15-windows-ipaddr-change-server-deadlock-20080130

LICENSE MIT

avoid a deadlock during server probes initiated by the ipaddr change
daemon thread.

(missed a case in DELTA windows-ipaddr-change-server-deadlock-20080106)

(cherry picked from commit 162cb95707f739170ab4a025a801a430c86ae70a)

17 years agoDEVEL15-syncvl-fix-bogus-rw-update-20080129
Alistair Ferguson [Tue, 29 Jan 2008 20:41:27 +0000 (20:41 +0000)]
DEVEL15-syncvl-fix-bogus-rw-update-20080129

LICENSE IPL10

pass in a ref to entry correctly

(cherry picked from commit 9023049040e5705ac5dc26800022973a1acefff2)

17 years agoDEVEL15-windows-lanahelper-20080128
Jeffrey Altman [Tue, 29 Jan 2008 00:21:52 +0000 (00:21 +0000)]
DEVEL15-windows-lanahelper-20080128

LICENSE MIT

The algorithms that were used to produce a Netbios name were broken.
The name that was produced when the hostname was too long was in fact
longer than the maximum permitted netbios name.

Also, the "NetbiosName" value was not used as a suffix when the loopback
adapter was not installed.  The hardcoded string "AFS" was used instead.

(cherry picked from commit 2542c5e07f52c89f25f290153f0b4669076ae654)

17 years agoDEVEL15-windows-network-type-allocation-20080128
Jeffrey Altman [Mon, 28 Jan 2008 19:51:20 +0000 (19:51 +0000)]
DEVEL15-windows-network-type-allocation-20080128

LICENSE MIT

Microsoft has defined for us:

#define     WNNC_NET_OPENAFS     0x00390000

(cherry picked from commit fffcc1dec3d4fc905239b2890cb4f960efdff4ba)

17 years agoDEVEL15-revert-linux-2624-rc5-updates-20080127
Derrick Brashear [Mon, 28 Jan 2008 19:30:06 +0000 (19:30 +0000)]
DEVEL15-revert-linux-2624-rc5-updates-20080127

LICENSE IPL10
FIXES 83716

the generic 2.6.24 patch should address all this.

(cherry picked from commit a0fd168db5e24fca5f08ccf67d53f58c6f05fa35)