5929 Commits

Author SHA1 Message Date
Jeffrey Altman
34c18b28a6 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)
2009-05-25 20:57:53 +00:00
Jeffrey Altman
2d17f243e1 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)
2009-05-22 17:01:21 +00:00
Derrick Brashear
4742ef5e40 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)
2009-05-22 17:00:35 +00:00
Asanka Herath
25a4a0f4ca DEVEL15-windows-install-wix-vs2008-20090521
LICENSE MIT

add merge modules for VS2008 RunTime Libraries


(cherry picked from commit 556597af26150041e3b44ec2769ec6c962ab06db)
2009-05-21 19:08:34 +00:00
Jeffrey Altman
2ba93c6cd3 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)
2009-05-21 19:06:21 +00:00
Jeffrey Altman
cd48bdf5e2 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)
2009-05-21 18:52:13 +00:00
Jeffrey Altman
43c97cb176 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)
2009-05-21 18:26:03 +00:00
Jeffrey Altman
948bf13d90 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)
2009-05-21 14:34:17 +00:00
Asanka Herath
4d88040478 DEVEL15-windows-make-cygwin-libs-20090520
LICENSE MIT

added libosi.a and libafsconf.a


(cherry picked from commit 716c81782eae719b43b3b90464b821b398a0f9a6)
2009-05-21 04:26:12 +00:00
Asanka Herath
c18ed1da69 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)
2009-05-20 06:03:51 +00:00
Jeffrey Altman
8393039278 DEVEL15-doc-xml-windows-20090519
LICENSE IPL10

remove references to xml files no longer in the repository


(cherry picked from commit 85a10ffc9385240818ff9a968f308ac31ee03348)
2009-05-20 05:54:14 +00:00
Derrick Brashear
37e06dce26 DEVEL15-krb-conf-manpage-path-fix-20090519
LICENSE IPL10

fix path to krb.conf, per IRC discussion


(cherry picked from commit 6cc155e8da8f505443f43a312a522a64c52515e8)
2009-05-19 19:40:20 +00:00
Russ Allbery
54bcfdfb4f 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)
2009-05-19 04:59:45 +00:00
Russ Allbery
0b25644ae3 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)
2009-05-19 04:29:39 +00:00
Jeffrey Altman
44d902e982 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)
2009-05-19 03:36:33 +00:00
Russ Allbery
ac0140ae8d 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)
2009-05-19 00:57:08 +00:00
Steven Jenkins
3f20ec4c69 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)
2009-05-19 00:38:15 +00:00
Steven Jenkins
7be1233224 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)
2009-05-19 00:35:55 +00:00
Steven Jenkins
72f6f09b3e DEVEL15-man-page-vsys-20090518
LICENSE BSD
FIXES 124793

Add man page for vsys.


(cherry picked from commit 1df9282985949b38313f05640d9afd05948f45c4)
2009-05-19 00:35:32 +00:00
Steven Jenkins
c138a8e243 DEVEL15-man-page-rmtsysd-20090518
LICENSE IPL10
FIXES 124792

New man page for rmtsysd.


(cherry picked from commit 921774594faead45f9432af218c5f9f394a03204)
2009-05-19 00:34:56 +00:00
Steven Jenkins
a7be67bd4c DEVEL15-man-page-restorevol-20090518
LICENSE IPL10
FIXES 124791

Add man page for restorevol.


(cherry picked from commit 97b0d230145c4c5f58ef785b11bf2d201ded2d26)
2009-05-19 00:34:06 +00:00
Steven Jenkins
add2160a6e DEVEL15-man-page-fs-monitor-20090518
LICENSE IPL10
FIXES 124790

Add man page for fs monitor.


(cherry picked from commit 01ba5ab1ed24d14c1068d5dac951cbea1befba10)
2009-05-19 00:33:43 +00:00
Steven Jenkins
0559fd6754 DEVEL15-man-page-copyauth-20090518
FIXES 124789
LICENSE IPL10

Add man page for copyauth.


