openafs.git
14 years agoDEVEL15-netinfo-fake-address-text-20090427
Jason Edgecombe [Mon, 27 Apr 2009 19:37:34 +0000]
DEVEL15-netinfo-fake-address-text-20090427

LICENSE IPL10
FIXES 124699

explain fake address support for NetInfo files

(cherry picked from commit 758366c26a0d1b2e97449ab858e15da8cc0d73f0)

14 years agoDEVEL15-dragonfly-bsd-userland-20090427
Matt Benjamin [Mon, 27 Apr 2009 19:31:52 +0000]
DEVEL15-dragonfly-bsd-userland-20090427

LICENSE IPL10
FIXES 124702

add support for dragonflyBSD's userland

(cherry picked from commit 25f13f38064bf38ed89332b38c53c740475db87d)

15 years agoDEVEL15-linux-2-6-30-support-for-head-20090407
Marc Dionne [Tue, 7 Apr 2009 17:16:59 +0000]
DEVEL15-linux-2-6-30-support-for-head-20090407

LICENSE IPL10
FIXES 124592

make proc dir entry owner field only be initialized when it exists

(cherry picked from commit aea52af634dd20c1cff1a6347ac24770ae727328)

15 years agoDEVEL15-windows-smb-registry-config-20090407
Jeffrey Altman [Tue, 7 Apr 2009 15:05:44 +0000]
DEVEL15-windows-smb-registry-config-20090407

LICENSE MIT

Move configureBackConnectionHostNames() to smb_StartListeners()
so that when the NetbiosName changes while the service is running
the new values can be set.

Add configureExtendedSMBSessionTimeouts() which configures new
SMB functionality added in a Win2003 post-SP2 hot fix.

(cherry picked from commit b4b61821081d809bb3a737f9e23964f4f99b3c58)

15 years agoDEVEL15-linux-avoid-returning-invalid-pointers-on-error-20090402 openafs-devel-1_5_59
Simon Wilkinson [Tue, 7 Apr 2009 13:25:52 +0000]
DEVEL15-linux-avoid-returning-invalid-pointers-on-error-20090402

LICENSE IPL10
FIXES 124580

avoid returning a positive error as it will look like a pointer.

15 years agoDEVEL15-openafs-1-5-59-20090406
Derrick Brashear [Mon, 6 Apr 2009 23:57:09 +0000]
DEVEL15-openafs-1-5-59-20090406

LICENSE IPL10

make 1.5.59

15 years agoDEVEL15-avoid-buffer-overflow-on-rx-fixed-size-array-return-20090402
Simon Wilkinson [Mon, 6 Apr 2009 23:53:02 +0000]
DEVEL15-avoid-buffer-overflow-on-rx-fixed-size-array-return-20090402

LICENSE IPL10
FIXES 124579

avoid potentially writing beyond allocated memory if a return is larger than expected

(cherry picked from commit 62bca1123fb471ca1eec58b448fd39f7f797638a)

15 years agoDEVEL15-linux-avoid-returning-invalid-pointers-on-error-20090402
Simon Wilkinson [Mon, 6 Apr 2009 23:50:32 +0000]
DEVEL15-linux-avoid-returning-invalid-pointers-on-error-20090402

LICENSE IPL10
FIXES 124580

avoid returning a positive error as it will look like a pointer.

15 years agoDEVEL15-windows-pioctl-subst-unc-20090407
Jeffrey Altman [Mon, 6 Apr 2009 22:47:59 +0000]
DEVEL15-windows-pioctl-subst-unc-20090407

LICENSE MIT

Add code to support determining if a drive substitution refers to
a UNC path.

(cherry picked from commit 9a0b3da255032f177dfedb650c7a0b65cff24fba)

15 years agoDEVEL15-windows-smb-trace-20090406
Jeffrey Altman [Mon, 6 Apr 2009 18:25:16 +0000]
DEVEL15-windows-smb-trace-20090406

LICENSE MIT

include the correct function name in a
trace message

(cherry picked from commit aad7a2c5858a94672db6c23f508e404e236e4142)

15 years agoDEVEL15-windows-release-notes-20090406
Jeffrey Altman [Mon, 6 Apr 2009 18:20:52 +0000]
DEVEL15-windows-release-notes-20090406

LICENSE MIT

1.5.59

15 years agoDEVEL15-windows-version-20090406
Jeffrey Altman [Mon, 6 Apr 2009 18:17:32 +0000]
DEVEL15-windows-version-20090406

LICENSE MIT

1.5.59 == 1.5.5900.0

15 years agoDEVEL15-windows-notes-20090406
Jeffrey Altman [Mon, 6 Apr 2009 18:15:12 +0000]
DEVEL15-windows-notes-20090406

LICENSE MIT

1.5.59

15 years agoDEVEL15-windows-test-torture-stack-overflow-20090405
Jeffrey Altman [Sun, 5 Apr 2009 13:54:40 +0000]
DEVEL15-windows-test-torture-stack-overflow-20090405

