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

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

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

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

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

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

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

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

16 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

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

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

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

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

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

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

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

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

16 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

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

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

1.5.24

16 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

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

1.5.24

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

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

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

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

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

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

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

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

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

16 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

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

1.5.23

16 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

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

1.5.23

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 years agoDEVEL15-pt_util-man-page-20061005
Marcus Watts [Mon, 20 Aug 2007 06:39:53 +0000]
DEVEL15-pt_util-man-page-20061005

Initial man page for pt_util.

(cherry picked from commit f5e9182848b7c427acc515e7a7ed24afad655416)

16 years agoDEVEL15-windows-fix-recursion-detection-20070819
Jeffrey Altman [Mon, 20 Aug 2007 02:02:03 +0000]
DEVEL15-windows-fix-recursion-detection-20070819

the recursion detection code did not take "." and ".." into account.

(cherry picked from commit 4a9d15a2e4d3e91261dfa1c9fe08f75d88fd166d)

16 years agoDEVEL15-windows-fs_utils-20070819
Jeffrey Altman [Mon, 20 Aug 2007 01:07:59 +0000]
DEVEL15-windows-fs_utils-20070819

update prototype for util_GetInt32 for consistency with src/utils/vosparse.c

(cherry picked from commit d71d37bad8f1ce7fea59d537464d1d82ce8f2508)

16 years agoDEVEL15-no-kseal-20070819
Russ Allbery [Sun, 19 Aug 2007 23:30:38 +0000]
DEVEL15-no-kseal-20070819

Don't build or install kseal by default.  It's a debugging tool with very
limited utility.

(cherry picked from commit a6fe83d9a661743b11ee1eb7cc8f3f46810475da)

16 years agoDEVEL15-man-page-fixes-20070819
Jason Edgecombe [Sun, 19 Aug 2007 23:20:43 +0000]
DEVEL15-man-page-fixes-20070819

More details on how to run check-pod.  Restore the [] markup in the vos
changeloc SYNOPSIS since the flags really are optional.

(cherry picked from commit dfb2961b677299a726be33e63b29476f003d03a7)

16 years agoDEVEL15-ka-forwarder-20060731
Russ Allbery [Sun, 19 Aug 2007 23:15:28 +0000]
DEVEL15-ka-forwarder-20060731

Add ka-forwarder.

(cherry picked from commit cc37bc5ae487dda611d2bf4b383b2d2cfd1ea675)

16 years agoDEVEL15-man-page-pts-pullup-20070817
Jason Edgecombe [Sat, 18 Aug 2007 03:50:20 +0000]
DEVEL15-man-page-pts-pullup-20070817

For some reason, the previous pullup didn't cvs add these files.  Really
pull them up from the trunk.

16 years agoDEVEL15-man-page-vos-changeloc-more-20070817
Jason Edgecombe [Sat, 18 Aug 2007 03:36:20 +0000]
DEVEL15-man-page-vos-changeloc-more-20070817

Mention vos changeloc in the vos man page.  Also include an incidental fix
to pts source's man page.

(cherry picked from commit fb1cc324a498908f823e3c8ceb2b2be29cc785c3)

16 years agoDEVEL15-man-page-vos-changeloc-20070817
Jason Edgecombe [Sat, 18 Aug 2007 03:30:25 +0000]
DEVEL15-man-page-vos-changeloc-20070817

Add a man page for vos changeloc.

(cherry picked from commit dc5adbeaac1548a7649ee81cb87d9eea88021b93)

16 years agoDEVEL15-man-page-fs-updates-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:55:31 +0000]
DEVEL15-man-page-fs-updates-20070817

Add man pages for fs flushall and fs getcalleraccess.

(cherry picked from commit 024442b020043501f14069d762ecefbf7feef59a)

16 years agoDEVEL15-man-page-bos-util-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:50:36 +0000]
DEVEL15-man-page-bos-util-20070817

Add a man page for bos_util.

(cherry picked from commit 815ac3c773d9312f2abf6e7903aa3d723618485a)

16 years agoDEVEL15-man-page-updates-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:46:24 +0000]
DEVEL15-man-page-updates-20070817

Add new man pages for pts interactive, quit, sleep, and source.  Fix POD
errors in a few other man pages and update the to-do list in README.