(cherry picked from commit a7a80efd577d9f2a9573fe35c12ca30b59e2f375)
2009-05-19 00:33:25 +00:00
Steven Jenkins
87d6d5eae0 DEVEL15-man-page-compile-et-20090518
LICENSE IPL10
FIXES 124788

Add man page for compile_et.


(cherry picked from commit 16ec87e0b382bc8bca14ec6a70987f54899eea7f)
2009-05-19 00:33:01 +00:00
Mike Robinson
7af367605e 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)
2009-05-18 04:40:54 +00:00
Steven Jenkins
43473c8c0e 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)
2009-05-18 04:40:26 +00:00
Simon Wilkinson
67e8e1c45a DEVEL15-man-pod-fileserver-20090515
LICENSE IPL10
FIXES 124778

-L sets the max number of threads


(cherry picked from commit d5c2efa499fdef6811e40e79a041a43761b3d208)
2009-05-15 14:30:18 +00:00
Jeffrey Altman
bec8721b20 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)
2009-05-15 13:30:18 +00:00
Derrick Brashear
fe8c1d0064 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)
2009-05-14 21:50:53 +00:00
Jeffrey Altman
5a5ce4513f 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)
2009-05-14 18:49:25 +00:00
Derrick Brashear
ec383a0dd7 DEVEL15-cfileopen-cleanup-20090514
LICENSE IPL10

make disconnected work again. also, use static_inline macro consistently


(cherry picked from commit 8a2fcaa8f45c36a80c574a7e903e71041bbd53cc)
2009-05-14 05:05:42 +00:00
Jeffrey Altman
409f760862 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)
2009-05-14 03:29:07 +00:00
Derrick Brashear
864dd3b2ed 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)
2009-05-13 22:35:08 +00:00
Marc Dionne
f50a0c535b 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)
2009-05-13 21:41:36 +00:00
Derrick Brashear
69a102388c 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)
2009-05-12 20:40:32 +00:00
Felix Frank
ef526f5c02 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)
2009-05-12 18:56:40 +00:00
Matt Benjamin
277f8a1f14 DEVEL15-freebsd-kauth-sig-t-20090512
LICENSE IPL10
FIXES 124569

define the old signal type as sig_t on freebsd (e.g. everywhere we prototype as
sig_t)


(cherry picked from commit 3b6bf1a05730b6383d1cef4516b94a63e802521b)
2009-05-12 18:19:09 +00:00
Rainer Toebbicke
379acc69dd DEVEL15-rxdebug-print-values-unsigned-20090512
LICENSE IPL10
FIXES 124563

for the values which are unsigned, use %u, not %d


(cherry picked from commit b967654434f4d24b50dbc96e0296d2c632f76ea3)
2009-05-12 18:12:30 +00:00
Anders Kaseorg
cfc2a55753 DEVEL15-redhat-use-postinit-in-initscript-20090512
LICENSE IPL10
FIXES 124552

if a postinit script is defined, use it


(cherry picked from commit eb9fff14c7be1b15369c6d1a44426c1c7c82c92e)
2009-05-12 17:58:37 +00:00
Felix Frank
f9115cc3eb DEVEL15-memcache-write-on-laststore-20090512
LICENSE IPL10
FIXES 124671

write back dirty pages on last store for memcache, lest we end up
unintentionally discarding the changes.


(cherry picked from commit 214ce7c8b488e90301e9f604b6ecc625b7000e62)
2009-05-12 17:42:37 +00:00
Steven Jenkins
d1907a2908 DEVEL15-tests-generate-dirpath-in-makefile-20090512
LICENSE IPL10
FIXES 124715

fix rmcell to not have hardcoded paths; instead, generate a dirpath shell
script from makefile and use that


(cherry picked from commit c6adb0d2f32f8e8f3974b8ea3049601bf01d6877)
2009-05-12 17:23:04 +00:00
Steven Jenkins
41e50b05ac DEVEL15-tests-no-dirpath-infile-20090512
LICENSE IPL10
FIXES 124716

Dirpath.pm.in is no longer needed


(cherry picked from commit c39f38d8c6703a9d1b9967a1bf0901db35e19267)
2009-05-12 14:06:24 +00:00
Matt Benjamin
c85ea5dd7d DEVEL15-openbsd-44-45-20090512
LICENSE IPL10
FIXES 124719

