openafs.git
14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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

14 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)

14 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

14 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

14 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)

14 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)

14 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)

14 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

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 years agoDEVEL15-windows-prefetch-executables-20070911
Jeffrey Altman [Tue, 11 Sep 2007 06:04:10 +0000]
DEVEL15-windows-prefetch-executables-20070911

avoid prefetch race condition in CreateX functions

do not permit reference underflow when ending background prefetch ops

(cherry picked from commit bf6c13352abf39e53e723e60aae11d6e246c0cfd)

14 years agoDEVEL15-namei-fsync-less-20070910
Derrick Brashear [Mon, 10 Sep 2007 22:59:14 +0000]
DEVEL15-namei-fsync-less-20070910

remove sync() call from Windows build

(cherry picked from commit 049c95d74cab7ba99b99f9634a32f38058c86fb1)

14 years agoDEVEL15-windows-prefetch-executables-20070910
Jeffrey Altman [Mon, 10 Sep 2007 20:08:17 +0000]
DEVEL15-windows-prefetch-executables-20070910

This code defines a new service parameter "PrefetchExecutableExtensions"
of type REG_MULTI_SZ.  By default it is undefined and does nothing.  If
it is defined, files that match the extensions will be prefetched in
their entirety.

All of the prefetch functions now pay attention to the length parameters.
Previously, length parameters were specified on some functions in the
chain but they were ignored.  The reality was that the chunksize was
used regardless of what was indicated.

Prefetching is still optional.  If the prefetch fails during the initial
attempt you lose.  Otherwise, as many buffers as are required to satisfy
the requested prefetch length will be requested from the file server in
chunksize units.  If buffers have already been acquired, they are skipped
during the prefetch operation.

(cherry picked from commit 3b7188b326292c8161048108b2355c4acdc44f30)

14 years agoDEVEL15-windows-largeinteger-20070910
Jeffrey Altman [Mon, 10 Sep 2007 20:02:39 +0000]
DEVEL15-windows-largeinteger-20070910

Fix the function type so that assignment of return values are
properly applied.

Add missing comparison routines.

(cherry picked from commit 22da0dd5f8025d8e842229290e3e07207483ce1a)

14 years agoDEVEL15-windows-callbacks-20070909
Jeffrey Altman [Mon, 10 Sep 2007 05:55:01 +0000]
DEVEL15-windows-callbacks-20070909

when suspending only clear callbacks for servers that are in an up state.
if they were in a down state, then we couldn't send the clear callbacks
message but more importantly, we need to leave the callback info current
because the callbacks should not be cleared until the server is once again
reachable.

(cherry picked from commit 7a6e406b803115176b9d8d2c235f5c729631103f)

14 years agoDEVEL15-windows-readme-nt-20070909
Jeffrey Altman [Mon, 10 Sep 2007 05:13:28 +0000]
DEVEL15-windows-readme-nt-20070909

update NSIS version to 2.30

(cherry picked from commit 4914e45f26d88f9087a055721020bec9444c731f)

14 years agoDEVEL15-windows-wix-20070909
Jeffrey Altman [Mon, 10 Sep 2007 04:34:58 +0000]
DEVEL15-windows-wix-20070909

make the service display name consistent with the NSIS installer.

(cherry picked from commit 36414528add4f7e30147e19ef9777478ca9f60ef)

14 years agoDEVEL15-windows-nsis-20070909
Jeffrey Altman [Mon, 10 Sep 2007 04:32:20 +0000]
DEVEL15-windows-nsis-20070909

do not link object files twice

(cherry picked from commit 4913dd6b78d8715bf33af230573e883c6abdabf9)

14 years agoDEVEL15-namei-fsync-less-20070907
Rainer Toebbicke [Fri, 7 Sep 2007 05:03:49 +0000]
DEVEL15-namei-fsync-less-20070907

FIXES 30632

we call fsync() too much. call it less, and fsync in the background

(cherry picked from commit dbbd59495bcda2a93d640f8cf5adf0b587f4591b)

14 years agoDEVEL15-consolidate-cellservdb-20070905
Derrick Brashear [Wed, 5 Sep 2007 22:52:39 +0000]
DEVEL15-consolidate-cellservdb-20070905

