openafs.git
11 years agoDEVEL15-windows-server-xdr-free-20090614
Jeffrey Altman [Fri, 19 Jun 2009 04:13:43 +0000]
DEVEL15-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.

(cherry picked from commit 571dc5edbe76a7e62d47adee8df52bbf532c55bc)

11 years agoDEVEL15-windows-callback-handling-20090614
Jeffrey Altman [Fri, 19 Jun 2009 04:13:30 +0000]
DEVEL15-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.

(cherry picked from commit a79ce67d7a52a99c10192a92c66a7e10500770bf)

11 years agoDEVEL15-windows-cache-validation-20090610
Jeffrey Altman [Fri, 19 Jun 2009 04:13:14 +0000]
DEVEL15-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

(cherry picked from commit ae1923e36260ff59efb85dda99b5345341bff6d8)

11 years agoDEVEL15-windows-freelance-default-cell-20090609
Jeffrey Altman [Fri, 19 Jun 2009 04:12:53 +0000]
DEVEL15-windows-freelance-default-cell-20090609

LICENSE MIT

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

(cherry picked from commit 37e1cd23195215cd5999be7fa5a8de6af7efebcb)

11 years agoDEVEL15-windows-dirty-buffers-20090608
Jeffrey Altman [Fri, 19 Jun 2009 04:12:34 +0000]
DEVEL15-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.

(cherry picked from commit 2033fa9ec62089887f074381ac118a2c60e9c311)

11 years agoDEVEL15-windows-cell-locking-20090608
Jeffrey Altman [Fri, 19 Jun 2009 04:12:21 +0000]
DEVEL15-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.

(cherry picked from commit f5b74d9fbcc42ad3a1105df3363e6c22c16fee84)

11 years agoDEVEL15-windows-search-cell-registry-20090608
Jeffrey Altman [Fri, 19 Jun 2009 04:12:09 +0000]
DEVEL15-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".

(cherry picked from commit 7bf6fd6bcbdcb87544798c9634618fccb4678f45)

11 years agoDEVEL15-windows-buf-infinite-looping-on-dirty-buffers-20090607
Jeffrey Altman [Fri, 19 Jun 2009 04:11:22 +0000]
DEVEL15-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.

(cherry picked from commit bada49cff904c1e783ca9fa81a92036ceae7378d)

11 years agoDEVEL15-ubik-fix-allbetter-loglevels-20090616
Andrew Deason [Tue, 16 Jun 2009 19:09:52 +0000]
DEVEL15-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

(cherry picked from commit e44c38c423fee7f10540ee339c372dce043af10d)

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

LICENSE IPL10

so we can portably log pointers

(cherry picked from commit a44bee561505c8f955c84d5c96227d72d3cdaf57)

11 years agoDEVEL15-gitignore-20090615
Simon Wilkinson [Mon, 15 Jun 2009 23:33:13 +0000]
DEVEL15-gitignore-20090615

LICENSE IPL10

make gitignore files

(cherry picked from commit c41a46774134aee6eaf6a41e9061386035ae6ebf)

11 years agoDEVEL15-vnode-disk-object-name-hi-length-field-20090611
Derrick Brashear [Thu, 11 Jun 2009 20:40:03 +0000]
DEVEL15-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.

(cherry picked from commit a7f9ce9ce1b2608937c5c3ffc73a2de07abc5fb1)

11 years agoDEVEL15-dafs-create-volumes-online-20090611
Andrew Deason [Thu, 11 Jun 2009 15:25:25 +0000]
DEVEL15-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.

(cherry picked from commit 27cbb188bd1cb3e050c6911b1ddde75c46aa712f)

11 years agoDEVEL15-bosserver-invoke-salvager-fully-specifying-force-20090611
Andrew Deason [Thu, 11 Jun 2009 15:19:25 +0000]
DEVEL15-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.

(cherry picked from commit 2c755529c79492738fec61a5fc311216678a52e7)

11 years agoDEVEL15-aix6-no-vprintf-but-strict-kernel-prototypes-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:30:39 +0000]
DEVEL15-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!

(cherry picked from commit e87be8c5794ccd6eecd3b420dc12085a3608fadb)

11 years agoDEVEL15-excise-cplusplus-comments-from-kernel-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:11:04 +0000]
DEVEL15-excise-cplusplus-comments-from-kernel-20090609

LICENSE IPL10

aix6 compiler doesn't allow // style comments

(cherry picked from commit 2ee2aa00bc689b7876dc589537a8f805d44eaef5)

11 years agoDEVEL15-aix6-kernel-varargs-prototypes-ok-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:06:15 +0000]
DEVEL15-aix6-kernel-varargs-prototypes-ok-20090609

