openafs.git
16 years agoDEVEL15-openafs-string-header-cleanup-20071030
Simon Wilkinson [Tue, 30 Oct 2007 15:16:33 +0000]
DEVEL15-openafs-string-header-cleanup-20071030

fix string head inclusion issue

(cherry picked from commit 7d05bd439e144aa3bc5fd68908d1a359182897b0)

16 years agoDEVEL15-redhat-packaging-update-20071029
Simon Wilkinson [Tue, 30 Oct 2007 03:56:53 +0000]
DEVEL15-redhat-packaging-update-20071029

update rpm packaging stuff for what shipped in 1.4.5

(cherry picked from commit 7fe8131c049186e8340890a1effdf109d87f0611)

16 years agoDEVEL15-redhat-fedora-build-driver-20071026
Simon Wilkinson [Fri, 26 Oct 2007 17:21:51 +0000]
DEVEL15-redhat-fedora-build-driver-20071026

driver script for fedora builds

(cherry picked from commit 1b3ecae23c87a0d97b561169ca33a6e7eca449ee)

16 years agoDEVEL15-redhat-spec-fix-hugemem-modpath-20071026
Derrick Brashear [Fri, 26 Oct 2007 17:11:14 +0000]
DEVEL15-redhat-spec-fix-hugemem-modpath-20071026

make this match other kernsls

(cherry picked from commit 2ced26c8badb79a81152523bbfb4ef2cc476cb03)

16 years agoDEVEL15-windows-aclent-remove-extraneous-code-20071024
Jeffrey Altman [Thu, 25 Oct 2007 05:49:00 +0000]
DEVEL15-windows-aclent-remove-extraneous-code-20071024

Microsoft provided a dump showing cm_data.aclLRUEndp == NULL in
GetFreeACLEnt().  Couldn't find any reason why that would be true.
However, there is extraneous code that manipulates the value of
aclLRUEndp when it should be left to osi_QRemoveHT() to update
the pointer values.

Also add an additional explicit test for aclLRUEndp == NULL in
GetFreeACLEnt().

(cherry picked from commit fb7595ad1d31c5ccafa18de854f2bf8bc8c067de)

16 years agoDEVEL15-macos-installer-crap-20071025
Derrick Brashear [Thu, 25 Oct 2007 04:43:39 +0000]
DEVEL15-macos-installer-crap-20071025

put it back the way it was

(cherry picked from commit 511aed14e0d18aa8c3a9a3742d79443912a4d9ff)

16 years agoDEVEL15-STABLE14-yscall-cleanup-if-we-installed-20071024
Derrick Brashear [Wed, 24 Oct 2007 19:22:21 +0000]
DEVEL15-STABLE14-yscall-cleanup-if-we-installed-20071024

FIXES 75307

16 years agoDEVEL15-linux-nfstrans-20071024
Simon Wilkinson [Wed, 24 Oct 2007 16:45:01 +0000]
DEVEL15-linux-nfstrans-20071024

FIXES 75233

better track changes so we can build an nfstranslator module for new linux kernels

(cherry picked from commit d78b844133549b530273fc7ad1ea376d582985d9)

16 years agoDEVEL15-cblater-bitmask-bug-20071024
Dan Hyde [Wed, 24 Oct 2007 16:35:27 +0000]
DEVEL15-cblater-bitmask-bug-20071024

FIXES 75304

add missing ()

(cherry picked from commit 1d9ba682a5533bb720ef033287f78cff467aac11)

16 years agoDEVEL15-darwin-allow-finder-to-unlink-rsrc-files-20071024
Derrick Brashear [Wed, 24 Oct 2007 06:41:44 +0000]
DEVEL15-darwin-allow-finder-to-unlink-rsrc-files-20071024

finder tries hard to clean up resource fork files it creates when you drop something in a dropbox that don't then get updates.

let it think it won

(cherry picked from commit 3973d822379ca3af99db43d34d8d3468740cf5a7)

16 years agoDEVEL15-finder-and-tiger-cp-deal-with-dropboxes-20071024
Chaskiel M Grundman [Wed, 24 Oct 2007 06:30:41 +0000]
DEVEL15-finder-and-tiger-cp-deal-with-dropboxes-20071024

FIXES 69363

this way copying finishes

(cherry picked from commit f814c8a9636b2939da9d0f17de4d71c6fd23ae6c)

16 years agoDEVEL15-windows-wix-nsis-uninstall-20071023
Jeffrey Altman [Wed, 24 Oct 2007 04:50:35 +0000]
DEVEL15-windows-wix-nsis-uninstall-20071023

At somepoint windows installer broke the use of the 'file' RegistrySearch
type.  Instead of returning the full file name path we are only getting
the directory.  Switch to using the 'raw' type since we know we aren't
prefixing the file name with a hash.

(cherry picked from commit 57b28bb8eed956e1fe27cef81efd4cb30e63837d)

16 years agoDEVEL15-afs-shutdown-free-resources-20071023
Mike Meffie [Tue, 23 Oct 2007 23:37:30 +0000]
DEVEL15-afs-shutdown-free-resources-20071023

try hard to free resources