LICENSE MIT

avoid stack overflow.

(cherry picked from commit ac199c845e6771c627dfb5e7efc0cdd8c5356df9)

15 years agoDEVEL15-windows-tests-torture-20090405
Jeffrey Altman [Sun, 5 Apr 2009 06:25:20 +0000]
DEVEL15-windows-tests-torture-20090405

LICENSE MIT

replace the VOLSTAT online test with the PATH_AVAILABILITY
online test.  We do not care of the volume is offline on the file
server if the cache manager has current data to serve.

(cherry picked from commit 59945d1cb5f14baf9ab0008990079e1dde9a796d)

15 years agoDEVEL15-windows-smb-error-map-20090404
Jeffrey Altman [Sat, 4 Apr 2009 21:16:36 +0000]
DEVEL15-windows-smb-error-map-20090404

LICENSE MIT

For CM_ERROR_BADSHARENAME return BAD_NETWORK_PATH instead
of BAD_NETWORK_NAME.  The latter refers to the server name
and the former to the share name.   Returning BAD_NETWORK_NAME
will causes the smb redirector to break its connection to \\AFS.

For CM_ERROR_ALLOFFLINE and CM_ERROR_ALLDOWN return PATH_NOT_FOUND
instead of BAD_NETWORK_PATH.  We don't want the smb redirector
to tear down all open files just because some volume in the path
is inaccessible at the moment.

(cherry picked from commit ffe04f710b41120f1bbd843c73ee2d95bc179d9c)

15 years agoDEVEL15-linux-key-alloc-no-pointer-arith-20090404
Simon Wilkinson [Sat, 4 Apr 2009 17:44:02 +0000]
DEVEL15-linux-key-alloc-no-pointer-arith-20090404

LICENSE IPL10

make the key_alloc configure test work

(cherry picked from commit 4ecaeaac97a48c36df3866f1f71eb8a95c8f6e51)

15 years agoDEVEL15-windows-afsd-no-more-ods-20090402
Jeffrey Altman [Fri, 3 Apr 2009 03:57:13 +0000]
DEVEL15-windows-afsd-no-more-ods-20090402

LICENSE MIT

Any use of OutputDebugString() in production can result in serious
delays in the execution of the thread that issues the call.  Remove
the last of the unprotected calls within afsd_service.

(cherry picked from commit f6b4902daeb731eb01de44464476cb0a3edb26b1)

15 years agoDEVEL15-windows-rx-xmit-20090402
Jeffrey Altman [Thu, 2 Apr 2009 08:45:00 +0000]
DEVEL15-windows-rx-xmit-20090402

LICENSE IPL10

permit compilation with Windows SDK v6.0/6.1 which hides
previously exposed XP symbols unless _WINNT_WIN32 is at
least 0x0501

(cherry picked from commit fc408da993e753d33336ab408167383a75ed97f0)

15 years agoDEVEL15-windows-src-makefile-two-20090402
Jeffrey Altman [Thu, 2 Apr 2009 08:41:50 +0000]
DEVEL15-windows-src-makefile-two-20090402

LICENSE MIT

get the i386 case right

(cherry picked from commit 0700567eef0c52b1b8892454b72c5123fe0514b1)

15 years agoDEVEL15-windows-src-makefile-20090402
Jeffrey Altman [Thu, 2 Apr 2009 06:06:54 +0000]
DEVEL15-windows-src-makefile-20090402

LICENSE MIT

remove extraneous echo command output

do not attempt to build NSIS target on non-x86 platforms
since support is not implemented

(cherry picked from commit 27aedf7a2cfb04f49b6b8f3c9cabc3d6cdb91c78)

15 years agoDEVEL15-windows-config-clean-20090402
Jeffrey Altman [Thu, 2 Apr 2009 06:04:57 +0000]
DEVEL15-windows-config-clean-20090402

LICENSE MIT

permit "nmake -f ntmakefile clean" to complete on a
clean source tree.

(cherry picked from commit 8673c0de48140b8cd148bf3ea47094968ffbda8b)

15 years agoDEVEL15-windows-install-loopback-20090401
Asanka Herath [Wed, 1 Apr 2009 23:56:29 +0000]
DEVEL15-windows-install-loopback-20090401

LICENSE MIT

Define INCLUDE variable and reorder binary link order
to ensure compatibility with latest WDK/SDK combinations.

(cherry picked from commit d86247619136d3080eb6be08fd8c077bc2afc68b)

15 years agoDEVEL15-windows-talocale-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:36:39 +0000]
DEVEL15-windows-talocale-20090401

LICENSE MIT

perform proper casting to avoid a warning

(cherry picked from commit d8a8bfb5c3b49980135b9da26082fa668640ec0f)

15 years agoDEVEL15-windows-afsd-smb-logging-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:30:37 +0000]
DEVEL15-windows-afsd-smb-logging-20090401