LICENSE IPL10

varargs style prototypes are ok in the aix6 kernel env

(cherry picked from commit 6794613924416dd542a1d54a9d692af396a0f0d9)

11 years agoDEVEL15-man-page-xstat-fs-test-20090608
Mike Meffie [Mon, 8 Jun 2009 23:41:28 +0000]
DEVEL15-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).

(cherry picked from commit 394243f3ae2dc5437b66d8f5afb393c2cfd1fb7b)

11 years agoDEVEL15-dynroot-bad-merge-20090605
Derrick Brashear [Sat, 6 Jun 2009 00:59:18 +0000]
DEVEL15-dynroot-bad-merge-20090605

LICENSE IPL10

remove doubled code

11 years agoDEVEL15-man-page-cellservdb-extras-20090605
Derrick Brashear [Fri, 5 Jun 2009 19:23:02 +0000]
DEVEL15-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.

(cherry picked from commit 6d973e499acd598bbc3a4e131d14f9801b94fe71)

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

LICENSE IPL10

a prayer this will make hpu cc stop segving

(cherry picked from commit 3e65e3aee17c64a19c0a1ff4b9b7d99c0725b689)

11 years agoDEVEL15-aix51-no-userspace-pag-subsystem-20090604
Derrick Brashear [Thu, 4 Jun 2009 21:51:21 +0000]
DEVEL15-aix51-no-userspace-pag-subsystem-20090604

LICENSE IPL10

getpagvalue() appeared post 5.1.

(cherry picked from commit 33e04c09a1f36281a6f37fdfd7b402426b9df5d4)

11 years agoDEVEL15-death-to-longc-procs-20060804
Russ Allbery [Thu, 4 Jun 2009 17:12:40 +0000]
DEVEL15-death-to-longc-procs-20060804

longc_procs.h was only used on Ultrix, about which we no longer care.
Delete it, its installation rules, and the places where we were including
it.

(cherry picked from commit f3a77810db0044bd0fc3df1101269ab42b365fef)

11 years agoDEVEL15-ptserver-debug-flag-20090603
Andrew Deason [Wed, 3 Jun 2009 23:11:50 +0000]
DEVEL15-ptserver-debug-flag-20090603

LICENSE IPL10
FIXES 124893

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

(cherry picked from commit 6124a81e791f54953ea4be3cf3588d9ccf5fb248)

11 years agoDEVEL15-ptserver-procs-loglevels-20090603
Andrew Deason [Wed, 3 Jun 2009 22:49:06 +0000]
DEVEL15-ptserver-procs-loglevels-20090603

LICENSE IPL10
FIXES 124894

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

(cherry picked from commit d9d50fea986569dfaa3c3b6aee2e8c99f0d280e8)

11 years agoDEVEL15-ptserver-vicelog-missing-newlines-20090603
Andrew Deason [Wed, 3 Jun 2009 22:44:03 +0000]
DEVEL15-ptserver-vicelog-missing-newlines-20090603

LICENSE IPL10
FIXES 124894

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

(cherry picked from commit 4310874d8f8b83b8a2c5840880d4f35059c67ea7)

11 years agoDEVEL15-klog-krb5-avoid-freeing-garbage-20090603
Douglas Engert [Wed, 3 Jun 2009 21:58:19 +0000]
DEVEL15-klog-krb5-avoid-freeing-garbage-20090603

LICENSE IPL10

avoid freeing garbage due to an uninitialized variable

(cherry picked from commit edfb415915bff06c055f58867695cbb37df626e1)

11 years agoDEVEL15-aix-pag-complaints-20090603
Derrick Brashear [Wed, 3 Jun 2009 16:14:05 +0000]
DEVEL15-aix-pag-complaints-20090603

LICENSE IPL10

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

(cherry picked from commit ec51165b5134b406eecfbb2b7d53b2a094f30256)

11 years agoDEVEL15-curpag-via-pioctl-20090603
Derrick Brashear [Wed, 3 Jun 2009 06:40:44 +0000]
DEVEL15-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

(cherry picked from commit 4af75fe96a9e4a985081d4af78439aeebabd6939)

11 years agoDEVEL15-linux-allow-disabling-syscall-probing-20090602
Simon Wilkinson [Tue, 2 Jun 2009 19:31:57 +0000]
DEVEL15-linux-allow-disabling-syscall-probing-20090602

LICENSE IPL10

give a configure switch to allow disabling syscall probing

(cherry picked from commit 091139b3e2160e1f56b11820d59589de9ccd9c40)