(cherry picked from commit 15f6e3170ce8e0c6f8e92f1fe046e2293cf8e833)

16 years agoDEVEL15-darwin-uio-64-20071023
Derrick Brashear [Tue, 23 Oct 2007 18:39:19 +0000]
DEVEL15-darwin-uio-64-20071023

use the 64 bit awareness in the KPI

(cherry picked from commit 3b3ccef28eb19079e73f78779e2778d3aa44bb83)

16 years agoDEVEL15-pod-man-fs-uuid-20071023
Jason Edgecombe [Tue, 23 Oct 2007 18:01:15 +0000]
DEVEL15-pod-man-fs-uuid-20071023

FIXES 75175

add man page for fs uuid

(cherry picked from commit 66a19a512e2a015b39089343288881a108b8d637)

16 years agoDEVEL15-darwin-afsd-cleanup-power-notification-nicely-20071023
Derrick Brashear [Tue, 23 Oct 2007 15:29:49 +0000]
DEVEL15-darwin-afsd-cleanup-power-notification-nicely-20071023

don't drop a core on shutdown

(cherry picked from commit 4526c6a4f7e6f627249580cac0ba9373735ae667)

16 years agoDEVEL15-vos-restore-check-doesnt-apply-to-pipes-20071023
Derrick Brashear [Tue, 23 Oct 2007 15:20:34 +0000]
DEVEL15-vos-restore-check-doesnt-apply-to-pipes-20071023

as pointed out by hung pham

(cherry picked from commit 79e51892fe1d6fe115a9ae6301f4553e6b6dc07c)

16 years agoDEVEL15-openafs-1-5-26-20071022 openafs-devel-1_5_26
Derrick Brashear [Tue, 23 Oct 2007 04:07:55 +0000]
DEVEL15-openafs-1-5-26-20071022

make 1.5.26

16 years agoDEVEL15-darwin-modify-cp-workaround-20071022
Derrick Brashear [Tue, 23 Oct 2007 01:31:23 +0000]
DEVEL15-darwin-modify-cp-workaround-20071022

more work will be needed to fool finder into just copying the d**n file, since
it's checking too hard.

(cherry picked from commit 6aaca73002214ff8b7a757322a9bffa3d5af0e3e)

16 years agoDEVEL15-change-default-probeint-for-rfc4787-20071022
Derrick Brashear [Tue, 23 Oct 2007 01:02:50 +0000]
DEVEL15-change-default-probeint-for-rfc4787-20071022

an RFC compliant port mapping device guarantees less time than we previously probed.

(cherry picked from commit 4456aa773929fa959e998058bfafc14d6309ff49)

16 years agoDEVEL15-windows-version-20071022
Jeffrey Altman [Tue, 23 Oct 2007 00:28:14 +0000]
DEVEL15-windows-version-20071022

1.5.26

16 years agoDEVEL15-windows-release-notes-20071022
Jeffrey Altman [Tue, 23 Oct 2007 00:21:56 +0000]
DEVEL15-windows-release-notes-20071022

final for 1.5.26

16 years agoDEVEL15-fssync-poll-interface-20071022
Simon Wilkinson [Mon, 22 Oct 2007 18:29:49 +0000]
DEVEL15-fssync-poll-interface-20071022

FIXES 74708

support a poll interface

otherwise, the fd setsize can screw with us

(cherry picked from commit d0285a2193de9868024eb0f432a495bd1802663f)

16 years agoDEVEL15-windows-notes-20071022
Jeffrey Altman [Mon, 22 Oct 2007 16:05:15 +0000]
DEVEL15-windows-notes-20071022

notes for 1.5.26

16 years agoDEVEL15-cpp-avoid-cc-E-20071022
Simon Wilkinson [Mon, 22 Oct 2007 14:22:57 +0000]
DEVEL15-cpp-avoid-cc-E-20071022

finding the right cpp is good. having it not be cc -E is better

(cherry picked from commit e25e21e909c5684025a1c6066dedaffa2666c3c7)

16 years agoDEVEL15-windows-ntstatus-warnings-20071021
Jeffrey Altman [Mon, 22 Oct 2007 04:33:20 +0000]
DEVEL15-windows-ntstatus-warnings-20071021

suppress warnings caused by multiple definitions of NTSTATUS values

(cherry picked from commit fd1bf06004bc698242d8ceec88126384bba8f30f)

16 years agoDEVEL15-windows-del-symlink-20071021
Jeffrey Altman [Mon, 22 Oct 2007 04:30:04 +0000]
DEVEL15-windows-del-symlink-20071021

The cmd.exe "del" command operates by opening a file and then setting
the file disposition to delete on close followed by closing the file.

When the filename is a symlink, the smb_fid_t scp refers to the final
destination object and not the symlink.  In smb_CloseFid() the correct
object would be removed from the directory by name, but the wrong cm_scache_t
would be marked deleted.  This would result in subsequent references to
the target file being considered invalid.

Fix it by looking up the cm_scache_t of the symlink prior to performing
the deletion.

(cherry picked from commit f90153625efee1e5589df5e6b66a1162e07ddbfa)