step 1. one place.
step 2 is coming: fix the scripts to update it when we do a release

(cherry picked from commit b3e385fc1093818c59d7f46477bb723132fcfd93)

14 years agoDEVEL15-dafs-savestatefe-avoid-overflow-20070902
Jeffrey Hutzelman [Mon, 3 Sep 2007 05:00:21 +0000]
DEVEL15-dafs-savestatefe-avoid-overflow-20070902

The problem is that cb_stateSaveFE() overflows an iovec array
on its stack. When it returns, the PC is loaded with garbage and the
process crashes.

(cherry picked from commit edaa34d3a0ea74bffd886ec40e1c13af7c38a4af)

14 years agoDEVEL15-windows-64bit-ms2mit-20070902
Jeffrey Altman [Sun, 2 Sep 2007 17:37:43 +0000]
DEVEL15-windows-64bit-ms2mit-20070902

add ms2mit support for 64-bit windows

(cherry picked from commit a8eddfb0f57ba390d5941608a4689dba8f7f0c0b)

14 years agoDEVEL15-windows-win64-kfw-20070902
Jeffrey Altman [Sun, 2 Sep 2007 17:22:15 +0000]
DEVEL15-windows-win64-kfw-20070902

leashw32.dll has been ported to win64 as leashw64.dll

(cherry picked from commit 6270294d49bb1d55630a1a98a8a948ec3b585597)

14 years agoDEVEL15-windows-version-20070831
Jeffrey Altman [Fri, 31 Aug 2007 20:28:28 +0000]
DEVEL15-windows-version-20070831

1.5.24a == 1.5.2401.0

14 years agoDEVEL15-dafs-commit-updatelist-change-20070831
Jeffrey Altman [Fri, 31 Aug 2007 15:32:15 +0000]
DEVEL15-dafs-commit-updatelist-change-20070831

actually save the changed value

(cherry picked from commit 8056e9347ac139263cdc4b051ec7763d80c11214)

14 years agoDEVEL15-windows-afscreds-win64-20070830
Jeffrey Altman [Fri, 31 Aug 2007 05:03:08 +0000]
DEVEL15-windows-afscreds-win64-20070830

disable krb4 and ms2mit for win64

(cherry picked from commit cd7ac781bc7fcc301af837f4fc2b2d3629fb1095)

14 years agoDEVEL15-windows-afsd-dirop-20070830
Jeffrey Altman [Fri, 31 Aug 2007 03:56:59 +0000]
DEVEL15-windows-afsd-dirop-20070830

Do not attempt to obtain a write lock on a directory
if we already know that we aren't going to perform any
local directory updates.

Add the CM_ERROR_BPLUS_NOMATCH error which has the same
meaning as CM_ERROR_NOSUCHFILE except that it indicates
that we came to that conclusion as the result of a bplus
search.  This provides us the ability to short circuit
additional directory searches since we know the answer
is final.

(cherry picked from commit 084ade0a987589593e2066394f35ebd98ee2137f)

14 years agoDEVEL15-windows-wix-20070830
Asanka Herath [Fri, 31 Aug 2007 03:27:38 +0000]
DEVEL15-windows-wix-20070830

permit instloop.exe to be extraced to Client/Programs/instloop.exe
from the installer by using "msiexec /a".

(cherry picked from commit d8db0aa8eb313cd6727e392e42fa3ba78a169054)

14 years agoDEVEL15-windows-64bit-afskfw-20070829
Jeffrey Altman [Wed, 29 Aug 2007 22:53:36 +0000]
DEVEL15-windows-64bit-afskfw-20070829

Disable the use of krb524, leash, and ms2mit (because it depends on leash)
for 64-bit builds.  We will need to implement our own replacement for the
ms2mit functionality.

(cherry picked from commit ad8a1cc2162aa484b9ec0f335c91d4d84dd12aad)

14 years agoDEVEL15-windows-wix-64bit-aklog-20070829
Jeffrey Altman [Wed, 29 Aug 2007 07:55:08 +0000]
DEVEL15-windows-wix-64bit-aklog-20070829