11 years agoDEVEL15-linux-locking-brace-fix-20090602
Derrick Brashear [Tue, 2 Jun 2009 19:12:21 +0000]
DEVEL15-linux-locking-brace-fix-20090602

LICENSE IPL10

so regardless of which code branch we choose we work

(cherry picked from commit 521f4e6d473335ac8f7f265904bda7840fddad71)

11 years agoDEVEL15-vfsck-conditional-for-namei-20090602
Derrick Brashear [Tue, 2 Jun 2009 18:39:43 +0000]
DEVEL15-vfsck-conditional-for-namei-20090602

LICENSE IPL10

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

(cherry picked from commit be47f4de0595dd044053695de3cdcedb2ec2a113)

11 years agoDEVEL15-doc-man-page-install-variables-20090602
Russ Allbery [Tue, 2 Jun 2009 18:33:42 +0000]
DEVEL15-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.

(cherry picked from commit 3ae35e12714bf4759d313086b17ef47bae1d7504)

11 years agoDEVEL15-auth-cellconfig-overflow-20090601
simon@sxw.org.uk [Tue, 2 Jun 2009 04:32:19 +0000]
DEVEL15-auth-cellconfig-overflow-20090601

LICENSE IPL10
FIXES 124891

(cherry picked from commit e89f90f7f17efc80c984b2858cd85a87f8cdfbf3)

11 years agoDEVEL15-doc-admin-guide-updates-20090601
Jason Edgecombe [Mon, 1 Jun 2009 23:52:16 +0000]
DEVEL15-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.

(cherry picked from commit d7b3953a530a49edfed203d59194b3a293ed80b8)

11 years agoDEVEL15-doc-xml-build-cvsignore-20090601
Russ Allbery [Mon, 1 Jun 2009 23:46:47 +0000]
DEVEL15-doc-xml-build-cvsignore-20090601

LICENSE BSD

Ignore new generated files from the documentation build.

(cherry picked from commit e34fe0f9a85c0fa965fe30ead4c5ba14d077268f)

11 years agoDEVEL15-doc-xml-version-depends-20090601
Russ Allbery [Mon, 1 Jun 2009 23:40:51 +0000]
DEVEL15-doc-xml-version-depends-20090601

LICENSE BSD

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

(cherry picked from commit 2520cc9aabef8877cdd99abb858dc011dfa5629f)

11 years agoDEVEL15-xml-versioning-take-two-20090601
Derrick Brashear [Mon, 1 Jun 2009 18:51:56 +0000]
DEVEL15-xml-versioning-take-two-20090601

LICENSE IPL10

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

(cherry picked from commit 0a617e33234f6104fdfb0d45593cf313c961f653)

11 years agoDEVEL15-vsprocs-log-format-bug-20090531
Simon Wilkinson [Mon, 1 Jun 2009 00:13:59 +0000]
DEVEL15-vsprocs-log-format-bug-20090531

LICENSE IPL10

fix the logged data to avoid a format string issue

(cherry picked from commit 8e0b8243ea8b38e6ceab8f1dc6a0e032d6622568)

11 years agoDEVEL15-doc-doxygen-20090531
Jeffrey Altman [Sun, 31 May 2009 17:56:53 +0000]
DEVEL15-doc-doxygen-20090531

LICENSE BSD

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

Funded under an SBIR grant.

(cherry picked from commit 5526ba218f7f3653cabe5423b25b82f0241b0abc)

11 years agoDEVEL15-openafs-1-5-60-20090530 openafs-devel-1_5_60
Derrick Brashear [Sun, 31 May 2009 02:27:10 +0000]
DEVEL15-openafs-1-5-60-20090530

LICENSE IPL10

make 1.5.60

11 years agoDEVEL15-afsd-allow-maxmtu-override-20090530
Douglas Engert [Sun, 31 May 2009 02:22:39 +0000]
DEVEL15-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

(cherry picked from commit 74df876dafb9cf80ab5a8099b4202f2205bd9791)

11 years agoDEVEL15-windows-version-20090530
Jeffrey Altman [Sun, 31 May 2009 01:58:39 +0000]
DEVEL15-windows-version-20090530

LICENSE MIT

1.5.60 == 1.5.5600.0

11 years agoDEVEL15-viced-host-uuid-and-addr-hashing-corrections-20090530
Jeffrey Altman [Sat, 30 May 2009 18:27:17 +0000]
DEVEL15-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.

(cherry picked from commit ca613599a2537756462a420ae1a632747a433226)

11 years agoDEVEL15-xml-doc-building-glue-20090527
Derrick Brashear [Wed, 27 May 2009 20:44:48 +0000]
DEVEL15-xml-doc-building-glue-20090527

LICENSE IPL10
FIXES 124804

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