16 years agoDEVEL15-windows-registry-OfflineReadOnlyIsValid-20071019
Jeffrey Altman [Sat, 20 Oct 2007 05:03:04 +0000]
DEVEL15-windows-registry-OfflineReadOnlyIsValid-20071019

Add registry value "OfflineReadOnlyIsValid" option.  When set to non-zero
value, an offline or down read only volume will be treated as if it has
a valid callback even if it doesn't.

(cherry picked from commit 20cfc16e3d6d874a6a21f6ed68ff904dd45142d5)

16 years agoDEVEL15-cpp-autoconf-located-20071019
Arno Schuring [Sat, 20 Oct 2007 01:23:42 +0000]
DEVEL15-cpp-autoconf-located-20071019

let autoconf find cpp

(cherry picked from commit 6122c757e1902baabc35d0ce0f6de336c2576b22)

16 years agoDEVEL15-darwin80-dnlc-dont-return-deadvnodes-20071019
Derrick Brashear [Fri, 19 Oct 2007 21:39:07 +0000]
DEVEL15-darwin80-dnlc-dont-return-deadvnodes-20071019

FIXES 41550

obvious. if we are going to be like GetVCache, we should

(cherry picked from commit 7e752ba085729991101782fe40f9db8c6f384734)

16 years agoDEVEL15-windows-pioctl-parse-path-20071018
Jeffrey Altman [Fri, 19 Oct 2007 05:27:03 +0000]
DEVEL15-windows-pioctl-parse-path-20071018

cm_ParseIoctlPath() moves the ioctlp->inDatap past the ioctl path
to the next data value if there is one.  Make sure we move the pointer
before we alter the contents of the buffer.  Otherwise, the caller
uses the wrong string for its next data blob.

(cherry picked from commit 05ee11d3155489bf28ca35b8b1ea4f32c97bf76b)

16 years agoDEVEL15-windows-pioctl-error-codes-20071018
Jeffrey Altman [Thu, 18 Oct 2007 23:07:59 +0000]
DEVEL15-windows-pioctl-error-codes-20071018

add knowledge of new cm error codes

(cherry picked from commit 53baa78733c01dfcf842a7d8339bc3e8c55d517e)

16 years agoDEVEL15-windows-smb-20071018
Jeffrey Altman [Thu, 18 Oct 2007 06:29:09 +0000]
DEVEL15-windows-smb-20071018

refactoring, suppression of duplicate status value definition warnings,
and removal of old pattern matching code

(cherry picked from commit 8598b81a6904e4a7d3436d5545fdfd7f1ee99890)

16 years agoDEVEL15-windows-freelance-symlink-20071018
Jeffrey Altman [Thu, 18 Oct 2007 06:28:39 +0000]
DEVEL15-windows-freelance-symlink-20071018

More tweaking of the IoctlPathParsing code.

Add special handling for many more pioctl operations performed on
the Freelance root.afs volume.

Add informative error values for symlink freelance operations.

(cherry picked from commit 91855b82c75f7a9d840eb7e47663dd2c41eb561b)

16 years agoDEVEL15-windows-afskfw-20071018
Jeffrey Altman [Thu, 18 Oct 2007 06:21:35 +0000]
DEVEL15-windows-afskfw-20071018

Add SOFTWARE\OpenAFS\Client  AcceptDottedPrincipalNames registry
value to control whether the use of Kerberos v5 principal names
with dots in the first component are permitted.

(cherry picked from commit deced1c9328ee5451c7f6927afb5b08b5d9e4ed4)

16 years agoDEVEL15-redhat-spec-require-bison-flex-20071018
Derrick Brashear [Thu, 18 Oct 2007 05:12:44 +0000]
DEVEL15-redhat-spec-require-bison-flex-20071018

require everything we need to build

(cherry picked from commit 930f1d7ad79b9fbc6f329eb85d84a7263b8908d6)

16 years agoDEVEL15-redhat-packaging-updates-20071018
Derrick Brashear [Thu, 18 Oct 2007 05:04:10 +0000]
DEVEL15-redhat-packaging-updates-20071018

make the buildall script know centos and new fedora; make the spec file include it

(cherry picked from commit bc1cc5a65b4096d8d489c1d20e0cb3a6f8b5b556)

16 years agoDEVEL15-darwin-fsref-other-races-20071017
Derrick Brashear [Wed, 17 Oct 2007 21:34:17 +0000]
DEVEL15-darwin-fsref-other-races-20071017

FIXES 41550

not clear this is exactly correct but testing seems to vet it.

(cherry picked from commit d8faa623f7ae0c26efd9923953f10b80eaed8042)

16 years agoDEVEL15-darwin-finalizevnode-get-vnode-inside-lock-20071017
Chaskiel M Grundman [Wed, 17 Oct 2007 18:17:15 +0000]
DEVEL15-darwin-finalizevnode-get-vnode-inside-lock-20071017

FIXES 41550

the ovp initialization should happen while we have the vnode locked, regardless.

(cherry picked from commit 49630f29571b5d602e8d57aa1b48e3fe710e2a53)

