openafs.git
14 years agoDEVEL15-pts-encrypt-option-20090512
Derrick Brashear [Tue, 12 May 2009 20:40:32 +0000]
DEVEL15-pts-encrypt-option-20090512

LICENSE IPL10
FIXES 124681

add -encrypt flag to pts generic options, allowing the wire to be
encrypted if desired and the user's authenticated. document same.

(cherry picked from commit 6ba44802ea6cf722c22a4784cbbad70ed6f5d60a)

14 years agoDEVEL15-linux-mmap-antirecursion-fix-20090512
Felix Frank [Tue, 12 May 2009 18:56:40 +0000]
DEVEL15-linux-mmap-antirecursion-fix-20090512

LICENSE IPL10
FIXES 124627

fix the mmap anti-recursion protection to set and mask CPageWrite appropriately
and with the correct lock protection. this leaves us with an issue to handle
when the mmap'd file is larger (possibly considerably larger) than the
cache

(cherry picked from commit 5e0e1ea2540d0cb7d7274350eb1fadfd41733ea4)

14 years agoDEVEL15-freebsd-kauth-sig-t-20090512
Matt Benjamin [Tue, 12 May 2009 18:19:09 +0000]
DEVEL15-freebsd-kauth-sig-t-20090512

LICENSE IPL10
FIXES 124569

define the old signal type as sig_t on freebsd (e.g. everywhere we prototype as
sig_t)

(cherry picked from commit 3b6bf1a05730b6383d1cef4516b94a63e802521b)

14 years agoDEVEL15-rxdebug-print-values-unsigned-20090512
Rainer Toebbicke [Tue, 12 May 2009 18:12:30 +0000]
DEVEL15-rxdebug-print-values-unsigned-20090512

LICENSE IPL10
FIXES 124563

for the values which are unsigned, use %u, not %d

(cherry picked from commit b967654434f4d24b50dbc96e0296d2c632f76ea3)

14 years agoDEVEL15-redhat-use-postinit-in-initscript-20090512
Anders Kaseorg [Tue, 12 May 2009 17:58:37 +0000]
DEVEL15-redhat-use-postinit-in-initscript-20090512

LICENSE IPL10
FIXES 124552

if a postinit script is defined, use it

(cherry picked from commit eb9fff14c7be1b15369c6d1a44426c1c7c82c92e)

14 years agoDEVEL15-memcache-write-on-laststore-20090512
Felix Frank [Tue, 12 May 2009 17:42:37 +0000]
DEVEL15-memcache-write-on-laststore-20090512

LICENSE IPL10
FIXES 124671

write back dirty pages on last store for memcache, lest we end up
unintentionally discarding the changes.

(cherry picked from commit 214ce7c8b488e90301e9f604b6ecc625b7000e62)

14 years agoDEVEL15-tests-generate-dirpath-in-makefile-20090512
Steven Jenkins [Tue, 12 May 2009 17:23:04 +0000]
DEVEL15-tests-generate-dirpath-in-makefile-20090512

LICENSE IPL10
FIXES 124715

fix rmcell to not have hardcoded paths; instead, generate a dirpath shell
script from makefile and use that

(cherry picked from commit c6adb0d2f32f8e8f3974b8ea3049601bf01d6877)

14 years agoDEVEL15-tests-no-dirpath-infile-20090512
Steven Jenkins [Tue, 12 May 2009 14:06:24 +0000]
DEVEL15-tests-no-dirpath-infile-20090512

LICENSE IPL10
FIXES 124716

Dirpath.pm.in is no longer needed

(cherry picked from commit c39f38d8c6703a9d1b9967a1bf0901db35e19267)

14 years agoDEVEL15-openbsd-44-45-20090512
Matt Benjamin [Tue, 12 May 2009 14:02:58 +0000]
DEVEL15-openbsd-44-45-20090512

LICENSE IPL10
FIXES 124719

add missing osi_free backend, missing param file, modify soreceive for 4.5

(cherry picked from commit 4b9283a30db0c3aee943c94573b412f24894d366)

