]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
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)

17 years agoDEVEL15-sysctl-table-checking-modpost-fun-fun-20080127
Marc Dionne [Mon, 28 Jan 2008 19:15:29 +0000 (19:15 +0000)]
DEVEL15-sysctl-table-checking-modpost-fun-fun-20080127

LICENSE IPL10
FIXES 83890

try again to do something sensible so we don't default wrong

(cherry picked from commit 5a93678e3943fa2c71d51f25f84b4efd5f3700e6)

17 years agoDEVEL15-windows-freelance-improved-dfs-handling-20080127
Jeffrey Altman [Mon, 28 Jan 2008 07:23:35 +0000 (07:23 +0000)]
DEVEL15-windows-freelance-improved-dfs-handling-20080127

LICENSE MIT

Cell names are published as share names.  As a result they are searched
for as part of the Dfs Referral evaluation.  If share "foo" can not be
reached, the CIFS client will fallback to searching for "fo" as well.

Since the freelance client automatically adds a symlink for prefixes
of the cell name, this results in both "foo" and "fo" being added to
the freelance root.afs volume.  This patch prevents that negative side
effect.

(cherry picked from commit 36bdf1ccd859fb0039d8ae9abd04f9eea08d704d)

17 years agoDEVEL15-windows-afskfw-20080127
Jeffrey Altman [Mon, 28 Jan 2008 07:13:24 +0000 (07:13 +0000)]
DEVEL15-windows-afskfw-20080127

LICENSE MIT

when tracking ccache names be sure to include the cache type prefix.

(cherry picked from commit 3f3545024100f3efd7bb76925d3cb1b1c15ae3f4)

17 years agoDEVEL15-afsdb-fix-20080126
Derrick Brashear [Mon, 28 Jan 2008 01:39:18 +0000 (01:39 +0000)]
DEVEL15-afsdb-fix-20080126

LICENSE IPL10

pull bugfix from 1.4

(cherry picked from commit 7526681ef5c57a4ffe0c343717c3ed65a9120768)

17 years agoDEVEL15-macos-panic-decoder-20080127
Jason Edgecombe [Sun, 27 Jan 2008 18:46:14 +0000 (18:46 +0000)]
DEVEL15-macos-panic-decoder-20080127

LICENSE IPL10

panic log decoder from Jason. Still needs some work for Leopard but we should
be able to make a go of this

(cherry picked from commit 711dc57c7fa053efa58c02df8788da1a2c7889bf)

17 years agoDEVEL15-redhat-support-dkms-20080124
Derrick Brashear [Thu, 24 Jan 2008 23:56:47 +0000 (23:56 +0000)]
DEVEL15-redhat-support-dkms-20080124

LICENSE IPL10

attempt to provide dkms support.
this does work on my fc8 test host. it may not work in all cases.

(cherry picked from commit 7dc71d1154294cdc5f5aba4c3e58a00972318960)

17 years agoDEVEL15-tests-update-20080124
Mike Meffie [Thu, 24 Jan 2008 23:50:37 +0000 (23:50 +0000)]
DEVEL15-tests-update-20080124

LICENSE IPL10

update test scripting

(cherry picked from commit 80f7294490e1d1423a5f7482ed924dda8bab1ba8)

17 years agoDEVEL15-rxkad-v5-dot-check-20080124
Jeffrey Altman [Thu, 24 Jan 2008 16:08:11 +0000 (16:08 +0000)]
DEVEL15-rxkad-v5-dot-check-20080124

LICENSE MIT

Export rx_SetSecurityConfiguration on Windows

(cherry picked from commit 89d93d9ad7862c5de0587a84d99c567bf5a61d14)

17 years agoDEVEL15-windows-get-volume-no-reset-flag-20080124
Jeffrey Altman [Thu, 24 Jan 2008 15:31:12 +0000 (15:31 +0000)]
DEVEL15-windows-get-volume-no-reset-flag-20080124

LICENSE MIT