LICENSE MIT

Add more info about the smb request to the log entry
that is written to afsd_init.log if the request took
longer than 45 seconds to complete.

(cherry picked from commit 520fef4278bd43073782e1c75f67900f96fa6ddf)

15 years agoDEVEL15-windows-afsd-priority-class-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:29:24 +0000]
DEVEL15-windows-afsd-priority-class-20090401

LICENSE MIT

Change the default priority class for afsd_service.exe to High.
This matches the priority class assigned to other system processes
that generate requests to afsd_service.exe.

Permit the ..\TransarcAFSDaemon\Parameters "PriorityClass"
registry value to be used to change the default.

(cherry picked from commit 37f582326c1c5d5363a988f7038af0b62d0fb3ea)

15 years agoDEVEL15-windows-afsd-xdr-free-20090401
Jeffrey Altman [Wed, 1 Apr 2009 17:39:08 +0000]
DEVEL15-windows-afsd-xdr-free-20090401

LICENSE MIT

make use of xdr_free() to release memory allocated within afsrpc.dll.
this prevents crashes when the library is built with a different
runtime library version than the application.

fix signed/unsigned warnings in the same code snippet

(cherry picked from commit 3d81394f9106b187c28e35328676e11b662025c6)

15 years agoDEVEL15-xdr-free-20090401
Jeffrey Altman [Wed, 1 Apr 2009 17:38:13 +0000]
DEVEL15-xdr-free-20090401

LICENSE MIT

add xdr_free() and export it from afsrpc.dll.  This permits applications
to free memory allocated within the xdr routines with the same run time
library memory management routines as was used to allocate it.

This is necessary on Windows to prevent memory corruption.

VL_GetAddrsU() is an example where a xdr array is allocated in the
library and must be freed by the application.

(cherry picked from commit d7749751df230d919188546106b61bd2dbb8974c)

15 years agoDEVEL15-dynamic-vcache-no-printf-20090331
Derrick Brashear [Tue, 31 Mar 2009 13:41:37 +0000]
DEVEL15-dynamic-vcache-no-printf-20090331

LICENSE IPL10

no printf in 1.4.9

(cherry picked from commit 84871adb4bb3f8d1d50127255da75629e2167977)

15 years agoDEVEL15-linux-2630-maybe-20090331
Marc Dionne [Tue, 31 Mar 2009 13:16:30 +0000]
DEVEL15-linux-2630-maybe-20090331

LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released

(cherry picked from commit d0a166bdffce2d2498cab54cc458d9489d05c299)

15 years agoDEVEL15-windows-version-20090329
Jeffrey Altman [Sun, 29 Mar 2009 18:16:07 +0000]
DEVEL15-windows-version-20090329

LICENSE MIT

1.5.58

15 years agoDEVEL15-windows-release-notes-20090329
Jeffrey Altman [Sun, 29 Mar 2009 18:13:04 +0000]
DEVEL15-windows-release-notes-20090329

LICENSE MIT

1.5.58

15 years agoDEVEL15-windows-notes-20090329
Jeffrey Altman [Sun, 29 Mar 2009 18:09:10 +0000]
DEVEL15-windows-notes-20090329

LICENSE MIT

1.5.58

15 years agoDEVEL15-windows-afsd-log-smb-mid-20090328
Jeffrey Altman [Sat, 28 Mar 2009 23:26:17 +0000]
DEVEL15-windows-afsd-log-smb-mid-20090328

LICENSE MIT

For each SMB transation log the 'mid' field of the smb packet.
The 'mid' field can be used as a reference against the mrxsmb request
logging for debugging purposes.

(cherry picked from commit 07c187c84384635413e6353dc9913a8826f25bb5)

15 years agoDEVEL15-windows-remove-reset-all-vcs-event-20090328
Jeffrey Altman [Sat, 28 Mar 2009 23:17:44 +0000]
DEVEL15-windows-remove-reset-all-vcs-event-20090328

LICENSE MIT

remove the smb reset all VCs message.  duplicates the
reportSessionStartups functionality.

(cherry picked from commit 4bc36a697fffe78cc0ec93cb9cf98772aeadfcb6)

15 years agoDEVEL15-windows-afsd-symlink-20090327
Jeffrey Altman [Fri, 27 Mar 2009 17:58:19 +0000]
DEVEL15-windows-afsd-symlink-20090327

LICENSE MIT

Increase max symlink limit to 64 and remove the repeated fid
recursion test.  Breaks too many things.

(cherry picked from commit 27609fe288eb20f30e1f17a709a07468a74372eb)

15 years agoDEVEL15-volser-new-is-special-20090324
Jeffrey Altman [Wed, 25 Mar 2009 01:16:14 +0000]
DEVEL15-volser-new-is-special-20090324

LICENSE IPL10

Do not permit the word "new" to be used for a field name as it is
special.  Our headers get pulled into C++ compilations.