enable the installation of aklog.exe and asetkey.exe on 64-bit
windows.

(cherry picked from commit 0d81b9662e75a36a76b2b708499b101abb9b3bb5)

14 years agoDEVEL15-windows-64bit-aklog-no-krb4-20070829
Jeffrey Altman [Wed, 29 Aug 2007 07:46:18 +0000]
DEVEL15-windows-64bit-aklog-no-krb4-20070829

disable krb4 and krb524 functionality in 64-bit aklog because there is
no support in 64-bit kfw.

(cherry picked from commit d62316facd903af07303845686cfdbb05fc7551a)

14 years agoDEVEL15-windows-nim-afs-file-ccache-20070829
Jeffrey Altman [Wed, 29 Aug 2007 06:32:34 +0000]
DEVEL15-windows-nim-afs-file-ccache-20070829

make the afs network identity provider compatible with FILE:
credential caches.  this is mostly of importance to 64-bit
Windows users since there is no CCAPI implementation for
64-bit KFW.

(cherry picked from commit 20914ba284846d59c09dd4849d0305e07f939f02)

14 years agoDEVEL15-openafs-1-5-24-20070829 openafs-devel-1_5_24
Derrick Brashear [Wed, 29 Aug 2007 05:08:38 +0000]
DEVEL15-openafs-1-5-24-20070829

1.5.24

14 years agoDEVEL15-windows-64bit-nim-no-krb524-20070828
Jeffrey Altman [Tue, 28 Aug 2007 22:24:21 +0000]
DEVEL15-windows-64bit-nim-no-krb524-20070828

do not load krb524.dll on 64-bit windows

(cherry picked from commit cad4d1137b60c72b108fa97c266115d5dc7dc370)

14 years agoDEVEL15-windows-notes-20070828
Jeffrey Altman [Tue, 28 Aug 2007 18:56:48 +0000]
DEVEL15-windows-notes-20070828

1.5.24

14 years agoDEVEL15-windows-version-20070828
Jeffrey Altman [Tue, 28 Aug 2007 18:53:59 +0000]
DEVEL15-windows-version-20070828

1.5.24 = 1.5.2400.0

14 years agoDEVEL15-windows-release-notes-20070828
Jeffrey Altman [Tue, 28 Aug 2007 18:52:01 +0000]
DEVEL15-windows-release-notes-20070828

1.5.24

14 years agoDEVEL15-windows-bplus-disable-20070828
Jeffrey Altman [Tue, 28 Aug 2007 18:50:06 +0000]
DEVEL15-windows-bplus-disable-20070828

In preparation for 1.5.24, disable B+tree support by default.
It can be enabled with the "BPlusTrees" registry parameter.

(cherry picked from commit 1c264430ff8efa1afe7a61162d12cd499d6d30ee)

14 years agoDEVEL15-windows-wix-amd64-nim-provider-20070828
Jeffrey Altman [Tue, 28 Aug 2007 18:31:09 +0000]
DEVEL15-windows-wix-amd64-nim-provider-20070828

Add network identity manager afs provider for amd64

(cherry picked from commit 43d5267be5c2649110b160d82cf12bed4a60742a)

14 years agoDEVEL15-windows-amd64-20070828
Jeffrey Altman [Tue, 28 Aug 2007 18:02:34 +0000]
DEVEL15-windows-amd64-20070828

add amd64 build dependencies

(cherry picked from commit 822ad3eb72cca27b7d90f628186290d96c06756d)

14 years agoDEVEL15-windows-nim-amd64-20070828
Jeffrey Altman [Tue, 28 Aug 2007 17:54:46 +0000]
DEVEL15-windows-nim-amd64-20070828

Add support for 64-bit Windows.

(cherry picked from commit 3eb4ef6301b055135d6420dbf5a6f0e1560f89a8)

14 years agoDEVEL15-windows-bplus-20070826
Jeffrey Altman [Mon, 27 Aug 2007 01:11:43 +0000]
DEVEL15-windows-bplus-20070826

add more DEBUG_BTREE debugging code

in placeEntry() protect against slot equal to zero