There are circumstances where a volume object is being accessed and the
volume is marked indicating that the volume location information is out
of date but where it is also pointless and perhaps dangerous to block
waiting for the rpc to complete.  One example is when processing the
cmdebug requests.  If we know that we are not going to use the volume
object to contact a server, then we can now set the CM_GETVOL_FLAG_NO_RESET
flag.

(cherry picked from commit d32156e5c1fb36994650754a11379df6ccc94909)

17 years agoDEVEL15-windows-symlink-dot-dot-20080124
Jeffrey Altman [Thu, 24 Jan 2008 15:20:46 +0000 (15:20 +0000)]
DEVEL15-windows-symlink-dot-dot-20080124

LICENSE MIT

when moving up in the directory tree we search the recorded fid list to
find a matching fid that we have already crossed.  we must also reset
the fid count based upon what we discover.

(cherry picked from commit 16a90b2f8dfe875991bca0dee516c531fcc3aeee)

17 years agoDEVEL15-redhat-spec-more-arches-20080123
Derrick Brashear [Wed, 23 Jan 2008 21:38:45 +0000 (21:38 +0000)]
DEVEL15-redhat-spec-more-arches-20080123

LICENSE IPL10

support sprc, sparc64, ppc, ppc64, s390, s390x. we should be able to cope with
all these. if not, fix it.

(cherry picked from commit ef6fc588bcab9a59e54050899937407be962b074)

17 years agoDEVEL15-linux-key-type-detection-once-20080123
Derrick Brashear [Wed, 23 Jan 2008 13:47:34 +0000 (13:47 +0000)]
DEVEL15-linux-key-type-detection-once-20080123

LICENSE IPL10

doubled configure test from 2 sources.

(cherry picked from commit 9a45a546747dad7a70b24b76b1a02bf398c22762)

17 years agoDEVEL15-redhat-kmodtool-20080122
Simon Wilkinson [Wed, 23 Jan 2008 05:30:30 +0000 (05:30 +0000)]
DEVEL15-redhat-kmodtool-20080122

LICENSE IPL10

install simon's modified kmodtool

(cherry picked from commit 434c25fee15162dff64f2c18a971023b146d6118)

17 years agoDEVEL15-rxkad-v5-dot-check-20080122
Simon Wilkinson [Wed, 23 Jan 2008 04:18:10 +0000 (04:18 +0000)]
DEVEL15-rxkad-v5-dot-check-20080122

LICENSE IPL10
FIXES 75101

give an option to not enforce the dotted principal check. document it.

(cherry picked from commit 98a68f9b021a06d056fb3b97681b9cfc04873d55)

17 years agoDEVEL15-viced-fsync-glock-creation-20080122
Derrick Brashear [Wed, 23 Jan 2008 03:21:45 +0000 (03:21 +0000)]
DEVEL15-viced-fsync-glock-creation-20080122

LICENSE IPL10

create fsync glock and cond before we initialize volume package. oops?

(cherry picked from commit 0e8adf69538638b8caa56d9b1fa72beba74734bd)

17 years agoDEVEL15-redhat-packaging-keep-up-with-the-joneses-20080122
Derrick Brashear [Tue, 22 Jan 2008 21:05:30 +0000 (21:05 +0000)]
DEVEL15-redhat-packaging-keep-up-with-the-joneses-20080122

LICENSE IPL10

track new manpages

(cherry picked from commit 0fab6d9600769dd219fd6e968c4a6bae9ed5d497)

17 years agoDEVEL15-vos-volser-enhancements-20080121
Derrick Brashear [Tue, 22 Jan 2008 05:15:30 +0000 (05:15 +0000)]
DEVEL15-vos-volser-enhancements-20080121

LICENSE IPL10

add option to addsite to allow adding a site where there is already a release-
equivalent volume resident, where thus we don't want to mark unreleased

(possible by dumping an existing RO and restoring with -readonly at the
 new site)

add ability to vos clone to a readonly or backup with the correct ID and name

