openafs.git
14 years agopag-get-lint-20090623
christof.hanke@rzg.mpg.de [Thu, 25 Jun 2009 00:14:43 +0000]
pag-get-lint-20090623

LICENSE IPL10
FIXES 124951

make things happy for rpmlint again (wrong initialization)

14 years agolinux-rcu-read-lock-export-20090623
Marc Dionne [Wed, 24 Jun 2009 22:53:40 +0000]
linux-rcu-read-lock-export-20090623

LICENSE IPL10
FIXES 124986

deal with rcu_read_lock() becoming GPLONLY

14 years agofbsd61-stdlib-proto-define-20090623
Harald Barth [Wed, 24 Jun 2009 22:44:56 +0000]
fbsd61-stdlib-proto-define-20090623

LICENSE IPL10
FIXES 124952

add define to make stdlib have malloc prototype

14 years agoosol-solookup-20090624
Andrew Deason [Wed, 24 Jun 2009 22:38:15 +0000]
osol-solookup-20090624

LICENSE IPL10
FIXES 124924

update for new opensolaris solookup function signature

14 years agoutil-snprintf-replacement-20090624
Jeffrey Altman [Wed, 24 Jun 2009 16:15:39 +0000]
util-snprintf-replacement-20090624

LICENSE BSD

1. Add a test program for *printf functionality.  util/tests/snprintf_test.c

2. Replace OpenAFS implementation of afs_*printf() with Heimdal's version.

3. Add support to Heimdal's version to support:

 - floating point

 - OpenAFS %I ipv4 address formatting (dotted notation and hostname lookup)

 - Microsoft's I32 and I64 integer size modifiers

With these changes OpenAFS gains:

 - output that is compliant with standard *printf implementations.
   the previous implementation had justification, padding and case
   errors.

 - support for a NULL buffer which computes the required size based
   upon the input format and arguments.  the previous implementation
   would crash.

 - support for additional format types.

 - OpenAFS specific implementations of vasnprintf(), vasprintf(),
   asprintf(), and asnprintf().

14 years agowindows-config-amd64-20090624
Jeffrey Altman [Wed, 24 Jun 2009 15:47:29 +0000]
windows-config-amd64-20090624

LICENSE MIT

amd64 uses 64-bit pointers.  Define AFS_64BITPOINTER_ENV.

14 years agolinux-call-inode-setattr-op-20090622
Marc Dionne [Mon, 22 Jun 2009 16:25:23 +0000]
linux-call-inode-setattr-op-20090622

LICENSE IPL10
FIXES 124942

call inode's setattr op instead of just inode_setattr, when one is available.
needed for xfs, notably also will cause truncates to be journalled for ext3,
which may solve some existing issues

14 years agocellconfig-gethostbyname-20090618
Jeffrey Altman [Fri, 19 Jun 2009 04:08:08 +0000]
cellconfig-gethostbyname-20090618

LICENSE MIT

The CellServDB processing in auth/cellconfig and WINNT/afsd/cm_config
differ in one important way.  cellconfig uses the IP addresses specified
in the CellServDB file and ignores the host name; whereas cm_config
calls gethostbyname() on the host name and falls back to the specified
address only if gethostbyname() fails.

This commit modifies cellconfig to use gethostbyname() calls on the
host names when the client CellServDB file is being used.   The server
CellServDB file is left alone because ubik servers need to be given
the exact list of ip addresses specified by the administrator and
there is no method of indicating clones to other servers using DNS.

This change permits a greater resilency to cell server configuration
changes due to IP address renumbering as the DNS names in the CellServDB
file can be CNAME or A records.

A host name can be resolved to multiple IP addresses and all of the
addresses will be added to the hostAddr list for the cell provided
that they do not exceed the maximum number of hosts.  If the same
host name is listed multiple times the duplicate IP addresses will
be ignored.

The behavior of all tools that use CellServDB files on Windows will now
be consistent.

14 years agowindows-netidmgr-20090617
Jeffrey Altman [Thu, 18 Jun 2009 06:04:29 +0000]
windows-netidmgr-20090617

LICENSE MIT

permit building with a broader range of visual studio versions

14 years agowindows-testcellconf-20090617
Jeffrey Altman [Thu, 18 Jun 2009 00:45:36 +0000]
windows-testcellconf-20090617