(cherry picked from commit e452c704c59700496227dccb3161efd34ca709ba)

11 years agoDEVEL15-windows-install-20090527
Jeffrey Altman [Wed, 27 May 2009 14:55:58 +0000]
DEVEL15-windows-install-20090527

LICENSE MIT

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

(cherry picked from commit d28e5fd04def989dcfb98ccd2b99ef44f5667167)

11 years agoDEVEL15-windows-ptserver-ubik-20090527
Jeffrey Altman [Wed, 27 May 2009 14:45:20 +0000]
DEVEL15-windows-ptserver-ubik-20090527

LICENSE MIT

move io.h inside AFS_NT40_ENV

(cherry picked from commit c1876dbf32b5c253b5325bf18a0bf2549b6c9682)

11 years agoDEVEL15-obsd-45-param-file-20090527
Matt Benjamin [Wed, 27 May 2009 14:26:51 +0000]
DEVEL15-obsd-45-param-file-20090527

LICENSE IPL10
FIXES 124719

add missing param file for obsd 4.5

(cherry picked from commit ea404cf1e3a174c8809cd7f3bcc5750e0983cce6)

11 years agoDEVEL15-windows-pt_util-20090527
Jeffrey Altman [Wed, 27 May 2009 08:04:15 +0000]
DEVEL15-windows-pt_util-20090527

LICENSE MIT

add missing build rules for pt_util.exe

(cherry picked from commit 39b4c0381a68824cb52c0d3a2ee1d81851598373)

11 years agoDEVEL15-windows-pt_util-20090526
Jeffrey Altman [Wed, 27 May 2009 07:59:46 +0000]
DEVEL15-windows-pt_util-20090526

LICENSE MIT

build pt_util.exe on Windows

(cherry picked from commit 8ea8519f3094692c2d7a55fb1702255d0b115a8f)

11 years agoDEVEL15-volser-retry-transaction-creation-20090526
Derrick Brashear [Wed, 27 May 2009 03:46:53 +0000]
DEVEL15-volser-retry-transaction-creation-20090526

LICENSE IPL10
FIXES 124635

version of the retry transaction creation patch for head/1.5

(cherry picked from commit 34fc86bcc749f3bd059831b7e5dae03dc09a9393)

11 years agoDEVEL15-unix-mkvers-xml-20090526
Derrick Brashear [Wed, 27 May 2009 03:13:02 +0000]
DEVEL15-unix-mkvers-xml-20090526

LICENSE IPL10

make mkvers do a xml version file for unix also

(cherry picked from commit 29223f5a52beac5b40853863733c70028fc7c52c)

11 years agoDEVEL15-man-page-vos-dump-flags-20090526
Russ Allbery [Wed, 27 May 2009 02:24:49 +0000]
DEVEL15-man-page-vos-dump-flags-20090526

LICENSE BSD

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

(cherry picked from commit 4c7a7f343c6cb0c5e6def6d28649cea65ff2907e)

11 years agoDEVEL15-linux-byte-range-locks-sensibility-20090526
Simon Wilkinson [Wed, 27 May 2009 01:47:51 +0000]
DEVEL15-linux-byte-range-locks-sensibility-20090526

LICENSE IPL10
FIXES 124766

make our locks work correctly with the linux connectathon lock testing

(cherry picked from commit 49b7bbdd3b45df694fadbef48f9ed99d9bfe07b9)

11 years agoDEVEL15-java-errno-header-20090526
fabrizio.manfredi@gmail.com [Wed, 27 May 2009 01:13:47 +0000]
DEVEL15-java-errno-header-20090526

LICENSE IPL10
FIXES 124810

use the errno header instead of assuming extern int

(cherry picked from commit 3b2a1ac2b1d4212363527a6edc6dd2aa76a3f960)

11 years agoDEVEL15-linux-mmap-antirecursion-avoid-spurious-eio-20090526
Russ Allbery [Wed, 27 May 2009 00:44:39 +0000]
DEVEL15-linux-mmap-antirecursion-avoid-spurious-eio-20090526

LICENSE IPL10

fix error code checking

(cherry picked from commit 1fb1b8d0a2f82c6e72e59afb0a400ea0d5b21fe1)

11 years agoDEVEL15-doc-xml-windows-release-notes-20090526
Jeffrey Altman [Tue, 26 May 2009 16:29:52 +0000]
DEVEL15-doc-xml-windows-release-notes-20090526

LICENSE MIT

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

(cherry picked from commit e754a0bebdeaa5bd8acfdb5d802392715e38fd5b)