(cherry picked from commit 87efbab4e8c0dc37c1938503eea88f7f319b7e5d)

16 years agoDEVEL15-man-page-check-pod-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:42:35 +0000]
DEVEL15-man-page-check-pod-20070817

Add check-pod script to test for POD syntax errors.

(cherry picked from commit a8172fca24f91e2b5ab10f66d62d766b7e5d46c1)

16 years agoDEVEL15-aix-dont-use-root-vfs-for-anything-20070815
Derrick Brashear [Thu, 16 Aug 2007 04:52:33 +0000]
DEVEL15-aix-dont-use-root-vfs-for-anything-20070815

the cache may not be in /; we basically never need rootvfs

(cherry picked from commit 25ace7c2c79705a59be4aded829aaf8d1dc003e2)

16 years agoDEVEL15-windows-fs-utils-prototypes-20070813
Jeffrey Altman [Mon, 13 Aug 2007 20:22:02 +0000]
DEVEL15-windows-fs-utils-prototypes-20070813

use ANSI prototypes and function declarations

(cherry picked from commit b20488de08d230125b3110ec51fe753ef514ddb7)

16 years agoDEVEL15-windows-service-manager-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:53:30 +0000]
DEVEL15-windows-service-manager-20070812

provide the windows service manager with shutdown hints in addition
to startup hints

(cherry picked from commit 35f91f1203717f8ab9f00f0914025fc6606e102d)

16 years agoDEVEL15-viced-dafs-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:26:41 +0000]
DEVEL15-viced-dafs-20070812

include viced_prototypes.h

(cherry picked from commit a9e7bedcc91a9cb00b2cb1af80fe273fc70664f6)

16 years agoDEVEL15-windows-remove-is5-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:13:28 +0000]
DEVEL15-windows-remove-is5-20070812

remove last trace of InstallShield5 from build rules

(cherry picked from commit c677b79931efb672a439993f32571c53ce17c56e)

16 years agoDEVEL15-pts-20070811
Jeffrey Altman [Sun, 12 Aug 2007 00:41:37 +0000]
DEVEL15-pts-20070811

remove SUPERGROUPS condition for compilation of pts commands:
  Interactive, Quit, Source, Sleep

fix the assignment of 'source' to permit it to function

rename functions to avoid conflicts with Win32 API on Windows

replace bcopy and bzero with memcpy and memset to permit compilation
on Windows

replace ubik_Call(xxx) with ubik_xxx() (testpt.c)

add -DSUPERGROUPS and map.c to NTMakefile

(cherry picked from commit 58d5f38b10b35ab3712eacde60f2a06fb2f2a062)

16 years agoDEVEL15-windows-adjustable-block-size-20070810
Jeffrey Altman [Fri, 10 Aug 2007 21:39:26 +0000]
DEVEL15-windows-adjustable-block-size-20070810

New registry value "BlockSize" can be used to specify an alternative
block size.  The default is 4K.  A larger blocksize will be needed if
you want to support a 6TB cache.

Also extend the service startup timeout hint to two minutes to give
the AFS client service more time to startup successfully when the
cache is really large.

(cherry picked from commit e7ff4185a5e978798b194f8214056425debc8fbc)

16 years agoDEVEL15-windows-wix-20070810
Jeffrey Altman [Fri, 10 Aug 2007 13:37:59 +0000]
DEVEL15-windows-wix-20070810

add a separate description string for the 32-bit afs shell extension

(cherry picked from commit 7a042f3ce4914079ade3c159a7b541445acf758b)

16 years agoDEVEL15-viced-cleanup-head-20070810 openafs-devel-1_5_22
Derrick Brashear [Fri, 10 Aug 2007 05:13:04 +0000]
DEVEL15-viced-cleanup-head-20070810

fix demand attach rwlock code on macos, fix host tracking code everywhere

only applies to head and 1.5

(cherry picked from commit 493cad12aa00c321ad125118a9bd9b037a651863)

16 years agoDEVEL15-openafs-1-5-22-20070809
Derrick Brashear [Fri, 10 Aug 2007 04:26:53 +0000]
DEVEL15-openafs-1-5-22-20070809

1.5.22

16 years agoDEVEL15-windows-aklog-20070809
Jeffrey Altman [Thu, 9 Aug 2007 23:54:07 +0000]
DEVEL15-windows-aklog-20070809