add missing osi_free backend, missing param file, modify soreceive for 4.5


(cherry picked from commit 4b9283a30db0c3aee943c94573b412f24894d366)
2009-05-12 14:02:58 +00:00
Jeffrey Altman
6d90d92c8b DEVEL15-windows-dcache-store-data-20090511
LICENSE MIT

The windows dcache module synchronizes store data operations in
order to prevent multiple simultaneous store data operations against
the same file at the same time by multiple threads.  This is performed
using cm_SyncOp(CM_SCACHESYNC_STOREDATA_EXCL).  However, cm_SetupStoreBIOD()
was being processed prior to the synchronization.  As a result a dirty
buffer could be added to two BIOD lists resulting in the same buffer
contents being written to the file server twice.

This patch moves the cm_SetupStoreBIOD() into the synchronization region.
It also adds a new 'locked' parameter to cm_ReleaseBIOD() that indicates
whether or not the cm_scache_t object is locked when called.  This
permits fewer lock state changes to be used in several cases.


(cherry picked from commit 947213da0ee6a0d805f0fc5eaeec0202d0bbffa4)
2009-05-11 17:22:35 +00:00
Chas Williams
dd76e75b7c DEVEL15-xml-docbook-documentation-first-pass-20060915
needs more massaging to make it fit the tree, but, get it here first


(cherry picked from commit 52557c982e1ed65c694c5c1387ac2b385356438d)
2009-05-11 16:12:58 +00:00
Simon Wilkinson
3b21ae6002 DEVEL15-linux26-defer-cred-changing-20090511
LICENSE IPL10
FIXES 124737

Newer Linux kernels differentiate between the real and effective
credentials of a process, and prevent a process's credentials from being
change when the effective credentials have been set to a different value.
When AFS notices a keyring PAG exists but no group-based PAG does, the
attempt to rectify this, if done in a VFS call (which changes effective creds)
triggers this issue. We defer the change to the groups to avoid it.


(cherry picked from commit 7d530b9080f6dd4d7f7e4555ed6ce855ff81bcaa)
2009-05-11 15:55:02 +00:00
Jeffrey Altman
1c7cc29971 DEVEL15-windows-hard-and-idle-dead-timeouts-20090511
LICENSE MIT

Fix conditional test that assigns value to idleDeadTimeout

Modify event log message to indicate timeout could be either a
hard or an idle timeout.

As described in the source comments, do not retry on a hard or
idle timeout.


(cherry picked from commit f5a97a145e09a16a9b2d3ab485f33f520235b7e9)
2009-05-11 15:16:32 +00:00
Jeffrey Altman
62d40b40c9 DEVEL15-windows-fs-getfid-20090511
LICENSE MIT

Implement "fs getfid +<path> [-literal]" on Windows.
Same as the first line of output as "fs examine ...".


(cherry picked from commit 5520747790b599bc10013dc78efb81b5d50a3f52)
2009-05-11 15:04:52 +00:00
Marc Dionne
7f5b86916d DEVEL15-linux-fh-based-cache-20090511
LICENSE IPL10
FIXES 123620

rework previous fh-based cache support. now allows use of
arbitrarily large file handles, and build correctly for UKERNEL.

we now just use this if there's no iget, instead of providing a configure
switch.

because this relies on the somewhat invasive patch from 124184 it is not
currently pulled up to 1.4.x


(cherry picked from commit 326ffcc108e1db32fa2071b66ac9dbf2321ae71d)
2009-05-11 14:40:23 +00:00
Simon Wilkinson
fa73954d8b DEVEL15-abstract-cache-inode-ops-20090511
LICENSE IPL10
FIXES 124184

previous versions had abstract functions for linux (use_fh) and osx/solaris
(cache_vnode_path) cache file access, which was contributing to code bloat

switch to a union for disk/memory cache objects, and provide functions to
convert these into something appropriate for each system


(cherry picked from commit 8747236d54742c1c2fb8788c1f6aee4e657b3e89)
2009-05-11 14:28:04 +00:00