fix compareKeys() to only return -1, 0, or 1.

(cherry picked from commit ac7471cc333bf1676ac0467f6b01995b293fac3c)

14 years agoDEVEL15-windows-recursion-fix-20070826
Jeffrey Altman [Mon, 27 Aug 2007 01:05:24 +0000]
DEVEL15-windows-recursion-fix-20070826

protect against a null pointer dereference

(cherry picked from commit cd0a515e9f68604ab0fef15a9b7110402d2bc8a9)

14 years agoDEVEL15-windows-bplus-tree-20070825
Jeffrey Altman [Sat, 25 Aug 2007 17:56:25 +0000]
DEVEL15-windows-bplus-tree-20070825

== ! =

fix the return code in cm_Rename()

(cherry picked from commit 8f9b810bf0fd2d47d6ff074d816f2b66db1ae1f6)

14 years agoDEVEL15-windows-bplus-tree-20070823
Jeffrey Altman [Fri, 24 Aug 2007 04:21:49 +0000]
DEVEL15-windows-bplus-tree-20070823

Windows uses case-insensitive file name pattern matching
but AFS is a case sensitive file system.  The AFS3 directory
format is block based, uses network byte order and
includes a hash table for fast case sensitive lookups.
This causes several problems for the Windows AFS client.
(1) Traversing the directory blocks is cpu expensive
(2) A hash table miss does not indicate that the desired
    entry does not exist.
(3) Determining whether a non-ambiguous inexact match or
    the entry does not exist requires a linear traversal
    of the entire directory.
These issues often result in 100% CPU utilization.

These issues are addressed by building a modified B+ tree for
each directory and then using the B+ tree for searches.

Further improvements can be made by using the B+ tree leaf
nodes for directory enumeration.

(cherry picked from commit c8bf408ced50cf9fba1595ec94368e4060223d89)

14 years agoDEVEL15-windows-recursion-fix-20070823 openafs-devel-1_5_23
Jeffrey Altman [Thu, 23 Aug 2007 21:43:08 +0000]
DEVEL15-windows-recursion-fix-20070823

for . and .. find the last time we saw the fid in the list
instead of moving back a fixed count since the parent might
be a symlink or a mount point or both

(cherry picked from commit e5ec3ad4fc7009fec4a0760738a6b23c250d5d83)

14 years agoDEVEL15-openafs-1-5-23-20070823
Derrick Brashear [Thu, 23 Aug 2007 19:56:23 +0000]
DEVEL15-openafs-1-5-23-20070823

make 1.5.23

14 years agoDEVEL15-windows-notes-20070823
Jeffrey Altman [Thu, 23 Aug 2007 18:23:11 +0000]
DEVEL15-windows-notes-20070823

1.5.23

14 years agoDEVEL15-windows-version-20070823
Jeffrey Altman [Thu, 23 Aug 2007 18:15:19 +0000]
DEVEL15-windows-version-20070823

1.5.23 == 1.5.2300.0

14 years agoDEVEL15-windows-release-notes-20070823
Jeffrey Altman [Thu, 23 Aug 2007 18:13:15 +0000]
DEVEL15-windows-release-notes-20070823

1.5.23

14 years agoDEVEL15-windows-makedir-uninitialized-var-20070823
Jeffrey Altman [Thu, 23 Aug 2007 17:52:14 +0000]
DEVEL15-windows-makedir-uninitialized-var-20070823

scp must be initialized to NULL to prevent improper evaluation

(cherry picked from commit c675454e7f6b105d1433663a29ef2a9471f0a173)

14 years agoDEVEL15-windows-volstat-log-20070823
Jeffrey Altman [Thu, 23 Aug 2007 17:49:03 +0000]
DEVEL15-windows-volstat-log-20070823

must save the log string when it comes from a buffer on the stack
otherwise garbage is logged in afsd.log

(cherry picked from commit 985a2e34d60a803c11cce4729b16484847aec97b)

14 years agoDEVEL15-windows-smb-max-path-20070823
Jeffrey Altman [Thu, 23 Aug 2007 17:46:07 +0000]
DEVEL15-windows-smb-max-path-20070823