LICENSE MIT

make testcellconf work on Windows

14 years agowindows-kauth-cell-search-registry-20090616
Jeffrey Altman [Tue, 16 Jun 2009 23:40:38 +0000]
windows-kauth-cell-search-registry-20090616

LICENSE MIT

add registry based cell search to ka_UserAuthenticateGeneral2()
which is used by klog() and afslogon.dll when no kerberos support
is available.

14 years agowindows-client-config-cell-search-registry-20090616
Jeffrey Altman [Tue, 16 Jun 2009 23:37:49 +0000]
windows-client-config-cell-search-registry-20090616

LICENSE MIT

Add registry based cell search functionality to afs_config.exe
even though the tool is close to useless at this point.

14 years agowindows-netidmgr-cell-search-registry-20090616
Jeffrey Altman [Tue, 16 Jun 2009 22:57:08 +0000]
windows-netidmgr-cell-search-registry-20090616

LICENSE MIT

Forgot to update the afs provider to support registry based cellservdb
lookups

14 years agoubik-fix-allbetter-loglevels-20090616
Andrew Deason [Tue, 16 Jun 2009 19:09:43 +0000]
ubik-fix-allbetter-loglevels-20090616

LICENSE IPL10
FIXES 124938

make allBetter log more sensibly; right now it's very loud. move it to level 25

14 years agoafs-snrpintf-support-percentp-for-ptrs-20090616
Derrick Brashear [Tue, 16 Jun 2009 19:08:11 +0000]
afs-snrpintf-support-percentp-for-ptrs-20090616

LICENSE IPL10

so we can portably log pointers

14 years agowindows-conn-analyze-20090615
Jeffrey Altman [Tue, 16 Jun 2009 05:59:22 +0000]
windows-conn-analyze-20090615

LICENSE MIT

When processing RX_CALL_TIMEOUT, if there is no fid specified its a vldb
rpc and we should retry.  If there is a fid and the volume is a readonly
volume then we should also retry.  Only fail if the request has no alternate
server to look at.

When processing RX_CALL_DEAD, log the fact that the call is dead.

When processing any other RX error between -2 and -64, do not force
a new connection to the same server.   Mark the server down and retry
with a new server if possible.

14 years agowindows-cellservdb-rank-20090615
Jeffrey Altman [Tue, 16 Jun 2009 05:56:19 +0000]
windows-cellservdb-rank-20090615

LICENSE MIT

When inserting a new vldb server, if the rank is 0 (unknown), do not
override the default rank assigned by cm_NewServer().  Doing so erases
the randomized ranking.

14 years agogitignore-20090615
Simon Wilkinson [Mon, 15 Jun 2009 23:29:29 +0000]
gitignore-20090615

LICENSE IPL10

make gitignore files

14 years agowindows-installer-nsis-20090615
Jeffrey Altman [Mon, 15 Jun 2009 14:47:00 +0000]
windows-installer-nsis-20090615

LICENSE MIT

reorder some operations and make sure that directories are created
before the installer attempts to generate files into them.

14 years agowindows-callback-handling-20090614
Jeffrey Altman [Mon, 15 Jun 2009 02:57:17 +0000]
windows-callback-handling-20090614

LICENSE MIT

Turn SRXAFSCB_InitCallBackState3() into the primary function for
processing InitCallBackStateX RPCs.  InitCallBackState3 accepts an
optional server uuid which can be used instead of the IP address
to locate a matching server object.  If the RPC comes from a server
that we know of, we can restrict the calback state initialization
to cm_scache_t objects on that file server.  If the request comes
from a server that we know nothing about and a uuid was specified,
we can ignore it.

During callback revocation, make use of the cell associated with
the server to restrict the revocation to cm_scache_t objects in
the one cell.  This is especially important for readonly volume
callbacks since volume ids are shared across multiple cells.

Add a missing case where the cm_volume_t cbExpiresRO time should
be set to the cm_scache_t cbExpires time.

14 years agowindows-server-find-by-uuid-20090614
Jeffrey Altman [Mon, 15 Jun 2009 02:02:59 +0000]
windows-server-find-by-uuid-20090614

LICENSE MIT