add ability when restoring a RW to a new site to leave the volume at the old
site intact

all changes are internal to vos and can be used with any OpenAFS from 2006
or later (supporting changes in namei to not create volumes with bad parent
id went in in December 2005)

(cherry picked from commit e1c4e77d13122c2bb66d532ffd9dfc2e75318c04)

17 years agoDEVEL15-tests-update-20080121
Mike Meffie [Mon, 21 Jan 2008 21:04:53 +0000 (21:04 +0000)]
DEVEL15-tests-update-20080121

LICENSE IPL10

update test scripting

(cherry picked from commit 1181ea034623541765fbc5c23df55ebaf577c083)

17 years agoDEVEL15-macos-packaging-using-afs-conf-when-possible-20080121
Evan Broder [Mon, 21 Jan 2008 20:57:23 +0000 (20:57 +0000)]
DEVEL15-macos-packaging-using-afs-conf-when-possible-20080121

LICENSE IPL10
FIXES 81825

switch to afs.conf as other ports use instead of afsd.options,
when possible

17 years agoDEVEL15-make-avoid-double-slash-20080121
Derrick Brashear [Mon, 21 Jan 2008 18:38:02 +0000 (18:38 +0000)]
DEVEL15-make-avoid-double-slash-20080121

LICENSE IPL10

avoid having double / in make commands

(cherry picked from commit 6a7461e6f8dad79894c6d2ad11edfdba689c4c77)

17 years agoDEVEL15-solaris-vfsroot-refcount-issue-20080121
Jeffrey Hutzelman [Mon, 21 Jan 2008 17:37:30 +0000 (17:37 +0000)]
DEVEL15-solaris-vfsroot-refcount-issue-20080121

LICENSE IPL10

fix issue with afs root vnode refcount dropping to 0

(cherry picked from commit fc91cf4314eb768a2f83f198645e553b5fa778de)

17 years agoDEVEL15-redhat-spec-update-20080121
Simon Wilkinson [Mon, 21 Jan 2008 17:09:48 +0000 (17:09 +0000)]
DEVEL15-redhat-spec-update-20080121

LICENSE IPL10

update specfile to default to fedorakmod

(cherry picked from commit 75c10322ff3a3ef5e735d8821051678526e42275)

17 years agoDEVEL15-vos-restore-incrementals-no-orphans-really-20080121
Derrick Brashear [Mon, 21 Jan 2008 14:06:11 +0000 (14:06 +0000)]
DEVEL15-vos-restore-incrementals-no-orphans-really-20080121

LICENSE IPL10
FIXES 46937

based on comments from jhutz@cmu.edu; runnign thread in the ticket

(cherry picked from commit 22c059a9138be33eeeed910badcac3ebfeea24b5)

17 years agoDEVEL15-man-page-fileserver-limits-20080119
Jason Edgecombe [Sun, 20 Jan 2008 00:17:45 +0000 (00:17 +0000)]
DEVEL15-man-page-fileserver-limits-20080119

LICENSE BSD

Document the 2TB volume and partition limits and the -abortthreshold flag
to the AFS fileserver.

(cherry picked from commit efba39ead059458d222f923db83c660f23c20b80)

17 years agoDEVEL15-windows-cm_ioctl_query_opts-20080115
Jeffrey Altman [Wed, 16 Jan 2008 03:19:51 +0000 (03:19 +0000)]
DEVEL15-windows-cm_ioctl_query_opts-20080115

LICENSE MIT

The path ioctl operations have several issues:

(1) the specified path for "fs examine, whereis, whichcell, flush" and so
    always has the follow symlinks and mount points semantics.  This makes
    it impossible to determine what the FID of a symlink or mount point is.

(2) "fs examine" out is not the result of a single pioctl operation but is
    actually the combined output of half a dozen operations.  Path evaluation
    is an expensive operation.  It would be faster if the caller could
    evaluate the FID first and then perform all of the rest of the operations
    by specifying the FID instead of the path.