(cherry picked from commit 977674dfb0470de693e5e7700c614c3b68317efa)

15 years agoDEVEL15-vol-split-warnings-no-win-20090324
Jeffrey Altman [Tue, 24 Mar 2009 22:36:25 +0000]
DEVEL15-vol-split-warnings-no-win-20090324

LICENSE IPL10

remove many warnings

disable on Windows since there are missing dependencies in ntops.c

(cherry picked from commit db844c458457a0bbcff81e9dbff362784db6958a)

15 years agoDEVEL15-openafs-1-5-58-20090329 openafs-devel-1_5_58
Derrick Brashear [Sun, 29 Mar 2009 23:31:38 +0000]
DEVEL15-openafs-1-5-58-20090329

LICENSE IPL10

make 1.5.58

15 years agoDEVEL15-uss-kvno-warning-fix-20090327
Mike Meffie [Fri, 27 Mar 2009 15:47:32 +0000]
DEVEL15-uss-kvno-warning-fix-20090327

LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss

(cherry picked from commit a523710780d54b27fc61db0fd1a561f789871046)

15 years agoDEVEL15-linux-flushpages-call-truncate-inode-pages-after-all-20090327
Chaskiel M Grundman [Fri, 27 Mar 2009 15:45:38 +0000]
DEVEL15-linux-flushpages-call-truncate-inode-pages-after-all-20090327

LICENSE IPL10

in this case we're discarding just the data in case it's stale, so this is
correct

(cherry picked from commit 9243308990dc93ef3f42b9d024b9b02568881468)

15 years agoDEVEL15-bucoord-update-kvno-check-20090327
Garry Zacheiss [Fri, 27 Mar 2009 13:46:01 +0000]
DEVEL15-bucoord-update-kvno-check-20090327

LICENSE IPL10

update kvno check in bucoord to match what it is elsewhere

(cherry picked from commit 3fcbdab1889f2674f1229cb551afeafc6f06b66a)

15 years agoDEVEL15-vol-proto-do-not-break-dafs-20090326
Simon Wilkinson [Thu, 26 Mar 2009 23:42:13 +0000]
DEVEL15-vol-proto-do-not-break-dafs-20090326

LICENSE IPL10
FIXES 12540

Reenable prototype of VolumeExternalName_r for dafs

(cherry picked from commit 4ced67ca980218e27aa4033f31a9d238590919d5)

15 years agoDEVEL15-state-analyzer-usage-20090326
Andrew Deason [Thu, 26 Mar 2009 21:33:59 +0000]
DEVEL15-state-analyzer-usage-20090326

LICENSE IPL10
FIXES 124539

fix usage for state-analyzer

(cherry picked from commit 8cc60f4931f1b62c84d0a74d0fbbbfd0ea582a91)

15 years agoDEVEL15-return-values-missing-fix-20090326
Derrick Brashear [Thu, 26 Mar 2009 14:30:25 +0000]
DEVEL15-return-values-missing-fix-20090326

LICENSE IPL10
FIXES 124194

add return values for functions missing them

(cherry picked from commit d4359ad72aee9839ee019165a3fb37c9cfae3b4d)

15 years agoDEVEL15-cbr-free-what-you-alloc-20090325
Chaskiel M Grundman [Wed, 25 Mar 2009 19:34:48 +0000]
DEVEL15-cbr-free-what-you-alloc-20090325

LICENSE IPL10
FIXES 124531

dequeue and free items as alloc'd

(cherry picked from commit 80494f5096d231e1e032229732f2d94ba569718e)

15 years agoDEVEL15-shutdown-vcache-avoid-null-deref-20090324
Derrick Brashear [Tue, 24 Mar 2009 22:40:14 +0000]
DEVEL15-shutdown-vcache-avoid-null-deref-20090324

LICENSE IPL10

avoid potential null pointer deref at shutdown

(cherry picked from commit 4162ff9d4d733afc788b3c002adc57aac78a3282)

15 years agoDEVEL15-ia64-linux26-ucontext-20090325
Derrick Brashear [Wed, 25 Mar 2009 19:05:59 +0000]
DEVEL15-ia64-linux26-ucontext-20090325

LICENSE IPL10

use ucontext lwp, like we do on 1.4 and head

15 years agoDEVEL15-redhat-spec-update-20090325
Simon Wilkinson [Wed, 25 Mar 2009 18:42:34 +0000]
DEVEL15-redhat-spec-update-20090325

LICENSE IPL10
FIXES 123650

install afszcm.cat, update CellServDB

(cherry picked from commit cc0922c26fcbeebe73d4df422db65a550a9c6bf8)

15 years agoDEVEL15-copyonwrite-optimization-fix-20090325
Rainer Toebbicke [Wed, 25 Mar 2009 14:34:47 +0000]
DEVEL15-copyonwrite-optimization-fix-20090325

LICENSE IPL10

update to do tail case

(cherry picked from commit 78e29484eb67deb8c19e4549eabaa27a3527fcf6)