Add cm_FindServerByUuid().  This function is similar to cm_FindServerByIP()
but uses the server's known uuid instead which is constant across multi-
homed systems.

14 years agowindows-server-xdr-free-20090614
Jeffrey Altman [Mon, 15 Jun 2009 01:56:22 +0000]
windows-server-xdr-free-20090614

LICENSE MIT

when releasing the capabilities memory allocation use xdr_free() not
the free() of the afsd_service.exe module.

14 years agovnode-disk-object-name-hi-length-field-20090611
Derrick Brashear [Thu, 11 Jun 2009 20:39:53 +0000]
vnode-disk-object-name-hi-length-field-20090611

LICENSE IPL10

reserved6 is used for the high portion of the 64 bit length. make the
structure reflect it.

14 years agodafs-create-volumes-online-20090611
Andrew Deason [Thu, 11 Jun 2009 15:25:15 +0000]
dafs-create-volumes-online-20090611

LICENSE IPL10
FIXES 124492

newly created volumes were not marked "not in use" by the volserver, so the
fileserver would not take them. fix it.

14 years agobosserver-invoke-salvager-fully-specifying-force-20090611
Andrew Deason [Thu, 11 Jun 2009 15:19:15 +0000]
bosserver-invoke-salvager-fully-specifying-force-20090611

LICENSE IPL10
FIXES 124916

bos salvage can invoke salvager with -f (instead of -force) which is no
longer unique. fix that.

14 years agowindows-cache-validation-20090610
Jeffrey Altman [Wed, 10 Jun 2009 18:08:19 +0000]
windows-cache-validation-20090610

LICENSE MIT

correct cell validation to avoid false detection of infinite loops
if a cm_cell_t object had to be freed.

add newlines to output of volumeHashTableSize and cellHashTableSize

14 years agoaix-dest-make-audit-object-dir-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:34:54 +0000]
aix-dest-make-audit-object-dir-20090609

LICENSE IPL10

now make dest works on aix 6 again

14 years agoaix6-no-vprintf-but-strict-kernel-prototypes-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:30:28 +0000]
aix6-no-vprintf-but-strict-kernel-prototypes-20090609

LICENSE IPL10

alas, we can't use varargs style prototypes since we can't handle the args!

14 years agoexcise-cplusplus-comments-from-kernel-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:10:54 +0000]
excise-cplusplus-comments-from-kernel-20090609

LICENSE IPL10

aix6 compiler doesn't allow // style comments

14 years agoaix6-kernel-varargs-prototypes-ok-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:05:20 +0000]
aix6-kernel-varargs-prototypes-ok-20090609

LICENSE IPL10

varargs style prototypes are ok in the aix6 kernel env

14 years agowindows-freelance-default-cell-20090609
Jeffrey Altman [Tue, 9 Jun 2009 21:11:04 +0000]
windows-freelance-default-cell-20090609

LICENSE MIT

If a freelance mount point does not specify a cell name, default to
the workstation cell.

14 years agoaix6-tsm41-makefile-flub-20090609
Derrick Brashear [Tue, 9 Jun 2009 20:25:47 +0000]
aix6-tsm41-makefile-flub-20090609

LICENSE IPL10

add missing quoting

14 years agotsm41-makefile-fix-20090609
Derrick Brashear [Tue, 9 Jun 2009 14:46:51 +0000]
tsm41-makefile-fix-20090609

LICENSE IPL10

fix form of case statement in makefile for tsm41

14 years agowindows-dirty-buffers-20090608
Jeffrey Altman [Tue, 9 Jun 2009 00:58:10 +0000]
windows-dirty-buffers-20090608

LICENSE MIT

In the buf_IncrSync thread, if the volume is known to be unavailable
do not attempt to write the buffer.  Just skip it.

In buf_Sync(), if we are shutting down and a buffer is left dirty,
log a message to the Windows Event Log indicating that the dirty buffer
was lost.

14 years agoman-page-xstat-fs-test-20090608
Mike Meffie [Mon, 8 Jun 2009 23:39:51 +0000]
man-page-xstat-fs-test-20090608

LICENSE IPL10
FIXES 124905

Document xstat_fs_test collection 3, which returns callback statistics
from the file server (useful for tuning).