16 years agoDEVEL15-afs-shutdown-free-resources-20071017
Derrick Brashear [Wed, 17 Oct 2007 15:34:53 +0000]
DEVEL15-afs-shutdown-free-resources-20071017

try hard to free resources

(cherry picked from commit eac13cbb48a95170a310dedb5d7efd1eeb4350b3)

16 years agoDEVEL15-darwin90-disk-cache-20071016
Derrick Brashear [Wed, 17 Oct 2007 04:48:07 +0000]
DEVEL15-darwin90-disk-cache-20071016

FIXES 43303

don't break memcache, also

(cherry picked from commit 30193a043e0b3d965139ec92227f73ce31f24403)

16 years agoDEVEL15-translator-sysnamelist-bugfix-20071016
Douglas Engert [Tue, 16 Oct 2007 22:56:45 +0000]
DEVEL15-translator-sysnamelist-bugfix-20071016

FIXES 74478

fix sysname list support bug when the list is empty

(cherry picked from commit 62689b013451c38843d369ae86e46ab37099648a)

16 years agoDEVEL15-windows-fs-uuid-20071016
Jeffrey Altman [Tue, 16 Oct 2007 18:26:08 +0000]
DEVEL15-windows-fs-uuid-20071016

do not require afs client administrator access to display the current
Uuid value.

(cherry picked from commit 89c8d7e125a5b46f57081000fcbc698eba9e5daa)

16 years agoDEVEL15-fs-uuid-20071016
Jason Edgecombe [Tue, 16 Oct 2007 18:21:55 +0000]
DEVEL15-fs-uuid-20071016

FIXES 74473

Change "fs uuid" to "fs uuid -generate" where "-generate" is a
required parameter.

This command requires root access to execute it.

Unlike the Windows variant, the UNIX version does not yet support displaying
the current UUID to the user.  When this functionality is added, "-generate"
should become an optional parameter.

(cherry picked from commit 7b2fc6e8d53d1ca8f111cd757e723ab27e9a31d9)

16 years agoDEVEL15-restore-20071016
Jeffrey Altman [Tue, 16 Oct 2007 17:58:41 +0000]
DEVEL15-restore-20071016

FIXES 74531

afs_com_err() was called without specifying the error code.

(cherry picked from commit b8ecf28e22b24cf220bbae8042ca3c2d16c7e080)

16 years agoDEVEL15-darwin-access-avoid-confusing-cp-20071015
Derrick Brashear [Mon, 15 Oct 2007 20:20:43 +0000]
DEVEL15-darwin-access-avoid-confusing-cp-20071015

FIXES 69363

it wants EPERM; EACCES, and it just retries forever.

"no means no. now go away"

(cherry picked from commit 38719a218c44dd78300afe179bf051e3fbd08e0f)

16 years agoDEVEL15-darwin-install-fstrace-catalog-20071015
Derrick Brashear [Mon, 15 Oct 2007 18:28:57 +0000]
DEVEL15-darwin-install-fstrace-catalog-20071015

fstrace needs the message catalog to be useful. install it.

(cherry picked from commit d66f71cc08fe1d992e4354938a8968cae03d1ce0)

16 years agoDEVEL15-redhat-spec-no-kdump-really-20071015
Derrick Brashear [Mon, 15 Oct 2007 18:01:58 +0000]
DEVEL15-redhat-spec-no-kdump-really-20071015

make really, really sure it's not there

(cherry picked from commit 38a653ea0d4d3ba8307f50c1ba6637b10d90d176)

16 years agoDEVEL15-volser-return-extended-stats-to-callers-20071015
Rainer Toebbicke [Mon, 15 Oct 2007 15:15:56 +0000]
DEVEL15-volser-return-extended-stats-to-callers-20071015

FIXES 74398

make sure when we roll over stats we return the new values

(cherry picked from commit 14e71a12b6da596880debc21c224b94c33a5b6f2)

16 years agoDEVEL15-windows-release-notes-20071014
Jeffrey Altman [Mon, 15 Oct 2007 04:23:00 +0000]
DEVEL15-windows-release-notes-20071014

updates for 1.5.26

16 years agoDEVEL15-windows-clean-eventlog-20071014
Jeffrey Altman [Mon, 15 Oct 2007 04:19:52 +0000]
DEVEL15-windows-clean-eventlog-20071014

delete AFS_component_version_number.h in the lang subdirectory

(cherry picked from commit 707c164a6fb30dad05333c7346cc7d3970270445)

16 years agoDEVEL15-windows-pioctl-two-20071014
Jeffrey Altman [Mon, 15 Oct 2007 03:33:57 +0000]
DEVEL15-windows-pioctl-two-20071014

Two more locations where an intermediary path of length zero should
be ignored.

(cherry picked from commit 8a50a53fdf1ec2374bb5b68cfa42b6a3aa3ee84c)

16 years agoDEVEL15-windows-pioctl-20071014
Jeffrey Altman [Sun, 14 Oct 2007 06:55:07 +0000]
DEVEL15-windows-pioctl-20071014

do not parse an intermediary path if the path length is 0

(cherry picked from commit 7504c664028a3df8bbf5ba682c8b39a8fc05aae2)