15 years agoDEVEL15-volser-split-namei-only-20090324
Derrick Brashear [Tue, 24 Mar 2009 18:20:33 +0000]
DEVEL15-volser-split-namei-only-20090324

LICENSE IPL10

make vos split be namei-only

(cherry picked from commit 5e770d6d18eacd5e4e70dd95853e4f1d99c54df2)

15 years agoDEVEL15-vol-split-nearino-20090324
Derrick Brashear [Tue, 24 Mar 2009 17:55:58 +0000]
DEVEL15-vol-split-nearino-20090324

LICENSE IPL10

add nearInode hint

(cherry picked from commit 1f83528147ee47addd926ae729ee36520d1e82e5)

15 years agoDEVEL15-vfsck-needs-fd-t-defn-20090324
Derrick Brashear [Tue, 24 Mar 2009 14:24:07 +0000]
DEVEL15-vfsck-needs-fd-t-defn-20090324

LICENSE IPL10

make vfsck build again

(cherry picked from commit 9a697699b487066f04783194771774db42ecfba9)

15 years agoDEVEL15-volser-prototype-cleanup-20090324
Derrick Brashear [Tue, 24 Mar 2009 14:22:05 +0000]
DEVEL15-volser-prototype-cleanup-20090324

LICENSE IPL10

make prototypes and return values etc match

(cherry picked from commit 4df81d17bfbc1e2437883260c350be2631002ec0)

15 years agoDEVEL15-volserver-split-volume-functionality-20090324
Hartmut Reuter [Tue, 24 Mar 2009 13:36:35 +0000]
DEVEL15-volserver-split-volume-functionality-20090324

LICENSE IPL10
FIXES 124520

implement the server side of vos split

(cherry picked from commit ba742892e2102cf545157e9c97df10799a58403e)

15 years agoDEVEL15-fssync-enum-syntax-20090324
Derrick Brashear [Tue, 24 Mar 2009 12:43:16 +0000]
DEVEL15-fssync-enum-syntax-20090324

LICENSE IPL10

no trailing comma

(cherry picked from commit 71a73608b1393a5f7f333cb680608d8a1f03a3f6)

15 years agoDEVEL15-fd-t-definition-fun-20090323
Derrick Brashear [Tue, 24 Mar 2009 12:41:37 +0000]
DEVEL15-fd-t-definition-fun-20090323

LICENSE IPL10

make FD_t be defined everywhere we need it

(cherry picked from commit 63b0d495cfc6362bced7b2492310cf1a0bf684b0)

15 years agoDEVEL15-iced-threadnum-return-cast-20090323
Derrick Brashear [Tue, 24 Mar 2009 03:44:14 +0000]
DEVEL15-iced-threadnum-return-cast-20090323

LICENSE IPL10

cast return type from threadNum

15 years agoDEVEL15-vol-lock-fd-type-20090323
Jeffrey Altman [Mon, 23 Mar 2009 22:47:47 +0000]
DEVEL15-vol-lock-fd-type-20090323

LICENSE IPL10

the lock_fd field of DiskPartition[64] is a file descriptor.
On Windows this is a HANDLE and on *nix platforms an int.
OpenAFS uses the FD_t type to provide platform specific type
info for file descriptors.  Use it for the lock_fd field and
the salvageLock in ObtainsSalvageLock().

Finally, the on the wire diskPartition[64] struct in volser/volint.xg
also contains a lock_fd field.  This is an on the wire field and
must be left at a fixed width of 32-bits.  Since a file descriptor
is not portable across machines we truncate the 64-bit HANDLE value
to fit in the 32-bit lock_fd field when necessary.

(cherry picked from commit a209012f1a3f83959f9df14ebad4aa2b50bacae0)

15 years agoDEVEL15-vol-fssync-server-socket-20090323
Jeffrey Altman [Mon, 23 Mar 2009 22:42:59 +0000]
DEVEL15-vol-fssync-server-socket-20090323

LICENSE IPL10

GetHandler() sets up a fdset and returns the max socket fd
which is used with select().  Windows ignores the numfd param
(first param) of select() and therefore computing the max fd
value is meaningless.  We can avoid a number of casts by
not attempting to treat this value as osi_socket.

(cherry picked from commit aa8d735b8707e2bf9142699fd25034655c821f96)

15 years agoDEVEL15-libadmin-vos-ihandle-20090323
Jeffrey Altman [Mon, 23 Mar 2009 22:38:27 +0000]
DEVEL15-libadmin-vos-ihandle-20090323

LICENSE IPL10

include afs/ihandle.h in order to gain access to the FD_t definition

(cherry picked from commit 1d4542f93bae6b59e7d4321c23a2551fa43416ba)

15 years agoDEVEL15-volser-fcn-return-types-20090323
Derrick Brashear [Mon, 23 Mar 2009 19:53:55 +0000]
DEVEL15-volser-fcn-return-types-20090323