(3) fs output reports all objects as files.  By adding a GetFileType
    pioctl more informative output can be provided that indicates what
    type of object the path evaluates to.

(4) the Windows fs command includes a number of commands that do nothing
    but exist only because the Unix cache manager supports them.

This delta adds a new extendible data structure cm_ioctl_query_opts_t which
can be optionally specified with pioctls that do not already require
input data.  The first two fields of this structure are 'literal' and
'fid'.  The literal field is used to indicate whether the last component
of the path should be evaluated following symlinks and mount points.
The fid field permits a fid to be specified.

A new GetFileType pioctl has been added. The type of objects are now
output.

A new "-literal" option is available for "fs examine, flush, whereis, and
whichcell.

Unimplemented fs commands have been removed.

(cherry picked from commit 88e915d8f976898e75a6afe8bc7b6d7c33b8a121)

17 years agoDEVEL15-redhat-makesrpm-deal-with-cellservdb-20080115
Derrick Brashear [Tue, 15 Jan 2008 23:43:40 +0000 (23:43 +0000)]
DEVEL15-redhat-makesrpm-deal-with-cellservdb-20080115

LICENSE IPL10

autofetch the CellServDB based on the spec or let one be provided

(cherry picked from commit 64ef3f518eee22b167ff5043b01dc1f3251f10bd)

17 years agoDEVEL15-fbsd-70-updates-20080115
Matt Benjamin [Tue, 15 Jan 2008 06:09:11 +0000 (06:09 +0000)]
DEVEL15-fbsd-70-updates-20080115

LICENSE IPL10
FIXES 82847

updates to make us build on freebsd 7.0

(cherry picked from commit c386499fbeab36f5292e196563a4887fa06068ac)

17 years agoDEVEL15-arm-linux-20080115
Derrick Brashear [Tue, 15 Jan 2008 05:21:18 +0000 (05:21 +0000)]
DEVEL15-arm-linux-20080115

LICENSE IPL10

make an arm linux port.

(cherry picked from commit 08d71812fed3cc9f37d516d8f5d5b4ba9ccfb032)

17 years agoDEVEL15-man-page-cmdebug-updates-20080113
Jason Edgecombe [Mon, 14 Jan 2008 05:05:28 +0000 (05:05 +0000)]
DEVEL15-man-page-cmdebug-updates-20080113

LICENSE BSD

Add -ctime and -cellservdb options to the cmdebug man page and improve
example host names and SEE ALSO references.

(cherry picked from commit 110d5702ea51ce43fca6a5962d9ef8a0ec56d6eb)

17 years agoDEVEL15-cmd-nname-20080113
Jeffrey Altman [Sun, 13 Jan 2008 15:35:41 +0000 (15:35 +0000)]
DEVEL15-cmd-nname-20080113

LICENSE MIT

Nname() is used to concatenate two strings and is frequently used with
the first string being the name of the executable perhaps with a full
path.  The static buffer specified is too small for a full path and
there was no protection against writing beyond the end of it.

(cherry picked from commit d5811091995b78d65e891b134aa0ad6955bbc30c)

17 years agoDEVEL15-windows-pioctl-parse-path-20080113
Jeffrey Altman [Sun, 13 Jan 2008 14:38:06 +0000 (14:38 +0000)]
DEVEL15-windows-pioctl-parse-path-20080113

LICENSE MIT

Apply the desired "follow symlinks/mountpoints" semantics to the single
component non-UNC case.

(cherry picked from commit 84989e6584e3808ae3f1959330b267feff2661f6)

17 years agoDEVEL15-windows-explorer-shell-symlinks-show-20080112
Jeffrey Altman [Sat, 12 Jan 2008 23:31:24 +0000 (23:31 +0000)]
DEVEL15-windows-explorer-shell-symlinks-show-20080112

LICENSE MIT

Add AFS->Symlnks->Show dialog to the explorer shell menu