16 years agoDEVEL15-rpm-kmodule-patch-20071012
Derek Atkins [Fri, 12 Oct 2007 05:30:41 +0000]
DEVEL15-rpm-kmodule-patch-20071012

install the openafs module in the kernel module area, in rpms

(cherry picked from commit b6cfa8d6c8e193edafc607a34e338cc62c386a51)

16 years agoDEVEL15-gcc42-integer-overflow-fix-20071007
Marc Dionne [Thu, 11 Oct 2007 18:46:37 +0000]
DEVEL15-gcc42-integer-overflow-fix-20071007

fix issue where gcc 4.2 compiled kernel modules were breaking on linux

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

with fix from Hans-Werner Pulsen

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

with fix from Hans-Werner Pulsen

(cherry picked from commit 7832148ae0e8c9f17a2ac2eb879c7b2fdf69403e)

16 years agoDEVEL15-macos-version-generation-20071011
Derrick Brashear [Thu, 11 Oct 2007 18:27:35 +0000]
DEVEL15-macos-version-generation-20071011

make release time simpler

(cherry picked from commit e1b1f4655f537427369c996b22816b0e5426da82)

16 years agoDEVEL15-rpm-files-update-20071011
Simon Wilkinson [Thu, 11 Oct 2007 17:40:39 +0000]
DEVEL15-rpm-files-update-20071011

updates for the specfile and rpm generation

(cherry picked from commit c4ad02b69aae927f1444f7386c040d48ee7abc17)

16 years agoDEVEL15-windows-freelance-pioctl-two-20071010
Jeffrey Altman [Wed, 10 Oct 2007 19:52:04 +0000]
DEVEL15-windows-freelance-pioctl-two-20071010

explicitly process the last component of the path separately and do not
follow symlinks or chase mountpoints on the last component.

(cherry picked from commit 4a80289db728d5a4c41144fd7ef8a567f30263d2)

16 years agoDEVEL15-darwin90-disk-cache-20071010
Derrick Brashear [Wed, 10 Oct 2007 18:40:30 +0000]
DEVEL15-darwin90-disk-cache-20071010

FIXES 43303

support disk cache in darwin90

(cherry picked from commit 63e1761b992e25fa305e6d621b31bd1113f5cbe7)

16 years agoDEVEL15-windows-build-xstat-20071010
Jeffrey Altman [Wed, 10 Oct 2007 17:06:30 +0000]
DEVEL15-windows-build-xstat-20071010

build xstat directory

(cherry picked from commit b7030276f7f3a2df538e40b842f04219b23b2ee4)

16 years agoDEVEL15-windows-clean-eventlog-20071010
Jeffrey Altman [Wed, 10 Oct 2007 16:44:53 +0000]
DEVEL15-windows-clean-eventlog-20071010

clean eventlog/lang/AFS_component_version_number.h

(cherry picked from commit 9991a731e01426909fed050c1e292bb8a859978c)

16 years agoDEVEL15-windows-installer-wix-20071010
Jeffrey Altman [Wed, 10 Oct 2007 16:38:25 +0000]
DEVEL15-windows-installer-wix-20071010

Later versions of the wix toolset require that all variables be defined
with a value.

(cherry picked from commit 58627b15ebae4ecd6e574d11e1848fab53ffc2d1)

16 years agoDEVEL15-windows-freelance-pioctl-20071010
Jeffrey Altman [Wed, 10 Oct 2007 16:22:14 +0000]
DEVEL15-windows-freelance-pioctl-20071010

pioctl commands were failing with CM_ERROR_NOSUCHCELL because the
Freelance cell object was not being added to the Cell Name and ID
hash tables.

ParseIoctlPath was not consistently returning the FID of the specified
symlink or mount point object.  The was still one more case in which
CM_FLAG_FOLLOW was being specified left over from
windows-parse-ioctl-path-20070629.  Changed the use of CM_FLAG_FOLLOW
into a 'follow' variable to ease testing and permit easy migration to
adding a 'follow' parameter to the function.

RXAFS_GetVolumeStatus is always going to fail for Freelance volumes.
Fake the response data.

UpdateVolume() was performing the wrong test for Freelance volumes.
Freelance volumes should not be marked offline even though they have
no servers.

(cherry picked from commit fae48bb39bbcb2366bc4087d7a67126c9d21c525)

16 years agoDEVEL15-darwin90-debug-harder-20071009
Derrick Brashear [Tue, 9 Oct 2007 22:30:02 +0000]
DEVEL15-darwin90-debug-harder-20071009

stab the stabs

(cherry picked from commit 604838e7d43f4cd65d4eb70208bea57db2e93026)

16 years agoDEVEL15-darwin90-dsym-and-ppc-cputype-support-20071009
Derrick Brashear [Tue, 9 Oct 2007 17:00:36 +0000]
DEVEL15-darwin90-dsym-and-ppc-cputype-support-20071009

build for all ppc cputypes. also, support dsym debug info instead of stabs, when appropriate

(cherry picked from commit b4b2b74d145140fb785170dfbab5ca50ef24f045)