correct an error message

(cherry picked from commit 25a64a7eb219e3946e5a45f27e14fc53d43d7fcc)

16 years agoDEVEL15-windows-version-20070809
Jeffrey Altman [Thu, 9 Aug 2007 23:34:21 +0000]
DEVEL15-windows-version-20070809

1.5.2200.0 == 1.5.22

16 years agoDEVEL15-windows-notes-20070809
Jeffrey Altman [Thu, 9 Aug 2007 23:31:47 +0000]
DEVEL15-windows-notes-20070809

1.5.22

16 years agoDEVEL15-windows-release-notes-20070809
Jeffrey Altman [Thu, 9 Aug 2007 16:46:17 +0000]
DEVEL15-windows-release-notes-20070809

updates for 1.5.22

16 years agoDEVEL15-64bit-ticket-file-20070809
Rainer Toebbicke [Thu, 9 Aug 2007 15:58:23 +0000]
DEVEL15-64bit-ticket-file-20070809

fix the ticket files we write on 64 bit

(cherry picked from commit 6811175f37ba51691556d64309d59dbff8a1a29c)

16 years agoDEVEL15-windows-dirty-buffer-optimization-20070808
Jeffrey Altman [Thu, 9 Aug 2007 06:33:56 +0000]
DEVEL15-windows-dirty-buffer-optimization-20070808

when storing dirty buffers only store the bytes that are dirty

increase the default chunksize from 128KB to 1MB

remove OVERLAPPED field from cm_buf_t.  It was unused.

add a dummy pointer in order to ensure data structure compatibility
between the checked and release builds.

(cherry picked from commit 377689b39a1821eb268b25cebc9e6cb1ccc0d88a)

16 years agoDEVEL15-viced-hash-20070808
Jeffrey Altman [Wed, 8 Aug 2007 17:31:25 +0000]
DEVEL15-viced-hash-20070808

(1) fixes a bug that could cause a 'host' structure to not be removed
from the global host list if the 'host' did not possess an interface
list. This would happen with older AFS clients that do not support the
WhoAreYou family of RPCs. Windows clients older than 1.3.80 and old
Transarc UNIX clients.

(2) fixes a bug which could result in ViceLog being called with an
uninitialized 'hoststr' buffer as a parameter.

(3) ensures that only addresses known to belong to the 'host' are
added to the address hash table.  The list of addresses provided by
the client are stored as alternates and are only used when searching
for a client that is no longer accessible on the primary address.
These addresses are not stored in the address hash table within
initInterfaceAddr_r().

The addresses provided by the client should not be added to the hash
table because they have not been verified as belonging to the 'host'
that provided them.  The contents of the list may in fact be completely
unreliable.  Consider the existing UNIX clients that generate the list
at startup and never alter it even after the client has migrated to a
different network.  If two client's both claim the same address,
lookups by address may fail to find the correct one.

a. The client list might contain private address ranges which
are likely to be re-used by many clients allocated addresses
by a NAT.

b. The client list will not include any public addresses that
are hidden by a NAT.

c. Private address ranges that are exposed to the server will
be obtained from the rx connections that use them.

d. Lists provided by the client are not necessarily truthful.
Many existing clients (UNIX) do not refresh the IP address
list as the actual assigned addresses change. The end result
is that they report the initial address list for the lifetime
of the process. In other words, a client can report addresses
that they are in fact not using. Adding these addresses to
the host interface list without verification is not only
pointless, it is downright dangerous.

e. The reported addresses do not include port numbers and
guessing that the port number is 7001 does not work when
port mapping devices such as NATs or some VPNs are in
use.

(4) improves logging to ensure that all references to a 'host' structure
report both a memory address and the IP address/port. this will avoid
confusion *if* more than one 'host' structure is assigned the same
primary address.

(5) logs the UUID along with the client addresses when initializing the
host's interface list. (level 125)

(6) saves memory by using a smaller structure for the UUID hash table

(cherry picked from commit d51feff4b2c79fb25666559abbb007823d938d57)

16 years agoDEVEL15-viced-multi-probe-addr-20070808
Rainer Toebbicke [Wed, 8 Aug 2007 16:56:28 +0000]
DEVEL15-viced-multi-probe-addr-20070808