(cherry picked from commit 7a40c73476e270aac9d76663ff71e956bb630328)

17 years agoDEVEL15-cmdebug-cellservdb-20080112
Jeffrey Altman [Sat, 12 Jan 2008 15:44:40 +0000 (15:44 +0000)]
DEVEL15-cmdebug-cellservdb-20080112

LICENSE MIT

Add -cellservdb option to the cmdebug command.

This option will retrieve the volume location database information
for all cells known to the cache manager and output the data in the
format required by the CellServDB file.

This functionality is supported by the UNIX cache managers and
Windows cache managers 1.5.31 and later.

(cherry picked from commit b3fe9727b3e775348561bcbe0cf0c14cff82e597)

17 years agoDEVEL15-config-cvsignore-update-20080111
Derrick Brashear [Fri, 11 Jan 2008 22:41:50 +0000 (22:41 +0000)]
DEVEL15-config-cvsignore-update-20080111

LICENSE IPL10

ignore generated Makefile.SYSNAME.in

(cherry picked from commit bda66877dd88bcc78eba646b4f6a1131266e33d4)

17 years agoDEVEL15-windows-callback-getcellservdb-20080111
Jeffrey Altman [Fri, 11 Jan 2008 19:12:16 +0000 (19:12 +0000)]
DEVEL15-windows-callback-getcellservdb-20080111

LICENSE MIT

Add support for RXAFS_GetCellServDB.  Implemented by generalizing
RXAFS_GetCellByNum and special casing the index values to do the
right thing.

Conditionalize grabbing the callp->lock in the callback functions.
The race conditions in rx have long since been fixed and the potential
for deadlocks are too great.

Add a new flag CM_FLAG_NOPROBE for use in calls to cm_GetCell.  When
set the newly discovered servers will not be immediately probed.  Useful
when setting tokens, setting server preferences, or responding to cmdebug
callbacks.

(cherry picked from commit ae9dc9ad4ddd8313d24e457faf48bc15ccd2c86c)

17 years agoDEVEL15-windows-version-20080110 openafs-devel-1_5_30a
Jeffrey Altman [Thu, 10 Jan 2008 23:03:51 +0000 (23:03 +0000)]
DEVEL15-windows-version-20080110

LICENSE MIT

1.5.3001 = 1.5.30

17 years agoDEVEL15-windows-smb-synchronization-20080110
Jeffrey Altman [Thu, 10 Jan 2008 23:00:41 +0000 (23:00 +0000)]
DEVEL15-windows-smb-synchronization-20080110

LICENSE MIT

1. prevent stopping the smb_Listeners due to an ip addr change when the
LANA is determined either by registry assignment or loopback detection

2. add synchronization logic to prevent smb_Listener restarts prior to
   smb_Listener thread stoppage

3. no longer permit panics from smb_Listener threads

4. move the probe logic from cm_IPAddrDaemon thread to the cm_Daemon
   thread in order to avoid the loss of ip addr change events.  If an
   adapter stops and restarts fast enough there might not be anything
   for us to do.

(cherry picked from commit 8b82cbeef760992c6e3d27f9f6ea1f4e0bb559ab)

17 years agoDEVEL15-linux-2624-rc5-updates-20080110
Matt Benjamin [Thu, 10 Jan 2008 17:00:16 +0000 (17:00 +0000)]
DEVEL15-linux-2624-rc5-updates-20080110

LICENSE IPL10
FIXES 80463

Include linux/key-type.h in osi_groups.c, if it exists. Fix
do_sync_read test for recent kbuild (maybe break it for [some older 2.6]).

(cherry picked from commit 8569f67aee8ee0de26259397818ab3af69f18007)

17 years agoDEVEL15-redhat-make-srpm-script-20080109
Simon Wilkinson [Wed, 9 Jan 2008 19:38:40 +0000 (19:38 +0000)]
DEVEL15-redhat-make-srpm-script-20080109

LICENSE IPL10

srpm builder script