11 years agoDEVEL15-windows-notes-20090525
Jeffrey Altman [Tue, 26 May 2009 04:50:03 +0000]
DEVEL15-windows-notes-20090525

LICENSE MIT

changes for 1.5.60

11 years agoDEVEL15-windows-xml-release-notes-version-20090525
Jeffrey Altman [Tue, 26 May 2009 03:20:24 +0000]
DEVEL15-windows-xml-release-notes-version-20090525

LICENSE MIT

autogenerate version info.

fix chapter title.

(cherry picked from commit 582688f1be17611d2926a4a7281d55bc7ccaa611)

11 years agoDEVEL15-windows-top-makefile-20090525
Jeffrey Altman [Tue, 26 May 2009 01:54:25 +0000]
DEVEL15-windows-top-makefile-20090525

LICENSE MIT

add rules for building documentation sources

add option for including cygwin libs in wix installer

(cherry picked from commit 2f7046eff6599d9a66a7f31bb6f33b7f88646db5)

11 years agoDEVEL15-windows-doc-man-dependency-20090525
Jeffrey Altman [Tue, 26 May 2009 00:54:06 +0000]
DEVEL15-windows-doc-man-dependency-20090525

LICENSE IPL10

html\index.html not index.html

(cherry picked from commit 4a523957feabf7f5d9f36b7a05c79fd6eccf426e)

11 years agoDEVEL15-windows-cellservdb-lookup-20090525
Jeffrey Altman [Mon, 25 May 2009 23:06:37 +0000]
DEVEL15-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.

(cherry picked from commit 22a932c40a3ecabae8110db21572a4cae2ba1fae)

11 years agoDEVEL15-windows-libafsconf-20090525
Jeffrey Altman [Mon, 25 May 2009 22:31:21 +0000]
DEVEL15-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.

(cherry picked from commit c8ccb887882bc4affef02a8193e9b1ed01f885f5)

11 years agoDEVEL15-windows-doc-man-makefile-20090525
Jeffrey Altman [Mon, 25 May 2009 21:00:26 +0000]
DEVEL15-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.

(cherry picked from commit d8410b56c895830d609846aec56d61dfd2efb897)

11 years agoDEVEL15-windows-make-version-20090525
Jeffrey Altman [Mon, 25 May 2009 20:57:53 +0000]
DEVEL15-windows-make-version-20090525

LICENSE IPL10

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

(cherry picked from commit 20460e1391d87bdedbf1b84e233ffd5b926b5df8)

11 years agoDEVEL15-windows-btree-flush-race-20090522
Jeffrey Altman [Fri, 22 May 2009 17:01:21 +0000]
DEVEL15-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

(cherry picked from commit a31fd7f70f0049a180e5b02202941d3b1266c1f8)

11 years agoDEVEL15-background-fsync-consistency-issues-20090522
Derrick Brashear [Fri, 22 May 2009 17:00:35 +0000]
DEVEL15-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.

(cherry picked from commit 12e85227c5dbfdb1258718ee3360bffacc4f96ac)

11 years agoDEVEL15-windows-install-wix-vs2008-20090521
Asanka Herath [Thu, 21 May 2009 19:08:34 +0000]
DEVEL15-windows-install-wix-vs2008-20090521

LICENSE MIT

add merge modules for VS2008 RunTime Libraries

(cherry picked from commit 556597af26150041e3b44ec2769ec6c962ab06db)

11 years agoDEVEL15-windows-install-wix-doc-xml-20090521
Jeffrey Altman [Thu, 21 May 2009 19:06:21 +0000]
DEVEL15-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.

(cherry picked from commit 32ddb143388bb5d6bbcc1f3afc5860f0566de81c)

11 years agoDEVEL15-doc-xml-version-generation-20090521
Jeffrey Altman [Thu, 21 May 2009 18:52:13 +0000]
DEVEL15-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.

(cherry picked from commit e4b36071ef35b73fb68db6c054e811ba7e6b65e0)

11 years agoDEVEL15-config-mkvers-xml-20090521
Jeffrey Altman [Thu, 21 May 2009 18:26:03 +0000]
DEVEL15-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

(cherry picked from commit da5794d9caa47e96679c197610bd8ea2a682c338)

11 years agoDEVEL15-windows-install-nsis-20090521
Jeffrey Altman [Thu, 21 May 2009 14:34:17 +0000]
DEVEL15-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.

(cherry picked from commit 278f8a18305b376e1c764bb38dc0e69ba5b246e5)

11 years agoDEVEL15-windows-make-cygwin-libs-20090520
Asanka Herath [Thu, 21 May 2009 04:26:12 +0000]
DEVEL15-windows-make-cygwin-libs-20090520

LICENSE MIT