14 years agowindows-cell-locking-20090608
Jeffrey Altman [Mon, 8 Jun 2009 23:09:19 +0000]
windows-cell-locking-20090608

LICENSE MIT
FIXES 124910

cm_cellLock protects the cm_cell_t fields allNextp, nameNextp, idNextp,
and freeNextp.  Therefore, a write lock must be obtained whenever those
items may change.  This patch makes that consistent.

This patch also fixes an out of order lock acquisition and removes
cm_cell_t objects from the id and name hash tables before freeing them.

14 years agowindows-search-cell-registry-20090608
Jeffrey Altman [Mon, 8 Jun 2009 22:42:01 +0000]
windows-search-cell-registry-20090608

LICENSE MIT

do not clear the newCellNamep buffer on error.
that is inconsistent with the other SearchCell functions
and breaks "fs newcell".

14 years agoaix-kopenafs-also-correct-directory-20090608
Derrick Brashear [Mon, 8 Jun 2009 20:47:14 +0000]
aix-kopenafs-also-correct-directory-20090608

LICENSE IPL10

also make this include syscall.s from the right place.

14 years agokopenafs-set-sflags-20090607
Derrick Brashear [Mon, 8 Jun 2009 05:44:23 +0000]
kopenafs-set-sflags-20090607

LICENSE IPL10

make kopenafs build on aix

14 years agowindows-notes-20090607
Jeffrey Altman [Mon, 8 Jun 2009 03:34:28 +0000]
windows-notes-20090607

LICENSE MIT

synchronize with the 1.5 branch

14 years agowindows-sync-head-with-1_5-20090607
Jeffrey Altman [Mon, 8 Jun 2009 03:15:12 +0000]
windows-sync-head-with-1_5-20090607

LICENSE MIT

Synchronize the build system from 1.5 branch to the head

14 years agodoc-man-pages-windows-20090607
Jeffrey Altman [Mon, 8 Jun 2009 03:08:33 +0000]
doc-man-pages-windows-20090607

LICENSE MIT

dpass and package docs removed from repository.
do not attempt to build them.

14 years agowindows-buf-infinite-looping-on-dirty-buffers-20090607
Jeffrey Altman [Mon, 8 Jun 2009 02:22:09 +0000]
windows-buf-infinite-looping-on-dirty-buffers-20090607

LICENSE MIT

If there are dirty buffers when the file server becomes unresponsive,
the cache manager will attempt to write them repeatedly resulting in
use of 100% of the cpu of the machine until the file server becomes
responsive.

This patch reduces the cpu utilization by ensuring that only the first
in a list of buffers on the same file needs to fail with timed out,
all down, all busy, all offline, or clock skew.  The other dirty buffers
will just be skipped.  A small delay is enforced in the buf_IncrSync
thread between invocation.

This patch is not a complete fix for the problem.  The buf_IncrSync
thread needs to become more intelligent in order to avoid attempts to
write to volumes that are known to be inaccessible.

14 years agoviced-cblater-unmark-20090605
Derrick Brashear [Sat, 6 Jun 2009 01:10:46 +0000]
viced-cblater-unmark-20090605

LICENSE IPL10

make things match 1.5.x: unmark entries FE_LATER when they get unchained

14 years agodarwin-rx-netreceive-fix-20090605
Derrick Brashear [Sat, 6 Jun 2009 01:08:57 +0000]
darwin-rx-netreceive-fix-20090605

LICENSE IPL10

put back code that went missing post-rxtcp

14 years agoaix-kopenafs-cpp-20090605
Derrick Brashear [Sat, 6 Jun 2009 00:36:20 +0000]
aix-kopenafs-cpp-20090605

LICENSE IPL10

build syscall.o on aix the same way we do in libsys

14 years agoman-page-cellservdb-extras-20090605
Derrick Brashear [Fri, 5 Jun 2009 19:17:13 +0000]
man-page-cellservdb-extras-20090605

LICENSE IPL10

Document linked cells and non-voting replicas in the CellServDB man page
and note the need for better linked cell documentation.

14 years agodeath-to-docs-20090605
Derrick Brashear [Fri, 5 Jun 2009 16:50:10 +0000]
death-to-docs-20090605

LICENSE IPL10

docs now built from doc/xml; kill the other copies of same