16 years agoDEVEL15-sol10-abstraction-20071005
Derrick Brashear [Fri, 5 Oct 2007 23:18:35 +0000]
DEVEL15-sol10-abstraction-20071005

abstract things as needed

(cherry picked from commit e4adbbc79b016b3fa4e83ad0e261a4c47aad55a5)

16 years agoDEVEL15-dafs-listen-after-restoring-state-20071004
Tom Keiser [Fri, 5 Oct 2007 04:31:51 +0000]
DEVEL15-dafs-listen-after-restoring-state-20071004

don't start rx server until the previous state has been loaded

(cherry picked from commit f6e59be4dc203f4662d723ab42ed7f07c3367678)

16 years agoDEVEL15-vol-salvager-avoid-logging-to-nothing-20071004
Derrick Brashear [Fri, 5 Oct 2007 04:23:52 +0000]
DEVEL15-vol-salvager-avoid-logging-to-nothing-20071004

check for logFile before using

(cherry picked from commit 409a3457033c4fe00074f22def3b29f630367dad)

16 years agoDEVEL15-linux-2623-support-20071004
Marc Dionne [Fri, 5 Oct 2007 04:09:55 +0000]
DEVEL15-linux-2623-support-20071004

FIXES 70773

update for support for 2.6.23

(cherry picked from commit 127cebfacdaf84292fc1ecfd64c0e8d259aba474)

16 years agoDEVEL15-solaris10-network-updates-20071004
Dale Ghent [Fri, 5 Oct 2007 03:24:34 +0000]
DEVEL15-solaris10-network-updates-20071004

FIXES 72759

This patch removes use of the non-Public ILL structures by OpenAFS to
gather network interface information in order to make RX packet size
and server locality decisions.

(cherry picked from commit 4ac01ec1ed2ce588185c055acfa3d73095a5b444)

16 years agoDEVEL15-windows-btree-rename-case-only-20071004
Jeffrey Altman [Thu, 4 Oct 2007 15:13:10 +0000]
DEVEL15-windows-btree-rename-case-only-20071004

Attempts to rename by case only would fail when there are more than
one ambiguous matches.  The list of data nodes would be corrupted
and future tree manipulations could result in a crash.

(cherry picked from commit 3c216378cba651dcb6519d7e615be37b534b56c8)

16 years agoDEVEL15-libadmin-minimize-dns-lookups-20071003
Jeffrey Altman [Wed, 3 Oct 2007 16:29:28 +0000]
DEVEL15-libadmin-minimize-dns-lookups-20071003

Some cells have a large number of servers listed in the vldb that
no longer exist and/or do not have PTR records in DNS.  The algorithm
used to obtain the "server names" from IP addresses involves opening
a cell handle, creating an iterator of all servers, and then iterating
over them until a match is found for the IP address.  This is done for
every server reference.  Each time the iterator was constructed the
vldb would be queried and gethostbyaddr() would be called on every listed
ip address.

This patch stores a copy of the server list in the cell handle along with
an expiration time generated from a 10 minute TTL.  This significant
reduces but does not eliminate the number of times that the caller is
blocked on reverse dns lookups.

(cherry picked from commit a7abca15b09561a0d9fda11c0cb99c9edd535d1d)

16 years agoDEVEL15-windows-tviced-resfile-20071003
Jeffrey Altman [Wed, 3 Oct 2007 16:19:06 +0000]
DEVEL15-windows-tviced-resfile-20071003

Add explicit build rules for TVICEDRES since we do not
build the non-threaded file server on Windows

(cherry picked from commit a4b995b61811ccfbe0586ad8ab3c096cf817d9b7)

16 years agoDEVEL15-dafs-cbstate-tracking-fix-20071001
Tom Keiser [Tue, 2 Oct 2007 01:16:00 +0000]
DEVEL15-dafs-cbstate-tracking-fix-20071001

fix this the rest of the places it happens

(cherry picked from commit 6cc29578b0a7d3ba06003070dce7e1df6cfeb327)

16 years agoDEVEL15-windows-lanahelper-20071001
Jeffrey Altman [Mon, 1 Oct 2007 21:03:44 +0000]
DEVEL15-windows-lanahelper-20071001

uninitialized variable in lana_IsLoopback

(cherry picked from commit 7890ce9eade282398c06c00166b43e7d23151944)

16 years agoDEVEL15-vollistpart-init-error-20070927
Dan Hyde [Fri, 28 Sep 2007 00:17:21 +0000]
DEVEL15-vollistpart-init-error-20070927

FIXES 72144

correct an initialization failure in VolListPartitions

(cherry picked from commit aecaddba376c5e2f15a7cb52f1777b07546695d4)

16 years agoDEVEL15-dafs-avoid-volhdr-leak-20070927
Tom Keiser [Thu, 27 Sep 2007 17:32:12 +0000]
DEVEL15-dafs-avoid-volhdr-leak-20070927

when there's an error don't leak the loaded header; release it

(cherry picked from commit 29d5a11a1fad9d93baab18409faed02547df5a63)