added libosi.a and libafsconf.a

(cherry picked from commit 716c81782eae719b43b3b90464b821b398a0f9a6)

11 years agoDEVEL15-windows-make-cygwin-libs-20090519
Asanka Herath [Wed, 20 May 2009 06:03:51 +0000]
DEVEL15-windows-make-cygwin-libs-20090519

LICENSE MIT

Unless NOCYGWIN is defined create cygwin .a import libraries
for each OpenAFS DLL that is constructed.

(cherry picked from commit 4e9bd3bd0ec5977609fd75d681fcc6dbd24a8c6f)

11 years agoDEVEL15-doc-xml-windows-20090519
Jeffrey Altman [Wed, 20 May 2009 05:54:14 +0000]
DEVEL15-doc-xml-windows-20090519

LICENSE IPL10

remove references to xml files no longer in the repository

(cherry picked from commit 85a10ffc9385240818ff9a968f308ac31ee03348)

11 years agoDEVEL15-krb-conf-manpage-path-fix-20090519
Derrick Brashear [Tue, 19 May 2009 19:40:20 +0000]
DEVEL15-krb-conf-manpage-path-fix-20090519

LICENSE IPL10

fix path to krb.conf, per IRC discussion

(cherry picked from commit 6cc155e8da8f505443f43a312a522a64c52515e8)

11 years agoDEVEL15-doc-xml-build-20090518
Russ Allbery [Tue, 19 May 2009 04:59:45 +0000]
DEVEL15-doc-xml-build-20090518

LICENSE MIT

Standardize the UNIX Makefiles for all of the DocBook guides.  Remove the
rest of the generated files and switch to xsltproc and dblatex for the
document generation in all cases.  Fix a few DocBook errors by removing
the contents of the <index> tag and removing the unknown <pubsnumber> tag
in the <revision> field.

(cherry picked from commit 7b56f2ebfc8c2e1695e007798833ad2053e08113)

11 years agoDEVEL15-doc-quick-start-unix-build-20090518
Russ Allbery [Tue, 19 May 2009 04:29:39 +0000]
DEVEL15-doc-quick-start-unix-build-20090518

LICENSE MIT

Use dblatex to build PDF documentation instead of docbook2html and xsltproc
to build HTML instead of docbook2html.  Remove all the index generation
logic, since dblatex and xsltproc handle that automatically.  Remove the
contents of the <index> tag in the source, since neither program requires
there be anything in there.

Remove the style sheets and configuration that were used for docbook2*.

(cherry picked from commit 74585aa5003cfb42103ac8d6059137eebd2005e0)

11 years agoDEVEL15-windows-wix-new-man-pages-20090518
Jeffrey Altman [Tue, 19 May 2009 03:36:33 +0000]
DEVEL15-windows-wix-new-man-pages-20090518

LICENSE MIT
FIXES 124800

pod1/compile_et.pod
pod1/copyauth.pod
pod1/fs_cscpolicy.pod
pod1/fs_getfid.pod
pod1/fs_memdump.pod
pod1/fs_monitor.pod
pod1/fs_rxstatproc.pod
pod1/fs_setcbaddr.pod
pod1/fs_trace.pod
pod8/rmtsysd.pod
pod8/vsys.pod

(cherry picked from commit 8f2a8edb2aec01226d18feae71643e856bbd6470)

11 years agoDEVEL15-man-page-syntax-errors-20090518
Russ Allbery [Tue, 19 May 2009 00:57:08 +0000]
DEVEL15-man-page-syntax-errors-20090518

LICENSE BSD

Fix some man page syntax errors that snuck into the recent round of
updates.

(cherry picked from commit 9ad6c37ccfec016df9e845972ae626a1da19dfbf)

11 years agoDEVEL15-man-page-krb-varients-20090518
Steven Jenkins [Tue, 19 May 2009 00:38:15 +0000]
DEVEL15-man-page-krb-varients-20090518

FIXES 124799
LICENSE IPL10

Install symlinks for the *.krb versions of klog, pagsh, and tokens to the
non-krb versions and add information about the *.krb versions to the
non-krb man pages.

(cherry picked from commit 798ffe54af1f5798bf07947439fc62946bc2f07e)

11 years agoDEVEL15-man-page-cellservdb-updates-20090518
Steven Jenkins [Tue, 19 May 2009 00:35:55 +0000]
DEVEL15-man-page-cellservdb-updates-20090518

FIXES 124794
LICENSE IPL10

Note in CellServDB man page that it's also used to populate root.afs for
a -dynroot client.  Also document the dynamic lookup of database servers
with -afsdb and provide some more information about when CellServDB has to
contain the cell and when it doesn't.