14 years agofsbnode-rename-unused-to-dummy-20090604
Derrick Brashear [Thu, 4 Jun 2009 23:09:11 +0000]
fsbnode-rename-unused-to-dummy-20090604

LICENSE IPL10

a prayer this will make hpu cc stop segving

14 years agoaix51-no-userspace-pag-subsystem-20090604
Derrick Brashear [Thu, 4 Jun 2009 21:50:33 +0000]
aix51-no-userspace-pag-subsystem-20090604

LICENSE IPL10

getpagvalue() appeared post 5.1.

14 years agopam-build-dont-fail-on-link-problems-20090604
Derrick Brashear [Thu, 4 Jun 2009 21:30:45 +0000]
pam-build-dont-fail-on-link-problems-20090604

LICENSE IPL10

linking static objects into shared works badly on some platforms. deal by not
breaking the build, for now

14 years agosolaris-fs-conv-needs-ihandle-20090604
Derrick Brashear [Thu, 4 Jun 2009 19:05:40 +0000]
solaris-fs-conv-needs-ihandle-20090604

LICENSE IPL10

FD_t defined in ihandle.h; include it here

14 years agokopenafs-syscall-object-dependency-20090604
Derrick Brashear [Thu, 4 Jun 2009 17:18:07 +0000]
kopenafs-syscall-object-dependency-20090604

LICENSE IPL10

cause syscall.o to build

14 years agounroll-experimental-rx-20090603
Derrick Brashear [Thu, 4 Jun 2009 00:15:05 +0000]
unroll-experimental-rx-20090603

LICENSE IPL10

reconverge Rx with that in 1.5.x in prep for git

14 years agoptserver-debug-flag-20090603
Andrew Deason [Wed, 3 Jun 2009 23:11:40 +0000]
ptserver-debug-flag-20090603

LICENSE IPL10
FIXES 124893

parse -d (debug) earlier in the ptserver argument parsing, so database
switch does not override it.

14 years agoptserver-procs-loglevels-20090603
Andrew Deason [Wed, 3 Jun 2009 22:48:55 +0000]
ptserver-procs-loglevels-20090603

LICENSE IPL10
FIXES 124894

make loglevels for create/delete match those for other pts operations

14 years agoptserver-vicelog-missing-newlines-20090603
Andrew Deason [Wed, 3 Jun 2009 22:43:53 +0000]
ptserver-vicelog-missing-newlines-20090603

LICENSE IPL10
FIXES 124894

some ViceLog calls in ptserver were missing newlines. that's fixed.

14 years agoklog-krb5-avoid-freeing-garbage-20090603
Douglas Engert [Wed, 3 Jun 2009 21:58:10 +0000]
klog-krb5-avoid-freeing-garbage-20090603

LICENSE IPL10

avoid freeing garbage due to an uninitialized variable

14 years agoaix-pag-complaints-20090603
Derrick Brashear [Wed, 3 Jun 2009 16:13:26 +0000]
aix-pag-complaints-20090603

LICENSE IPL10

make the new code work properly, thanks to aix's complaints

14 years agocurpag-via-pioctl-20090603 openafs-rx-enhancements
Derrick Brashear [Wed, 3 Jun 2009 06:39:47 +0000]
curpag-via-pioctl-20090603

LICENSE IPL10
FIXES 124709

curpag needs to know about kernel constructs (getpagvalue on AIX, onegroup
versus two group on linux) and on aix 5.1 simply can't work. add a new pioctl
and use it to simply ask the kernel what the current pag is

14 years agolinux-allow-disabling-syscall-probing-20090602
Simon Wilkinson [Tue, 2 Jun 2009 19:31:45 +0000]
linux-allow-disabling-syscall-probing-20090602

LICENSE IPL10

give a configure switch to allow disabling syscall probing

14 years agolinux-locking-brace-fix-20090602
Derrick Brashear [Tue, 2 Jun 2009 19:12:10 +0000]
linux-locking-brace-fix-20090602

LICENSE IPL10

so regardless of which code branch we choose we work

14 years agovfsck-conditional-for-namei-20090602
Derrick Brashear [Tue, 2 Jun 2009 18:39:28 +0000]
vfsck-conditional-for-namei-20090602

LICENSE IPL10

make build fly again on solaris when namei and not inode is in play