16 years agoDEVEL15-readme-nt-20070920
Jeffrey Altman [Thu, 20 Sep 2007 12:58:10 +0000]
DEVEL15-readme-nt-20070920

update wix and nsis instructions

(cherry picked from commit 0ef8174a29d8963eee46b9deddc9cc465925ae88)

16 years agoDEVEL15-windows-version-info-20070920
Jeffrey Altman [Thu, 20 Sep 2007 12:46:07 +0000]
DEVEL15-windows-version-info-20070920

add version info to the threaded version of butc.exe that we ship

(cherry picked from commit c984f03a9185e5b1b69e182ad891caa83541d08c)

16 years agoDEVEL15-krb5-aklog-kimpersonate-conditionalize-20070920 openafs-devel-1_5_25
Derrick Brashear [Thu, 20 Sep 2007 05:53:31 +0000]
DEVEL15-krb5-aklog-kimpersonate-conditionalize-20070920

make kimpersonate conitional

(cherry picked from commit a0fa3b559836d134c44eae20cbd6d7d1d04a0d10)

16 years agoDEVEL15-openafs-1-5-25-20070920
Derrick Brashear [Thu, 20 Sep 2007 05:14:04 +0000]
DEVEL15-openafs-1-5-25-20070920

make openafs 1.5.25

16 years agoDEVEL15-dafs-loadvolumeheader-before-we-need-it-20070920
Derrick Brashear [Thu, 20 Sep 2007 05:09:45 +0000]
DEVEL15-dafs-loadvolumeheader-before-we-need-it-20070920

make sure we have a header instead of potentially dereffing null

(cherry picked from commit 1aad009863a20306faae2996523a7a4c5efab18b)

16 years agoDEVEL15-windows-notes-20070919
Jeffrey Altman [Thu, 20 Sep 2007 05:01:40 +0000]
DEVEL15-windows-notes-20070919

changes for 1.5.25

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

final changes for 1.5.25

16 years agoDEVEL15-windows-version-20070919
Jeffrey Altman [Thu, 20 Sep 2007 04:59:48 +0000]
DEVEL15-windows-version-20070919

1.5.25 = 1.5.2500.0

16 years agoDEVEL15-windows-fs-memdump-20070919
Jeffrey Altman [Thu, 20 Sep 2007 04:55:42 +0000]
DEVEL15-windows-fs-memdump-20070919

add directory lookup stats to "fs memdump" output

(cherry picked from commit 87d87d33ea0b38cfa11ded288e6c24a1db7f13b1)

16 years agoDEVEL15-windows-hex-dump-20070919
Jeffrey Altman [Wed, 19 Sep 2007 22:29:29 +0000]
DEVEL15-windows-hex-dump-20070919

remove the broken percent quoting from OutputDebugHexDump as it is
not required.  We never use the resulting string as a print format string.

(cherry picked from commit a186b0d65c00a338995ad1f6379ef232742ab224)

16 years agoDEVEL15-windows-version-info-20070919
Jeffrey Altman [Wed, 19 Sep 2007 18:58:45 +0000]
DEVEL15-windows-version-info-20070919

FIXES 71397

Many of the OpenAFS binaries that are installed on end user machines
did not have version information.  This is problematic as it is impossible
to determine which version of a binary the crash report was filed against
when a report is received by Microsoft Windows Error Reporting service.

(cherry picked from commit feab12b929564a27a77bb84278291493003b605f)

16 years agoDEVEL15-windows-release-notes-20070919
Jeffrey Altman [Wed, 19 Sep 2007 06:53:46 +0000]
DEVEL15-windows-release-notes-20070919

updates for 1.5.25

16 years agoDEVEL15-windows-vnovnode-while-file-in-use-20070918
Jeffrey Altman [Tue, 18 Sep 2007 17:59:23 +0000]
DEVEL15-windows-vnovnode-while-file-in-use-20070918

Discovered another case where VNOVNODE errors were not being handled.
If there are dirty buffers and a VNOVNODE error is received while
writing the buffer, the buffer would be left in the dirty buffers queue.
This caused a couple problems:
(1) any attempt to flush the file, volume, or cache would fail because
    there were unflushed dirty buffers that could not be flushed.
(2) shutdown of the service would hang because the buffers could not
    be flushed.

In addition, while a VNOVNODE error would result in the cm_scache_t
being marked CM_SCACHEFLAG_DELETED, this state was not being checked
at the SMB layer.  As a result, if a smb_fid_t was allocated and it
referenced the deleted cm_scache_t, the SMB operations would continue
to be processed and report success even if the actual file or directory
no longer existed.

We now clear the dirty state on buffers which cannot be written due to
VNOVNODE errors.  We also check the cm_scache_t for deletion prior to
use whenever a smb_fid_t is looked up.  If the cm_scache_t is deleted,
the smb_fid_t is closed and the error CM_ERROR_NOSUCHFILE is returned
for files or CM_ERROR_NOSUCHPATH for directories.

(cherry picked from commit b8abf04a45a82cc880d2ad59d3bbf2217fa08c11)

16 years agoDEVEL15-windows-afs-config-vista-uac-vs2005-20070918
Jeffrey Altman [Tue, 18 Sep 2007 07:36:59 +0000]
DEVEL15-windows-afs-config-vista-uac-vs2005-20070918