FIXES 67355

MultiProbeAlternateAddress_r badly indexes the list of interfaces for
clients with multiple IP interfaces, resulting in peers with IP
address 0 port 0 to be created. This in turn results in rxi_sendmsg
errors (on systems where caught early, as on Linux, on others it may
pass unnoticed).

(cherry picked from commit f099df38b2eff9c8c5afb52ec1a69dd89af22dad)

16 years agoDEVEL15-windows-afsd-uninit-vars-20070806
Jeffrey Altman [Tue, 7 Aug 2007 05:00:49 +0000]
DEVEL15-windows-afsd-uninit-vars-20070806

FIXES 67126

ensure the connp is set to NULL in case of error

(cherry picked from commit 8c69510d92052607f94d947ce2dd3e0b40eee42f)

16 years agoDEVEL15-man-page-vos-size-20070805
Jason Edgecombe [Mon, 6 Aug 2007 00:41:53 +0000]
DEVEL15-man-page-vos-size-20070805

Add a new man page for vos size.

(cherry picked from commit 87d2f5cd3f1e370f6daf6b6170e00f156644315a)

16 years agoDEVEL15-man-page-fs-newalias-20070805
Jason Edgecombe [Mon, 6 Aug 2007 00:38:42 +0000]
DEVEL15-man-page-fs-newalias-20070805

Add a new fs newalias man page.  Add -help to the synopsis and options of
the other new man pages.  Add additional missing links in the fs man page.
Fix some wording in the CellAlias man page.

(cherry picked from commit e7742db31f68acf2d227c13840e0a0ed9291d247)

16 years agoDEVEL15-man-page-fs-listaliases-20070805
Jason Edgecombe [Mon, 6 Aug 2007 00:33:33 +0000]
DEVEL15-man-page-fs-listaliases-20070805

Add manual page for fs listaliases.  Also add the links in the fs(1) man
page and update README more for the current to-do list.

(cherry picked from commit 95cfc0cfafe5c0a3f9f8ff07cb3c2be29fe9e3fc)

16 years agoDEVEL15-man-page-style-20070805
Russ Allbery [Mon, 6 Aug 2007 00:19:31 +0000]
DEVEL15-man-page-style-20070805

Some style fixes and some additional style documentation in README.

(cherry picked from commit e735ef962de3623f8fa11cca92d13151d62b5aaa)

16 years agoDEVEL15-man-page-afsd-crypt-alias-20070805
Jason Edgecombe [Sun, 5 Aug 2007 23:10:41 +0000]
DEVEL15-man-page-afsd-crypt-alias-20070805

Complete the documentation of the afsd flags and update a few things like
-settime and -nosettime.  Add man pages for fs setcrypt, fs getcrypt, and
CellAlias.  Based on work by Jason Edgecombe and then extensively edited,
so any errors I probably introduced.

(cherry picked from commit 8761673c608986d32bb858b26441b09c24f41696)

16 years agoDEVEL15-windows-local-directory-updates-smb-20070802
Asanka Herath [Thu, 2 Aug 2007 22:06:39 +0000]
DEVEL15-windows-local-directory-updates-smb-20070802

The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.

(cherry picked from commit 9353e122a33044df752e61de95f155f63876f0a2)

16 years agoDEVEL15-windows-no-more-infinite-recursion-20070802
Jeffrey Altman [Thu, 2 Aug 2007 21:58:42 +0000]
DEVEL15-windows-no-more-infinite-recursion-20070802

FIXES 15855

In cm_NameI, keep track of what fids were crossed when evaluating the
path.  If we discover a loop return a CM_ERROR_TOO_MANY_SYMLINKS error.

This resolves the complaint that when infinite loops are hit in the afs
name space the afsd_service.exe process uses 100% of the CPU.

(cherry picked from commit ac5346c3703e199eaabf8eeb7e156e42644092c4)

16 years agoDEVEL15-windows-local-directory-updates-20070802
Asanka Herath [Thu, 2 Aug 2007 21:53:51 +0000]
DEVEL15-windows-local-directory-updates-20070802

The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.

(cherry picked from commit c4047f6cb52927890329b09669b1a2686ace6059)