14 years agodoc-man-page-install-variables-20090602
Russ Allbery [Tue, 2 Jun 2009 18:31:32 +0000]
doc-man-page-install-variables-20090602

LICENSE BSD

We were horribly confused about variables when creating man page symlinks.
Be less confused by using variables less.

14 years agoauth-cellconfig-overflow-20090601
simon@sxw.org.uk [Tue, 2 Jun 2009 04:32:08 +0000]
auth-cellconfig-overflow-20090601

LICENSE IPL10
FIXES 124891

14 years agodoc-admin-guide-updates-20090601
Jason Edgecombe [Mon, 1 Jun 2009 23:35:17 +0000]
doc-admin-guide-updates-20090601

LICENSE BSD
FIXES 124889

Updates to chapter one of the Admin Guide.  Remove references to the
Authentication Server, add references to a Kerberos server, revise ntpd
parts to reflect the fact that OpenAFS doesn't ship ntpd, and removed
the distinction between the US and non-US versions of the Update Server.

14 years agodoc-xml-build-cvsignore-20090601
Russ Allbery [Mon, 1 Jun 2009 23:31:47 +0000]
doc-xml-build-cvsignore-20090601

LICENSE BSD

Ignore new generated files from the documentation build.

14 years agodoc-xml-version-depends-20090601
Russ Allbery [Mon, 1 Jun 2009 23:30:42 +0000]
doc-xml-version-depends-20090601

LICENSE BSD

Make PDF manual generation also depend on version.xml, matching HTML
generation.

14 years agoxml-versioning-take-two-20090601
Derrick Brashear [Mon, 1 Jun 2009 18:51:45 +0000]
xml-versioning-take-two-20090601

LICENSE IPL10

deal with this in a way which does not trip creation of CML state config files

14 years agovsprocs-log-format-bug-20090531
Simon Wilkinson [Mon, 1 Jun 2009 00:12:46 +0000]
vsprocs-log-format-bug-20090531

LICENSE IPL10

fix the logged data to avoid a format string issue

14 years agodoc-doxygen-20090531
Jeffrey Altman [Sun, 31 May 2009 17:52:46 +0000]
doc-doxygen-20090531

LICENSE BSD

Doxygen converted versions of the IBM provided architecture and
protocol documentation.

Funded under an SBIR grant.

14 years agoafsd-allow-maxmtu-override-20090530
Douglas Engert [Sun, 31 May 2009 02:22:24 +0000]
afsd-allow-maxmtu-override-20090530

LICENSE IPL10
FIXES 124880

rxi_Findcbi, rxi_FIndIfnet, rxi_FindIfMTU "failure" end up returning
the RX_REMOTE_PACKET_SIZE as the mtu to use unless we allow our override
to apply, so we do that. then, add an afsd switch to allow setting it.

afsd man page update required and will follow.

====================
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.
====================
LICENSE IPL10
FIXES 124880

man page update to document previous work

14 years agoviced-host-uuid-and-addr-hashing-corrections-20090530
Jeffrey Altman [Sat, 30 May 2009 18:27:07 +0000]
viced-host-uuid-and-addr-hashing-corrections-20090530

LICENSE IPL10
FIXES 124634

only valid addr/port pairs are registered in the hash table.
add then remove when changing addresses.
make host restoral properly hash hosts.
remove should remove the address we asked for and not simply the
primary address.

14 years agoxml-doc-building-glue-20090527
Derrick Brashear [Wed, 27 May 2009 20:44:24 +0000]
xml-doc-building-glue-20090527

LICENSE IPL10
FIXES 124804

add configure switches for building docs. generate version files needed.

14 years agowindows-install-20090527
Jeffrey Altman [Wed, 27 May 2009 14:55:42 +0000]
windows-install-20090527

LICENSE MIT

Install ptclient.exe and pt_util.exe as part of the server installation

14 years agowindows-ptserver-ubik-20090527
Jeffrey Altman [Wed, 27 May 2009 14:45:07 +0000]
windows-ptserver-ubik-20090527

LICENSE MIT

move io.h inside AFS_NT40_ENV

14 years agoobsd-45-param-file-20090527
Matt Benjamin [Wed, 27 May 2009 14:26:41 +0000]
obsd-45-param-file-20090527