merge the manifests for vs 2005

(cherry picked from commit a47f4bacd8b091a7917ffefe405a6f0f036499d9)

16 years agoDEVEL15-windows-afs-config-vista-uac-20070918
Jeffrey Altman [Tue, 18 Sep 2007 07:14:23 +0000]
DEVEL15-windows-afs-config-vista-uac-20070918

Mark afs_config.exe via a manifest with
requestedExecutionLevel = HighestAvailable

This will ensure that when Vista UAC is active, that a member of the
Administrators group must run the AFS Control Panel with Administrators
privileges.

(cherry picked from commit 9bf29bbe1e0f8eabe4586dc3bdb5afceb2c19c30)

16 years agoDEVEL15-windows-cl1310-manifests-20070918
Jeffrey Altman [Tue, 18 Sep 2007 07:08:29 +0000]
DEVEL15-windows-cl1310-manifests-20070918

add support for manifests to .NET 2003 builds

(cherry picked from commit 8ba598cd84988f049535b3f9ded3bafa3cfde4ff)

16 years agoDEVEL15-windows-nsis-20070918
Jeffrey Altman [Tue, 18 Sep 2007 07:05:28 +0000]
DEVEL15-windows-nsis-20070918

fix error in NTMakefile that used the CL_1310 configuration for the
VS 2005 compiler

force RequestExecutionLevel to admin for Vista

(cherry picked from commit eae26ab6b2b618d55ffbd2498e37a53fddf59ed7)

16 years agoDEVEL15-windows-down-servers-20070913
Jeffrey Altman [Thu, 13 Sep 2007 18:59:21 +0000]
DEVEL15-windows-down-servers-20070913

Do not assign a new downTime to a server that is already down.
Doing so breaks the logic to preserve callback validity until the
server comes back up.

(cherry picked from commit 70fa2d2499fbe687e55559fd6d154601645734d6)

16 years agoDEVEL15-windows-afsmaxpath-20070912
Jeffrey Altman [Thu, 13 Sep 2007 02:41:44 +0000]
DEVEL15-windows-afsmaxpath-20070912

ensure that all path stack buffers are of size AFSMAXPATH

(cherry picked from commit b06335911bb203b74ab7129266680d8d2b97739b)

16 years agoDEVEL15-dafs-shutdown-state-fix-20070912
Jeffrey Hutzelman [Wed, 12 Sep 2007 19:27:29 +0000]
DEVEL15-dafs-shutdown-state-fix-20070912

clean up the dafs shutdown code to not read bogus info into the id

(cherry picked from commit f15a9a2788a2de589adda1a990a34d36851c4978)

16 years agoDEVEL15-aklog-kimpersonate-20070912
Derrick Brashear [Wed, 12 Sep 2007 19:16:18 +0000]
DEVEL15-aklog-kimpersonate-20070912

inline kimpersonate support, to make testing easier.

(cherry picked from commit a6d7cacfdca82815af2cc0fda570340802a73dc3)

16 years agoDEVEL15-windows-dir-bplus-shortnames-20070912
Jeffrey Altman [Wed, 12 Sep 2007 18:29:44 +0000]
DEVEL15-windows-dir-bplus-shortnames-20070912

When a file name does not conform to 8.3 notation, an 8.3 notation
alias is generated for it.  This short name form must be searchable
in the B+ tree.

This commit adds a longname field to the data node which is used both
to identify the real name associated with the short name as well as
whether or not the short name is in fact an alias.   Being able to
determine whether or not a data node is an alias will be important
when we support using the B+ tree for directory enumeration.

For insertion, if the name does not conform to 8.3 notation, a second
entry is inserted into the B+ tree using the shortname as the key and
the longname stored in the data.

For deletion, we lookup the data node for the provided key.  If there
is a longname we remove the longname entry first and then the shortname
entry.  If the key is a longname, we lookup the data node so we can
acquire the FID and then use that to compute the shortname.  We then
remove both the shortname and longname entries from the B+ tree.

(cherry picked from commit 5647c133e938a7985365163ccac722119660e97f)

16 years agoDEVEL15-windows-getcell-deadlock-20070911
Jeffrey Altman [Tue, 11 Sep 2007 17:13:18 +0000]
DEVEL15-windows-getcell-deadlock-20070911

don't hold the cm_scache_t mutex across calls to cm_GetCell() since
cm_GetCell() can block in an RPC call.  If that cm_scache_t must be
accessed to revoke a callback, it can result in a deadlock.

(cherry picked from commit 40090977d270f6113cca4925b9564f57c4917f35)

16 years agoDEVEL15-namei-protect-against-extra-files-20070911
Chaskiel M Grundman [Tue, 11 Sep 2007 16:38:38 +0000]
DEVEL15-namei-protect-against-extra-files-20070911

if someone is monkeying in the filesystem, sometimes they shoot themselves. save them if they renamed foo to foo.bak (where foo is a full 64 bits)

(cherry picked from commit c22f945bb783ba003c12ce73574568a9c4b80304)