LICENSE IPL10

make internal functions have correct return types

(cherry picked from commit 4d9f5731c9ec6c50154da9784df0631a65dd9a9d)

15 years agoDEVEL15-printf-sanity-args-20090323
Derrick Brashear [Mon, 23 Mar 2009 19:40:58 +0000]
DEVEL15-printf-sanity-args-20090323

LICENSE IPL10

fix type specifier for correct arg

(cherry picked from commit 3e15ed48d305a5fedb1af552459cf5bbe1b95a40)

15 years agoDEVEL15-disconnected-put-back-vcaches-we-held-20090323
Simon Wilkinson [Mon, 23 Mar 2009 19:11:25 +0000]
DEVEL15-disconnected-put-back-vcaches-we-held-20090323

LICENSE IPL10

if we hold a vcache for shadow, we need to release the ref when we give it up

(cherry picked from commit 62f4c29eef578b7f3df143f3ddd04307d8f2271f)

15 years agoDEVEL15-disconnected-dont-double-dequeue-shadow-removal-20090323
Simon Wilkinson [Mon, 23 Mar 2009 19:00:02 +0000]
DEVEL15-disconnected-dont-double-dequeue-shadow-removal-20090323

LICENSE IPL10
FIXES 124496

queue_Remove twice tends to cause things like panics

(cherry picked from commit ad20213bbba4083160a88c2f65e5e8c8de259266)

15 years agoDEVEL15-viced-type-fixups-20090323
Derrick Brashear [Mon, 23 Mar 2009 18:46:52 +0000]
DEVEL15-viced-type-fixups-20090323

LICENSE IPL10

SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*

(cherry picked from commit 7a7b55658b7c72eef0f9b495f02ce766c9961d6e)

15 years agoDEVEL15-volid-unsigned-int32-20090323
Jeffrey Altman [Mon, 23 Mar 2009 18:19:04 +0000]
DEVEL15-volid-unsigned-int32-20090323

LICENSE IPL10
FIXES 124510

assume volume ids are always unsigned 32 bit values

(cherry picked from commit c39d0161552bf69affe839fcb36dfb858dbaedc1)

15 years agoDEVEL15-linux-task-becomes-task-struct-20090323
Derrick Brashear [Mon, 23 Mar 2009 15:16:43 +0000]
DEVEL15-linux-task-becomes-task-struct-20090323

LICENSE IPL10

struct task->struct task_struct. configure needs to cope

(cherry picked from commit 4830a7c8d79c72dcd5d8ce4bab6b8c0a8b249d96)

15 years agoDEVEL15-krb5-run-configure-tests-20090321
Derrick Brashear [Sat, 21 Mar 2009 16:29:56 +0000]
DEVEL15-krb5-run-configure-tests-20090321

LICENSE IPL10
FIXES 124522

--with-krb5=/path caused us to not run configure tests. fix that

(cherry picked from commit 39c4e32bf484aab2c9cf978cbf5877bdb989e9d6)

15 years agoDEVEL15-aix-no-aklog-tsm-without-krb5-20090320
Derrick Brashear [Sat, 21 Mar 2009 15:49:20 +0000]
DEVEL15-aix-no-aklog-tsm-without-krb5-20090320

LICENSE IPL10
FIXES 124522

don't build aklog_dynamic_auth without krb5

(cherry picked from commit c1d545dff6483369ade640b27b9ab7baaa6faac5)

15 years agoDEVEL15-rx-prototypes-alloc-free-ifdefs-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:45:52 +0000]
DEVEL15-rx-prototypes-alloc-free-ifdefs-20090321

LICENSE IPL10

don't prototype osi_Alloc/osi_Free if they're just #defines

(cherry picked from commit 4398d6277dacde8464c0db7a73d5ecb37039823f)

15 years agoDEVEL15-sig-t-exclude-multiple-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:39:14 +0000]
DEVEL15-sig-t-exclude-multiple-20090321

LICENSE IPL10

disallow multiple typedefs of sig_t

(cherry picked from commit 4bf68765b6d2a04c388ae9a5e6f134c0505a785b)

15 years agoDEVEL15-update-config-guess-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:07:50 +0000]
DEVEL15-update-config-guess-20090321

LICENSE IPL10

update from upstream

(cherry picked from commit b1aaf822f558236b91e543f03bcf159db1054c0b)

15 years agoDEVEL15-aix51-pag-header-20090320
Derrick Brashear [Fri, 20 Mar 2009 22:45:20 +0000]
DEVEL15-aix51-pag-header-20090320

LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2

(cherry picked from commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd)

15 years agoDEVEL15-vol-fssync-server-socket-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:25:33 +0000]
DEVEL15-vol-fssync-server-socket-20090320

LICENSE IPL10

another location where we need osi_socket

(cherry picked from commit 73a57e8013c67d5760c677c6aef36611af076af0)