Mark the backup server as optional, and indicate that the authentication
server is deprecated and CellServDB isn't required for authentication if
Kerberos v5 and aklog are used.

(cherry picked from commit 6df60468130977744fea0499fba2351ef74175d8)

11 years agoDEVEL15-man-page-vsys-20090518
Steven Jenkins [Tue, 19 May 2009 00:35:32 +0000]
DEVEL15-man-page-vsys-20090518

LICENSE BSD
FIXES 124793

Add man page for vsys.

(cherry picked from commit 1df9282985949b38313f05640d9afd05948f45c4)

11 years agoDEVEL15-man-page-rmtsysd-20090518
Steven Jenkins [Tue, 19 May 2009 00:34:56 +0000]
DEVEL15-man-page-rmtsysd-20090518

LICENSE IPL10
FIXES 124792

New man page for rmtsysd.

(cherry picked from commit 921774594faead45f9432af218c5f9f394a03204)

11 years agoDEVEL15-man-page-restorevol-20090518
Steven Jenkins [Tue, 19 May 2009 00:34:06 +0000]
DEVEL15-man-page-restorevol-20090518

LICENSE IPL10
FIXES 124791

Add man page for restorevol.

(cherry picked from commit 97b0d230145c4c5f58ef785b11bf2d201ded2d26)

11 years agoDEVEL15-man-page-fs-monitor-20090518
Steven Jenkins [Tue, 19 May 2009 00:33:43 +0000]
DEVEL15-man-page-fs-monitor-20090518

LICENSE IPL10
FIXES 124790

Add man page for fs monitor.

(cherry picked from commit 01ba5ab1ed24d14c1068d5dac951cbea1befba10)

11 years agoDEVEL15-man-page-copyauth-20090518
Steven Jenkins [Tue, 19 May 2009 00:33:25 +0000]
DEVEL15-man-page-copyauth-20090518

FIXES 124789
LICENSE IPL10

Add man page for copyauth.

(cherry picked from commit a7a80efd577d9f2a9573fe35c12ca30b59e2f375)

11 years agoDEVEL15-man-page-compile-et-20090518
Steven Jenkins [Tue, 19 May 2009 00:33:01 +0000]
DEVEL15-man-page-compile-et-20090518

LICENSE IPL10
FIXES 124788

Add man page for compile_et.

(cherry picked from commit 16ec87e0b382bc8bca14ec6a70987f54899eea7f)

11 years agoDEVEL15-man-page-yet-more-fs-commands-20090517
Mike Robinson [Mon, 18 May 2009 04:40:54 +0000]
DEVEL15-man-page-yet-more-fs-commands-20090517

LICENSE IPL10
FIXES 109189

Add new man pages for fs rxstatproc, fs setcbaddr, and fs trace.  Also
updates the links from fs to its subsidiary man pages and fixes the
fs rxstatpeer man page a bit to mirror fs rxstatproc.

(cherry picked from commit faf518ace7c8c0ec9c3269afd267afd276d69cd4)

11 years agoDEVEL15-man-page-more-fs-commands-20090517
Steven Jenkins [Mon, 18 May 2009 04:40:26 +0000]
DEVEL15-man-page-more-fs-commands-20090517

LICENSE IPL10
FIXES 124756

Add man pages for fs cscpolicy, fs getfid, and fs memdump.

(cherry picked from commit 32c93cf55210809de92e81428bff784b07a58d44)

11 years agoDEVEL15-man-pod-fileserver-20090515
Simon Wilkinson [Fri, 15 May 2009 14:30:18 +0000]
DEVEL15-man-pod-fileserver-20090515

LICENSE IPL10
FIXES 124778

-L sets the max number of threads

(cherry picked from commit d5c2efa499fdef6811e40e79a041a43761b3d208)

11 years agoDEVEL15-printf-format-macros-20090515
Jeffrey Altman [Fri, 15 May 2009 13:30:18 +0000]
DEVEL15-printf-format-macros-20090515

LICENSE IPL10
FIXES 124776

The Windows format macro for AFS_INT64_FMT was wrong.
It is "I64" not "l64".

Also added macros for AFS_SIZET_FMT.  Although not currently
in use.  size_t varies in size on Windows just like pointers.

(cherry picked from commit b41d124409589e2890dea60963db4dc158f4d19c)

11 years agoDEVEL15-vol-split-no-nearinode-hint-for-namei-20090514
Derrick Brashear [Thu, 14 May 2009 21:50:53 +0000]
DEVEL15-vol-split-no-nearinode-hint-for-namei-20090514

LICENSE IPL10

nearinode hint makes no sense when you're not using inode fileserver