16 years agoDEVEL15-windows-do-not-expire-cbs-when-servers-are-down-20070802
Jeffrey Altman [Thu, 2 Aug 2007 21:46:12 +0000]
DEVEL15-windows-do-not-expire-cbs-when-servers-are-down-20070802

if all of the servers are down when a callback is due to expire
delay the expiration until at least one server is available.
this prevents some applications that are running when the CM
is off the network from failing if their pages are swapped out.

(cherry picked from commit 10b76dffa0ece0cca898637a00d34b27809b9eb9)

16 years agoDEVEL15-windows-libafsrpc-20070802
Jeffrey Altman [Thu, 2 Aug 2007 06:21:36 +0000]
DEVEL15-windows-libafsrpc-20070802

use bg-fcrypt in libafsrpc.dll which is used by the CM

(cherry picked from commit 4d75b4758e70d42999bc6605971f606b03127bc9)

16 years agoDEVEL15-rxkad-bg-fcrypt-unbreak-windows-20070731
Jeffrey Altman [Tue, 31 Jul 2007 23:20:59 +0000]
DEVEL15-rxkad-bg-fcrypt-unbreak-windows-20070731

i (derrick) broke everything. fix it.

(cherry picked from commit 4b8db9f2119de86b9e52e947cc5708d89dbcc3f5)

16 years agoDEVEL15-viced-avoid-tying-up-all-threads-20070730
Derrick Brashear [Mon, 30 Jul 2007 14:19:02 +0000]
DEVEL15-viced-avoid-tying-up-all-threads-20070730

FIXES 19461

implement a thread quota.

(cherry picked from commit ece19eefbe46400e1c28834570deed7294761167)

16 years agoDEVEL15-darwin-avoid-fsref-panic-maybe-20070728
Derrick Brashear [Sat, 28 Jul 2007 15:33:26 +0000]
DEVEL15-darwin-avoid-fsref-panic-maybe-20070728

maybe this works.

(cherry picked from commit a608cd2e24e50026c36148eb357c03d583384dde)

16 years agoDEVEL15-windows-fs-20070727
Jeffrey Altman [Sat, 28 Jul 2007 04:04:37 +0000]
DEVEL15-windows-fs-20070727

return error when GetCell fails

(cherry picked from commit 840ad12eb3f2f5b35a37d876aef93c01a0bea3d3)

16 years agoDEVEL15-windows-rdrtimeout-20070727
Jeffrey Altman [Sat, 28 Jul 2007 03:51:16 +0000]
DEVEL15-windows-rdrtimeout-20070727

RDRtimeout is seconds.  need to convert to milliseconds for comparison

(cherry picked from commit 0ba1a6275755e7df19cab1cf20fb1b7aaf176c61)

16 years agoDEVEL15-man-page-demand-attach-20070726
Steven Jenkins [Fri, 27 Jul 2007 19:07:43 +0000]
DEVEL15-man-page-demand-attach-20070726

Document additional bos flags for the demand attach file server.

(cherry picked from commit b741b29b4b1272ceb4081f7ab25e556e6513d7e5)

16 years agoDEVEL15-man-page-updates-20070726
Jason Edgecombe [Fri, 27 Jul 2007 19:00:25 +0000]
DEVEL15-man-page-updates-20070726

FIXES 65988

Mention aklog and kinit in klog's man page, add -dynroot to the afsd man
page, and mention that -skipauth tells uss not to create any Kerberos
principal and this has to be done separately.

(cherry picked from commit 2367c273bbfd3cbecc72b770ede579e60da153e2)

16 years agoDEVEL15-windows-client_config-20070727
Jeffrey Altman [Fri, 27 Jul 2007 16:41:53 +0000]
DEVEL15-windows-client_config-20070727

FIXES 66302

change text of error message to indicate that the user is not a member
of the AFS Administrators Group instead of not being a Windows administrator.

(cherry picked from commit d7d12d7c9b9cec32d4415b9d7bf1058d99d63d14)

16 years agoDEVEL15-md5inum-md5-clobbers-input-20070726
Derrick Brashear [Thu, 26 Jul 2007 18:05:40 +0000]
DEVEL15-md5inum-md5-clobbers-input-20070726

(cherry picked from commit ed13fac9114d3743ca1d448d3bce7f9d43bf4f5a)