14 years agoDEVEL15-windows-dcache-store-data-20090511
Jeffrey Altman [Mon, 11 May 2009 17:22:35 +0000]
DEVEL15-windows-dcache-store-data-20090511

LICENSE MIT

The windows dcache module synchronizes store data operations in
order to prevent multiple simultaneous store data operations against
the same file at the same time by multiple threads.  This is performed
using cm_SyncOp(CM_SCACHESYNC_STOREDATA_EXCL).  However, cm_SetupStoreBIOD()
was being processed prior to the synchronization.  As a result a dirty
buffer could be added to two BIOD lists resulting in the same buffer
contents being written to the file server twice.

This patch moves the cm_SetupStoreBIOD() into the synchronization region.
It also adds a new 'locked' parameter to cm_ReleaseBIOD() that indicates
whether or not the cm_scache_t object is locked when called.  This
permits fewer lock state changes to be used in several cases.

(cherry picked from commit 947213da0ee6a0d805f0fc5eaeec0202d0bbffa4)

14 years agoDEVEL15-xml-docbook-documentation-first-pass-20060915
Chas Williams [Mon, 11 May 2009 16:12:58 +0000]
DEVEL15-xml-docbook-documentation-first-pass-20060915

needs more massaging to make it fit the tree, but, get it here first

(cherry picked from commit 52557c982e1ed65c694c5c1387ac2b385356438d)

14 years agoDEVEL15-linux26-defer-cred-changing-20090511
Simon Wilkinson [Mon, 11 May 2009 15:55:02 +0000]
DEVEL15-linux26-defer-cred-changing-20090511

LICENSE IPL10
FIXES 124737

Newer Linux kernels differentiate between the real and effective
credentials of a process, and prevent a process's credentials from being
change when the effective credentials have been set to a different value.
When AFS notices a keyring PAG exists but no group-based PAG does, the
attempt to rectify this, if done in a VFS call (which changes effective creds)
triggers this issue. We defer the change to the groups to avoid it.

(cherry picked from commit 7d530b9080f6dd4d7f7e4555ed6ce855ff81bcaa)

14 years agoDEVEL15-windows-hard-and-idle-dead-timeouts-20090511
Jeffrey Altman [Mon, 11 May 2009 15:16:32 +0000]
DEVEL15-windows-hard-and-idle-dead-timeouts-20090511

LICENSE MIT

Fix conditional test that assigns value to idleDeadTimeout

Modify event log message to indicate timeout could be either a
hard or an idle timeout.

As described in the source comments, do not retry on a hard or
idle timeout.

(cherry picked from commit f5a97a145e09a16a9b2d3ab485f33f520235b7e9)

14 years agoDEVEL15-windows-fs-getfid-20090511
Jeffrey Altman [Mon, 11 May 2009 15:04:52 +0000]
DEVEL15-windows-fs-getfid-20090511

LICENSE MIT

Implement "fs getfid +<path> [-literal]" on Windows.
Same as the first line of output as "fs examine ...".

(cherry picked from commit 5520747790b599bc10013dc78efb81b5d50a3f52)

14 years agoDEVEL15-linux-fh-based-cache-20090511
Marc Dionne [Mon, 11 May 2009 14:40:23 +0000]
DEVEL15-linux-fh-based-cache-20090511

LICENSE IPL10
FIXES 123620

rework previous fh-based cache support. now allows use of
arbitrarily large file handles, and build correctly for UKERNEL.

we now just use this if there's no iget, instead of providing a configure
switch.

because this relies on the somewhat invasive patch from 124184 it is not
currently pulled up to 1.4.x

(cherry picked from commit 326ffcc108e1db32fa2071b66ac9dbf2321ae71d)

14 years agoDEVEL15-abstract-cache-inode-ops-20090511
Simon Wilkinson [Mon, 11 May 2009 14:28:04 +0000]
DEVEL15-abstract-cache-inode-ops-20090511

LICENSE IPL10
FIXES 124184