LICENSE IPL10
FIXES 124719

add missing param file for obsd 4.5

14 years agowindows-pt_util-20090527
Jeffrey Altman [Wed, 27 May 2009 08:04:06 +0000]
windows-pt_util-20090527

LICENSE MIT

add missing build rules for pt_util.exe

14 years agowindows-pt_util-20090526
Jeffrey Altman [Wed, 27 May 2009 07:59:36 +0000]
windows-pt_util-20090526

LICENSE MIT

build pt_util.exe on Windows

14 years agovolser-retry-transaction-creation-20090526
Derrick Brashear [Wed, 27 May 2009 03:46:43 +0000]
volser-retry-transaction-creation-20090526

LICENSE IPL10
FIXES 124635

version of the retry transaction creation patch for head/1.5

14 years agounix-mkvers-xml-20090526
Derrick Brashear [Wed, 27 May 2009 03:12:53 +0000]
unix-mkvers-xml-20090526

LICENSE IPL10

make mkvers do a xml version file for unix also

14 years agoman-page-vos-dump-flags-20090526
Russ Allbery [Wed, 27 May 2009 02:21:45 +0000]
man-page-vos-dump-flags-20090526

LICENSE BSD

Add documentation of the -clone and -omitdirs flags to vos dump.

14 years agolinux-byte-range-locks-sensibility-20090526
Simon Wilkinson [Wed, 27 May 2009 01:47:40 +0000]
linux-byte-range-locks-sensibility-20090526

LICENSE IPL10
FIXES 124766

make our locks work correctly with the linux connectathon lock testing

14 years agojava-errno-header-20090526
fabrizio.manfredi@gmail.com [Wed, 27 May 2009 01:13:38 +0000]
java-errno-header-20090526

LICENSE IPL10
FIXES 124810

use the errno header instead of assuming extern int

14 years agolinux-mmap-antirecursion-avoid-spurious-eio-20090526
Russ Allbery [Wed, 27 May 2009 00:44:29 +0000]
linux-mmap-antirecursion-avoid-spurious-eio-20090526

LICENSE IPL10

fix error code checking

14 years agodoc-xml-windows-release-notes-20090526
Jeffrey Altman [Tue, 26 May 2009 16:29:16 +0000]
doc-xml-windows-release-notes-20090526

LICENSE MIT

Add notes describing registry support for CellServDB info and
conversion of docs to HtmlHelp format.

14 years agowindows-xml-release-notes-version-20090525
Jeffrey Altman [Tue, 26 May 2009 03:20:06 +0000]
windows-xml-release-notes-version-20090525

LICENSE MIT

autogenerate version info.

fix chapter title.

14 years agowindows-top-makefile-20090525
Jeffrey Altman [Tue, 26 May 2009 01:54:15 +0000]
windows-top-makefile-20090525

LICENSE MIT

add rules for building documentation sources

add option for including cygwin libs in wix installer

14 years agowindows-doc-man-dependency-20090525
Jeffrey Altman [Tue, 26 May 2009 00:53:53 +0000]
windows-doc-man-dependency-20090525

LICENSE IPL10

html\index.html not index.html

14 years agowindows-cellservdb-lookup-20090525
Jeffrey Altman [Mon, 25 May 2009 23:06:16 +0000]
windows-cellservdb-lookup-20090525

LICENSE MIT

Add a new Registry distribution method for CellServDB info.

The CellServDB registry schema is as follows:

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\
   "LinkedCell"    REG_SZ "[cellname]"
   "Description"   REG_SZ "[comment]"
   "ForceDNS"      DWORD  {0,1}

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\[servername]\
   "HostName"      REG_SZ "[hostname]"
   "IPv4Address"   REG_SZ "[address]"
   "IPv6Address"   REG_SZ "[address]"   <future>
   "Comment"       REG_SZ "[comment]"
   "Rank"          DWORD  "0..65535"
   "Clone"         DWORD  "{0,1}"       <future - server only>
   "vlserver"      DWORD  "7003"        <future>
   "ptserver"      DWORD  ...           <future>

 ForceDNS is implied non-zero if there are no [servername]
 keys under the [cellname] key.  Otherwise, ForceDNS is zero.
 If [servername] keys are specified and none of them evaluate
 to a valid server configuration, the return code is success.
 This prevents failover to the CellServDB file or DNS.