(cherry picked from commit 1f07c903055c54fb7f0a584e88cfc1c289a161c6)

11 years agoDEVEL15-doc-xml-release-notes-windows-20090514
Jeffrey Altman [Thu, 14 May 2009 18:49:25 +0000]
DEVEL15-doc-xml-release-notes-windows-20090514

LICENSE MIT

Initial take at converting the OpenAFS for Windows Release Notes
to DocBook.

Website style HTML and HtmlHelp (.chm) output is generated.

Formatting of Registry Value descriptions could be improved.

There is no indexing at present.

(cherry picked from commit fb985eefcea791ae16610c210f1ca5408b8ed62f)

11 years agoDEVEL15-cfileopen-cleanup-20090514
Derrick Brashear [Thu, 14 May 2009 05:05:42 +0000]
DEVEL15-cfileopen-cleanup-20090514

LICENSE IPL10

make disconnected work again. also, use static_inline macro consistently

(cherry picked from commit 8a2fcaa8f45c36a80c574a7e903e71041bbd53cc)

11 years agoDEVEL15-doc-xml-20090513
Jeffrey Altman [Thu, 14 May 2009 03:29:07 +0000]
DEVEL15-doc-xml-20090513

LICENSE IPL10
FIXES 124760

Remove generated HTML from the respository

Update XML to support autogeneration of Index files via XSLT

Add graphics referenced by generated HTML output

Add top level index.html used by the docs.openafs.org web site.

Add NTMakefile for AdminGuide, QuickStartUnix, and UserGuide
that utilizes XSLT to generate Windows HTMLHelp (.CHM) and
website appropriate HTML output.

In AdminGuide and UserGuide, relabel the documentation as OpenAFS
instead of IBM AFS.  Create a new revision entry for the OpenAFS
docs.

Incorporate updates to QuickStartUnix Appendix A

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/a3632.html,v
Working file: doc/xml/UserGuide/a3632.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/a3812.html,v
Working file: doc/xml/UserGuide/a3812.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/book1.html,v
Working file: doc/xml/UserGuide/book1.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c1095.html,v
Working file: doc/xml/UserGuide/c1095.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c113.html,v
Working file: doc/xml/UserGuide/c113.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c1444.html,v
Working file: doc/xml/UserGuide/c1444.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c2454.html,v
Working file: doc/xml/UserGuide/c2454.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c3402.html,v
Working file: doc/xml/UserGuide/c3402.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c569.html,v
Working file: doc/xml/UserGuide/c569.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/f24.html,v
Working file: doc/xml/UserGuide/f24.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/g4153.html,v
Working file: doc/xml/UserGuide/g4153.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/i4608.html,v
Working file: doc/xml/UserGuide/i4608.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

====================
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 124760

Remove generated HTML from the respository

Update XML to support autogeneration of Index files via XSLT

Add graphics referenced by generated HTML output

Add top level index.html used by the docs.openafs.org web site.

Add NTMakefile for AdminGuide, QuickStartUnix, and UserGuide
that utilizes XSLT to generate Windows HTMLHelp (.CHM) and
website appropriate HTML output.

In AdminGuide and UserGuide, relabel the documentation as OpenAFS
instead of IBM AFS.  Create a new revision entry for the OpenAFS
docs.

Incorporate updates to QuickStartUnix Appendix A

(cherry picked from commit 9e8e080a5c1281dfa6109700cacd13cd1c44f5ef)

11 years agoDEVEL15-ukernel-use-fsblkcnt-20090513
Derrick Brashear [Wed, 13 May 2009 22:35:08 +0000]
DEVEL15-ukernel-use-fsblkcnt-20090513

LICENSE IPL10
FIXES 124681

blkcnt_t doesn't exist on fbsd, macos 10.3, and isn't really the right type.
this is the right type, but also can be missing. test appropriately.

(cherry picked from commit 070f02923cfa4e01ccb754928cdd4d02bec48720)

11 years agoDEVEL15-mmap-antirecursion-port-to-head-20090513
Marc Dionne [Wed, 13 May 2009 21:41:36 +0000]
DEVEL15-mmap-antirecursion-port-to-head-20090513

LICENSE IPL10
FIXES 124770

deal correctly with the structure reorg which took place

(cherry picked from commit 2c0bf1c881f34554472982df2b74c50c4eeb7dcd)

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

LICENSE IPL10
FIXES 124681

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

(cherry picked from commit 6ba44802ea6cf722c22a4784cbbad70ed6f5d60a)

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

LICENSE IPL10
FIXES 124627

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

(cherry picked from commit 5e0e1ea2540d0cb7d7274350eb1fadfd41733ea4)