(cherry picked from commit 5011ea88badac8d393c4566a69e30f74c85e13ab)

17 years agoDEVEL15-windows-smb-name-deleted-20080109
Jeffrey Altman [Wed, 9 Jan 2008 15:21:22 +0000 (15:21 +0000)]
DEVEL15-windows-smb-name-deleted-20080109

LICENSE MIT

if the smb_Listener receives NRC_NAMERR (name deleted) it must be because
an smb shutdown has occurred.  do not panic.

(cherry picked from commit a1b7be4ac3f073a2d64f46649e54a1ff99d2567b)

17 years agoDEVEL15-windows-version-20080109
Jeffrey Altman [Wed, 9 Jan 2008 14:50:36 +0000 (14:50 +0000)]
DEVEL15-windows-version-20080109

LICENSE MIT

1.5.30 == 1.5.3000.0

17 years agoDEVEL15-windows-pioctl-follow-mountpoints-registry-20080108
Jeffrey Altman [Wed, 9 Jan 2008 06:05:00 +0000 (06:05 +0000)]
DEVEL15-windows-pioctl-follow-mountpoints-registry-20080108

LICENSE MIT

Add a registry value "PioctlFollowMountPoint" to permit the use of the
old pioctl path evaluation behavior that always followed mountpoints
and symlinks.

(cherry picked from commit 845fb28de656d9886dd44cbf335833985ffc7d3b)

17 years agoDEVEL15-smb-even-less-chatty-20080108
Jeffrey Altman [Tue, 8 Jan 2008 22:30:00 +0000 (22:30 +0000)]
DEVEL15-smb-even-less-chatty-20080108

LICENSE MIT

remove the smb_RestartListeners message entirely

(cherry picked from commit f2fd97bfb02d1d2ed46304b5864d71a8759892a4)

17 years agoDEVEL15-windows-daemon-20080108
Jeffrey Altman [Tue, 8 Jan 2008 22:04:09 +0000 (22:04 +0000)]
DEVEL15-windows-daemon-20080108

LICENSE MIT

sleep 10 seconds between cycles.  should make this configurable.

(cherry picked from commit 110f74bcb85928d274ad2608662434304ff4ffae)

17 years agoDEVEL15-windows-callback-missing-bang-20080108
Jeffrey Altman [Tue, 8 Jan 2008 21:27:54 +0000 (21:27 +0000)]
DEVEL15-windows-callback-missing-bang-20080108

LICENSE MIT

Insert a missing bang that results in a null pointer dereference
when processing a callback from an unrecognized server.

(cherry picked from commit 69c9ab66a41236e987b44af9a3cb141adb1c2817)

17 years agoDEVEL15-windows-nim-afscred-identity-initialization-20080108
Asanka Herath [Tue, 8 Jan 2008 17:06:39 +0000 (17:06 +0000)]
DEVEL15-windows-nim-afscred-identity-initialization-20080108

LICENSE MIT

One of the challenges to deploying NIM has been the configuration of
AFS token acquisition.  This patch adds a new registry key hierarchy

  HKLM\SOFTWARE\OpenAFS\Client\Realms

which is used to configure the AFS Provider for a new identity based
upon the realm of the identity.  The Realms key contains subkeys for
each realm for which configuration data is being provided

  HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"

"RealmName" contains one optional value, "AFSEnabled", and subkeys for
each Cell that is to be added to the configuration.  "AFSEnabled" defaults
to 0x01.

   HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"\"CellName"

In "CellName", there are two optional values, "Realm" and "MethodName".
If the values are not specified, the automatic realm and method determination
algorithms are used.

These values can be added to an MSI transform or deployed via Group Policy.

(cherry picked from commit 521f139a89c2f078888b8bad37a495d23723a789)

17 years agoDEVEL15-windows-notes-20080108
Jeffrey Altman [Tue, 8 Jan 2008 16:32:31 +0000 (16:32 +0000)]
DEVEL15-windows-notes-20080108

LICENSE MIT

1.5.30