Registry distributed info takes precedence over the CellServDB file.

Registry support has been added to both the Windows specific cm_config
interface and the auth/cellconfig interface utilized by aklog, the
services, and the vast majority of support commands.

Enhance the DNS lookup for Cell vlserver info to support ranking info
which is used with _vlserver._udp SRV record lookups when AFSDB records
are not present.  Priorities become ranks.

14 years agowindows-libafsconf-20090525
Jeffrey Altman [Mon, 25 May 2009 22:30:24 +0000]
windows-libafsconf-20090525

LICENSE MIT

libafsconf.dll has been present since OpenAFS 1.0.  However,
for some unknown reason the components that it consists of
(cm_dns.obj, cm_config.obj, cm_nls.obj) have been staticly
linked into exes and dlls all over the code base.  This commit
removes all of the static references and replaces them with
libafsconf.lib.

libafsconf.dll is also moved from Client\Program to Common
because it is now linked to by server and utility components.

14 years agowindows-doc-man-makefile-20090525
Jeffrey Altman [Mon, 25 May 2009 21:00:18 +0000]
windows-doc-man-makefile-20090525

LICENSE IPL10

Add a proper dependency list so that the man-pages are not
rebuilt when no changes have occurred.

14 years agowindows-make-version-20090525
Jeffrey Altman [Mon, 25 May 2009 20:57:39 +0000]
windows-make-version-20090525

LICENSE IPL10

remove space before "KEEP".  older versions of nmake.exe do not like it.

14 years agowindows-btree-flush-race-20090522
Jeffrey Altman [Fri, 22 May 2009 17:00:33 +0000]
windows-btree-flush-race-20090522

LICENSE MIT
FIXES 124787

A flush operation on a directory will result in the btree being destroyed.
This can race with on-going operations.  Make sure that the dirlock is held
if the btree is destroyed.  Otherwise, just invalidate the btree version
number.

====================
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.
====================
LICENSE MIT
FIXES 124787

correct sandbox leakage

14 years agobackground-fsync-consistency-issues-20090522
Derrick Brashear [Fri, 22 May 2009 17:00:26 +0000]
background-fsync-consistency-issues-20090522

LICENSE IPL10
FIXES 124359

avoid either reopening closed vnodes and leaving cached descriptors around,
or discarding a reference we're not holding; instead, sync changes when the
fd is closed, and note such has been done; otherwise, no changes from older
code.

14 years agowindows-install-wix-vs2008-20090521
Asanka Herath [Thu, 21 May 2009 19:08:23 +0000]
windows-install-wix-vs2008-20090521

LICENSE MIT

add merge modules for VS2008 RunTime Libraries

14 years agowindows-install-wix-doc-xml-20090521
Jeffrey Altman [Thu, 21 May 2009 19:06:08 +0000]
windows-install-wix-doc-xml-20090521

LICENSE MIT

replace static html documentation with auto-generated
html help files from doc/xml/... when building en_US
locale.

14 years agodoc-xml-version-generation-20090521
Jeffrey Altman [Thu, 21 May 2009 18:51:42 +0000]
doc-xml-version-generation-20090521

LICENSE MIT

Replace version info in the DocBook files with a new ENTITY "version"
associated with a local "version.xml" file which contain a <revision>
tag for the current release.

The version.xml file should be autogenerated by the Makefile system.

14 years agoconfig-mkvers-xml-20090521
Jeffrey Altman [Thu, 21 May 2009 18:25:50 +0000]
config-mkvers-xml-20090521

LICENSE IPL10

Add a -x option to mkvers.c to permit generation of XML entities containing
a revision tag and <revremark> tags for each delta

Add autogeneration of version.xml to Windows Makefiles

14 years agowindows-install-nsis-20090521
Jeffrey Altman [Thu, 21 May 2009 14:33:47 +0000]
windows-install-nsis-20090521

LICENSE MIT

Remove old documentation and start menu links before installing
new versions.

No longer install versions from src/WINNT/doc/install/... tree

Install versions from doc/xml/...  Use CHM files when available.

Construct new Start Menu/Program/OpenAFS/Documentation/ menu with
links to individual documents instead of using an index.html
top level link.