previous versions had abstract functions for linux (use_fh) and osx/solaris
(cache_vnode_path) cache file access, which was contributing to code bloat

switch to a union for disk/memory cache objects, and provide functions to
convert these into something appropriate for each system

(cherry picked from commit 8747236d54742c1c2fb8788c1f6aee4e657b3e89)

14 years agoDEVEL15-windows-fs-path-in-afs-20090507
Jeffrey Altman [Thu, 7 May 2009 16:03:07 +0000]
DEVEL15-windows-fs-path-in-afs-20090507

LICENSE MIT

Switch the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME
so that the literal option can be used.

(cherry picked from commit fd0f1f49f27b5f92547a0d15e23efd3b2e46376d)

14 years agoDEVEL15-windows-shellext-path-in-afs-20090507
Jeffrey Altman [Thu, 7 May 2009 15:53:25 +0000]
DEVEL15-windows-shellext-path-in-afs-20090507

LICENSE MIT
FIXES 124742

Change the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME.
VIOCGETFID permits a literal test of the specified object.   This is needed
for testing the validity of a symlink to a msdfs: or non-existent path.
Otherwise, the AFS Shell Extension context menu will not be displayed.

(cherry picked from commit 621719905806a5883be5a17ca1af0d1929b874e3)

14 years agoDEVEL15-man-pages-allow-dots-consistent-20090505
Derrick Brashear [Tue, 5 May 2009 13:30:34 +0000]
DEVEL15-man-pages-allow-dots-consistent-20090505

LICENSE IPL10

make all server man pages list -allow-dotted-principals (rather than
-allow-dotted-principal)

(cherry picked from commit c8ac7d1c499150b3f82a6566e9bbdb7478ddd469)

14 years agoDEVEL15-dafs-vol-offline-20090428
Mike Meffie [Tue, 28 Apr 2009 15:37:51 +0000]
DEVEL15-dafs-vol-offline-20090428

LICENSE IPL10
FIXES 124582

fix a logic error in the dafs vos offline support

(cherry picked from commit 5958aa0c4b0a9279a918cda1f37cb7e6c5666d44)

14 years agoDEVEL15-windows-smb-disable-loopback-check-20090427
Jeffrey Altman [Tue, 28 Apr 2009 00:37:26 +0000]
DEVEL15-windows-smb-disable-loopback-check-20090427

LICENSE MIT

Now that BackConnectionHostNames can be set each time the smb listener
threads are stopped and restarted, we need to make sure that we do not
clear the DisableLoopbackCheck value if it was set during the same
service session because BackConnectionHostName value changes only take
effect on a reboot.

(cherry picked from commit c4006edf4022e4f80cda5afd427d43997299c890)

14 years agoDEVEL15-rename-residency-from-mrafs-to-osd-20090427
Steven Jenkins [Tue, 28 Apr 2009 00:04:29 +0000]
DEVEL15-rename-residency-from-mrafs-to-osd-20090427

LICENSE IPL10
FIXES 124130

rename mrafs commands into their equivalent osd versions; structures etc are the
 same.

(cherry picked from commit 8655541d1eb6ea7d935f50d9256e12bf90db5045)

14 years agoDEVEL15-vos-reveal-hidden-cmds-20090427
Jeffrey Altman [Mon, 27 Apr 2009 21:18:12 +0000]
DEVEL15-vos-reveal-hidden-cmds-20090427

LICENSE IPL10

vos hides "online", "offline", "delentry -noexecute", and "addsite -valid".
All of these are currently documented in the man pages without warning.
Reveal them.

(cherry picked from commit 4836fd1e374c30b5e3be72e73b3dbd21c0c98548)

14 years agoDEVEL15-dprintf-rename-20090427
Simon Wilkinson [Mon, 27 Apr 2009 20:17:25 +0000]
DEVEL15-dprintf-rename-20090427

LICENSE IPL10
FIXES 124657

make dprintf be afs_dprintf to fix for fedora 11 and probably others

(cherry picked from commit 2f5ac61b0a8775c58536ee954f2208ab88d0b225)

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)