15 years agoDEVEL15-libadmin-client-prototype-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:21:59 +0000]
DEVEL15-libadmin-client-prototype-20090320

LICENSE IPL10

correct the prototype for afsclient_RXDebugOpenPort

(cherry picked from commit b2db1e83c1b4b66ee4f7fb22a6211f849f0e5dd4)

15 years agoDEVEL15-xstat-printf-ptr-format-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:10:19 +0000]
DEVEL15-xstat-printf-ptr-format-20090320

LICENSE IPL10

make use of AFS_PTR_FMT to avoid warnings on Windows.

(cherry picked from commit 218f08ffedb8c75e0314ab00000adf8419fdfe7b)

15 years agoDEVEL15-config-afs-ptr-format-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:09:12 +0000]
DEVEL15-config-afs-ptr-format-20090320

LICENSE IPL10

Define AFS_PTR_FMT to permit per platform printf formats for pointer
representation.

(cherry picked from commit 37fc3b01445cd6446f09c476ea2db47fea544b7d)

15 years agoDEVEL15-linux-osi-vm-flushpages-use-remote-invalidate-20090320
Chaskiel M Grundman [Fri, 20 Mar 2009 15:55:48 +0000]
DEVEL15-linux-osi-vm-flushpages-use-remote-invalidate-20090320

LICENSE IPL10

use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages

(cherry picked from commit 18da64a45c5f1a069f39f687bd84ee51b77a6bd3)

15 years agoDEVEL15-dyn-vcache-shake-needs-exporting-20090320
Derrick Brashear [Fri, 20 Mar 2009 15:04:18 +0000]
DEVEL15-dyn-vcache-shake-needs-exporting-20090320

LICENSE IPL10

update to export shakeloosevcaches

(cherry picked from commit 6ef7d7dfb8caf4a555c2de480037769783cbe88e)

15 years agoDEVEL15-vol-fssync-socket-20090320
Jeffrey Altman [Fri, 20 Mar 2009 12:15:12 +0000]
DEVEL15-vol-fssync-socket-20090320

LICENSE IPL10

the argument to the function parameter is a socket.  fix the type
to be osi_socket.

(cherry picked from commit 0cd43484be886721c0c4d9750f0b40015ba60756)

15 years agoDEVEL15-libadmin-vos-windows-exports-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:52:22 +0000]
DEVEL15-libadmin-vos-windows-exports-20090320

LICENSE IPL10

do not export function name arrays that are already
exported by other libraries.

(cherry picked from commit 64c451cec0ccce8d095109a8697144be093c1259)

15 years agoDEVEL15-libadmin-client-prototypes-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:49:44 +0000]
DEVEL15-libadmin-client-prototypes-20090320

LICENSE IPL10

fix the prototype for afsclient_RPCStatOpenPort and afsclient_CMStatOpenPort

(cherry picked from commit 5eea839b637a120e9b10246511b3d826a1e49a0f)

15 years agoDEVEL15-libadmin-windows-socket-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:47:13 +0000]
DEVEL15-libadmin-windows-socket-20090320

LICENSE IPL10

a socket on Windows is type SOCKET not HANDLE

(cherry picked from commit 14a60754951b7b4920ba1dfcf9c9aac99ae8bce4)

15 years agoDEVEL15-windows-osistatl-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:44:48 +0000]
DEVEL15-windows-osistatl-20090320

LICENSE MIT

Add lock level to osistatl

(cherry picked from commit df961512e1162188a60cec613dd273e25dbf63c9)

15 years agoDEVEL15-static-inline-macros-20090320
Jeffrey Altman [Fri, 20 Mar 2009 05:30:29 +0000]
DEVEL15-static-inline-macros-20090320

LICENSE IPL10
FIXES 124515

add back support for AFS_64BIT_ENV

(cherry picked from commit e460a6e30539086ff3c4bdb264ab57f6e045ad71)

15 years agoDEVEL15-ubik-recovery-use-file-number-not-hardcoded-zero-20090319
Derrick Brashear [Fri, 20 Mar 2009 03:49:04 +0000]
DEVEL15-ubik-recovery-use-file-number-not-hardcoded-zero-20090319

LICENSE IPL10

don't hardcode DB0, use the file number which is being recovered

(cherry picked from commit ef5f6f988c352db58e8b9df422b417cc199b4837)

15 years agoDEVEL15-param-file-64-bit-scalar-updates-20090319
Derrick Brashear [Fri, 20 Mar 2009 03:12:23 +0000]
DEVEL15-param-file-64-bit-scalar-updates-20090319

LICENSE IPL10

64 bit scalar type availability

(cherry picked from commit 4eef62a2f29d81d4fd8c3d28beb0403499f9802e)

15 years agoDEVEL15-dynamic-vcache-allocation-20090319
Derrick Brashear [Fri, 20 Mar 2009 02:31:41 +0000]
DEVEL15-dynamic-vcache-allocation-20090319

LICENSE IPL10
FIXES 124334