the actual max path is 260 not 256

(cherry picked from commit 1727d4928fa71c82d95e0bbd8d5db10baa795f97)

14 years agoDEVEL15-checkhost-use-reentrant-list-traversal-20070823
Derrick Brashear [Thu, 23 Aug 2007 17:30:30 +0000]
DEVEL15-checkhost-use-reentrant-list-traversal-20070823

rather than making a copy of the whole hostlist and holding every host, hold
what we need, the _r (not really reentrant) version.

(cherry picked from commit 5cae22ea3aa2580aaac1b465c024854791d3d8d7)

14 years agoDEVEL15-linux-nfs-pag-handling-20070822
Derrick Brashear [Wed, 22 Aug 2007 20:39:03 +0000]
DEVEL15-linux-nfs-pag-handling-20070822

don't mishandle pag argument when passed in from e.g. knfs

don't make keyring pag for nfs clients

(cherry picked from commit 314b3abaff30fb6a359944f14dca3716b8572547)

14 years agoDEVEL15-windows-fix-recursion-detection-20070822
Jeffrey Altman [Wed, 22 Aug 2007 17:11:07 +0000]
DEVEL15-windows-fix-recursion-detection-20070822

handle symlinks to absolute paths

(cherry picked from commit 10c60218471b1312f4235135aa2e74cd9687a0a4)

14 years agoDEVEL15-windows-newfiles-20070822
Jeffrey Altman [Wed, 22 Aug 2007 17:00:45 +0000]
DEVEL15-windows-newfiles-20070822

add place holders for the B+ tree source files.

(cherry picked from commit d467431115d6db57fe8dd29c2c0308486997a1ad)

14 years agoDEVEL15-linux-module-error-handling-20070821
Derrick Brashear [Wed, 22 Aug 2007 03:17:52 +0000]
DEVEL15-linux-module-error-handling-20070821

be more careful about what we call when, and clean up after ourselves

(cherry picked from commit c31cfea03d95779cf334c7aa0c08067e49dc5d47)

14 years agoDEVEL15-nfstrans-updates-20070821
Derrick Brashear [Wed, 22 Aug 2007 03:13:42 +0000]
DEVEL15-nfstrans-updates-20070821

FIXES 1480

fix the knfs error from the v/c/o pioctl changes

(cherry picked from commit 34bbb13160e0d1fc2155f9fc1a906469d7aa3fde)

14 years agoDEVEL15-linux-modparam-269-updates-20070821
Derrick Brashear [Tue, 21 Aug 2007 22:28:44 +0000]
DEVEL15-linux-modparam-269-updates-20070821

be consistent on 2.6.9 about which MODULE parm family used

(cherry picked from commit 2a9ef007a3271ef2e49af13093d4e30c147c0b31)

14 years agoDEVEL15-windows-afskfw-20070821
Jeffrey Altman [Tue, 21 Aug 2007 09:44:06 +0000]
DEVEL15-windows-afskfw-20070821

return required value that was missing

(cherry picked from commit 8dd2300a788465035ea695d7de81362609d0a5a8)

14 years agoDEVEL15-viced-remove-asserts-20070821
Jeffrey Altman [Tue, 21 Aug 2007 09:30:27 +0000]
DEVEL15-viced-remove-asserts-20070821

remove asserts testing the number of alternate interfaces.

(cherry picked from commit d0f62da48417989040986a0bd6539d9696616229)

14 years agoDEVEL15-tviced-windows-20070820
Jeffrey Altman [Mon, 20 Aug 2007 18:39:08 +0000]
DEVEL15-tviced-windows-20070820

build serialize_state.c

(cherry picked from commit da79b76e7d5807330b0fc3c2b9518b150beba312)

14 years agoDEVEL15-krb4-64bit-tf-kth-or-mit-20070820
Alejandro R. Sedeño [Mon, 20 Aug 2007 18:27:51 +0000]
DEVEL15-krb4-64bit-tf-kth-or-mit-20070820

based on his patch for mit kerberos

(cherry picked from commit 5eff5f4ee8b02d17be64b46f8fb8669a40bf1666)