add dynamic allocation of vcaches when possible (currently just for linux)

(cherry picked from commit e59b81c984652f7570708831d8b36bdd42f98cf8)

15 years agoDEVEL15-cbd-new-magic-version-with-fixed-time-size-and-dump-switch-20090319
Derrick Brashear [Thu, 19 Mar 2009 20:13:02 +0000]
DEVEL15-cbd-new-magic-version-with-fixed-time-size-and-dump-switch-20090319

LICENSE IPL10
FIXES 124451

make cbd able to select whether time is 32 or 64 bit; when time size is
known, have a new magic number so it's obvious

(cherry picked from commit 79d362c77cfc307dc66bfe874952a914e2313e89)

15 years agoDEVEL15-bozo-fs-create-unused-ptr-20090319
Derrick Brashear [Thu, 19 Mar 2009 18:03:51 +0000]
DEVEL15-bozo-fs-create-unused-ptr-20090319

LICENSE IPL10

add an "unused" field so we match the prototype for create in the bnodeops
struct

(cherry picked from commit fe98c927d3888814077b085e53725f15996cd1b9)

15 years agoDEVEL15-static-inline-macros-20090319
Derrick Brashear [Thu, 19 Mar 2009 17:44:48 +0000]
DEVEL15-static-inline-macros-20090319

LICENSE IPL10

rework the static inline macros to work with headers, with userspace code,
and to have just one copy

(cherry picked from commit 101399171b5a5315cb3f1fdd003d56f0ca214bc8)

15 years agoDEVEL15-viced-type-errors-20090319
Derrick Brashear [Thu, 19 Mar 2009 14:58:32 +0000]
DEVEL15-viced-type-errors-20090319

LICENSE IPL10

use ktc_encryptionKey instead of a char array to avoid prototype issues
threadNum should return int, not char

(cherry picked from commit a343f09803a4b3d5c5492c7d52becbd1526c1f8b)

15 years agoDEVEL15-linux-put-back-warnings-20090319
Derrick Brashear [Thu, 19 Mar 2009 14:42:49 +0000]
DEVEL15-linux-put-back-warnings-20090319

LICENSE IPL10

need to verify this for all platforms at the same time; since the function
is portable. should be const anyway; we don't want to change it.

(cherry picked from commit 3d54f743bce4c1bd603e9572790f51e85905dabb)

15 years agoDEVEL15-linux-key-alloc-changes-20090318
Marc Dionne [Thu, 19 Mar 2009 04:02:32 +0000]
DEVEL15-linux-key-alloc-changes-20090318

LICENSE IPL10
FIXES 124507

Fix the old configure test for key_alloc for the task argument - we
can't just rely on the number of arguments anymore. Wish this could be
done without using -Werror.
Add an additional test for the struct cred argument

(cherry picked from commit bf9dc554b366b08ce0bef62ce242c94371938000)

15 years agoDEVEL15-mypidxx-not-always-int-20090318
Marc Dionne [Thu, 19 Mar 2009 03:58:04 +0000]
DEVEL15-mypidxx-not-always-int-20090318

LICENSE IPL10
FIXES 124505

don't assume MyPidxx will be an int; on linux it's current, for instance, a
task_struct

(cherry picked from commit aaae44dfe993d95a253b35f60feab5e9806e51f2)

15 years agoDEVEL15-discon-ifdef-cleanup-20090318
Marc Dionne [Thu, 19 Mar 2009 03:53:42 +0000]
DEVEL15-discon-ifdef-cleanup-20090318

LICENSE IPL10
FIXES 124508

fix the disconnected ifdefs

(cherry picked from commit 156f1b8e4a3607a49de45ca43a52f42a21cdaab8)

15 years agoDEVEL15-printf-sanity-20090318
Jeffrey Altman [Wed, 18 Mar 2009 22:46:33 +0000]
DEVEL15-printf-sanity-20090318

LICENSE IPL10

make it work for Windows

(cherry picked from commit be4d4076f281840070a908a7da10f4cab70cea62)

15 years agoDEVEL15-linux-warning-reduction-20090318
Marc Dionne [Wed, 18 Mar 2009 13:41:35 +0000]
DEVEL15-linux-warning-reduction-20090318

LICENSE IPL10
FIXES 119434

cleanup warnings in linux kernel builds

(cherry picked from commit 85d8bdac7439966a64709724d20dfd487911f7bc)

15 years agoDEVEL15-windows-afsd-badsharename-20090317
Jeffrey Altman [Wed, 18 Mar 2009 03:56:26 +0000]
DEVEL15-windows-afsd-badsharename-20090317

LICENSE MIT

When Dfs support is enabled in the smb server do not return
CM_ERROR_BADSHARENAME unless the component that is not found
is in fact a share name.  Return CM_ERROR_NOSUCHPATH instead.

(cherry picked from commit 09b23c27a7b59a32b8e39bbc0410ddda373da5d4)