Commit Graph

5752 Commits

Author SHA1 Message Date
Jeffrey Altman
d8410b56c8 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.
2009-05-25 21:00:18 +00:00
Jeffrey Altman
20460e1391 windows-make-version-20090525
LICENSE IPL10

remove space before "KEEP".  older versions of nmake.exe do not like it.
2009-05-25 20:57:39 +00:00
Jeffrey Altman
a31fd7f70f 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
2009-05-22 17:00:33 +00:00
Derrick Brashear
12e85227c5 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.
2009-05-22 17:00:26 +00:00
Asanka Herath
556597af26 windows-install-wix-vs2008-20090521
LICENSE MIT

add merge modules for VS2008 RunTime Libraries
2009-05-21 19:08:23 +00:00
Jeffrey Altman
32ddb14338 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.
2009-05-21 19:06:08 +00:00
Jeffrey Altman
e4b36071ef 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.
2009-05-21 18:51:42 +00:00
Jeffrey Altman
da5794d9ca 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
2009-05-21 18:25:50 +00:00
Jeffrey Altman
278f8a1830 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.
2009-05-21 14:33:47 +00:00
Asanka Herath
716c81782e windows-make-cygwin-libs-20090520
LICENSE MIT

added libosi.a and libafsconf.a
2009-05-21 04:25:46 +00:00
Asanka Herath
4e9bd3bd0e windows-make-cygwin-libs-20090519
LICENSE MIT

Unless NOCYGWIN is defined create cygwin .a import libraries
for each OpenAFS DLL that is constructed.
2009-05-20 06:03:09 +00:00
Jeffrey Altman
85a10ffc93 doc-xml-windows-20090519
LICENSE IPL10

remove references to xml files no longer in the repository
2009-05-20 05:53:57 +00:00
Derrick Brashear
6cc155e8da krb-conf-manpage-path-fix-20090519
LICENSE IPL10

fix path to krb.conf, per IRC discussion
2009-05-19 19:40:09 +00:00
Russ Allbery
7b56f2ebfc 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.
2009-05-19 04:58:53 +00:00
Russ Allbery
74585aa500 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*.
2009-05-19 04:27:36 +00:00
Jeffrey Altman
8f2a8edb2a 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
2009-05-19 03:36:21 +00:00
Russ Allbery
9ad6c37ccf man-page-syntax-errors-20090518
LICENSE BSD

Fix some man page syntax errors that snuck into the recent round of
updates.
2009-05-19 00:53:26 +00:00
Steven Jenkins
798ffe54af 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.
2009-05-18 23:22:29 +00:00
Steven Jenkins
6df6046813 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.
2009-05-18 21:42:26 +00:00
Steven Jenkins
1df9282985 man-page-vsys-20090518
LICENSE BSD
FIXES 124793

Add man page for vsys.
2009-05-18 21:28:26 +00:00
Steven Jenkins
921774594f man-page-rmtsysd-20090518
LICENSE IPL10
FIXES 124792

New man page for rmtsysd.
2009-05-18 21:22:04 +00:00
Steven Jenkins
97b0d23014 man-page-restorevol-20090518
LICENSE IPL10
FIXES 124791

Add man page for restorevol.
2009-05-18 19:46:33 +00:00
Steven Jenkins
01ba5ab1ed man-page-fs-monitor-20090518
LICENSE IPL10
FIXES 124790

Add man page for fs monitor.
2009-05-18 19:35:31 +00:00
Steven Jenkins
a7a80efd57 man-page-copyauth-20090518
FIXES 124789
LICENSE IPL10

Add man page for copyauth.
2009-05-18 19:32:06 +00:00
Steven Jenkins
16ec87e0b3 man-page-compile-et-20090518
LICENSE IPL10
FIXES 124788

Add man page for compile_et.
2009-05-18 19:28:05 +00:00
Mike Robinson
faf518ace7 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.
2009-05-18 04:34:38 +00:00
Steven Jenkins
32c93cf552 man-page-more-fs-commands-20090517
LICENSE IPL10
FIXES 124756

Add man pages for fs cscpolicy, fs getfid, and fs memdump.
2009-05-18 03:50:00 +00:00
Simon Wilkinson
d5c2efa499 man-pod-fileserver-20090515
LICENSE IPL10
FIXES 124778

-L sets the max number of threads
2009-05-15 14:30:07 +00:00
Jeffrey Altman
b41d124409 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.
2009-05-15 13:30:06 +00:00
Derrick Brashear
1f07c90305 vol-split-no-nearinode-hint-for-namei-20090514
LICENSE IPL10

nearinode hint makes no sense when you're not using inode fileserver
2009-05-14 21:50:44 +00:00
Jeffrey Altman
fb985eefce 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.
2009-05-14 18:47:44 +00:00
Derrick Brashear
8a2fcaa8f4 cfileopen-cleanup-20090514
LICENSE IPL10

make disconnected work again. also, use static_inline macro consistently
2009-05-14 05:05:29 +00:00
Jeffrey Altman
9e8e080a5c 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
2009-05-14 03:25:35 +00:00
Derrick Brashear
070f02923c 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.
2009-05-13 22:34:56 +00:00
Marc Dionne
2c0bf1c881 mmap-antirecursion-port-to-head-20090513
LICENSE IPL10
FIXES 124770

deal correctly with the structure reorg which took place
2009-05-13 21:40:56 +00:00
Derrick Brashear
6ba44802ea 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.
2009-05-12 20:40:20 +00:00
Felix Frank
5e0e1ea254 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
2009-05-12 18:56:30 +00:00
Matt Benjamin
3b6bf1a057 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)
2009-05-12 18:18:37 +00:00
Rainer Toebbicke
b967654434 rxdebug-print-values-unsigned-20090512
LICENSE IPL10
FIXES 124563

for the values which are unsigned, use %u, not %d
2009-05-12 18:12:20 +00:00
Anders Kaseorg
eb9fff14c7 redhat-use-postinit-in-initscript-20090512
LICENSE IPL10
FIXES 124552

if a postinit script is defined, use it
2009-05-12 17:58:27 +00:00
Felix Frank
214ce7c8b4 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.
2009-05-12 17:42:24 +00:00
Steven Jenkins
c6adb0d2f3 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
2009-05-12 17:22:49 +00:00
Steven Jenkins
c39f38d8c6 tests-no-dirpath-infile-20090512
LICENSE IPL10
FIXES 124716

Dirpath.pm.in is no longer needed
2009-05-12 14:06:14 +00:00
Matt Benjamin
4b9283a30d openbsd-44-45-20090512
LICENSE IPL10
FIXES 124719

add missing osi_free backend, missing param file, modify soreceive for 4.5
2009-05-12 14:02:38 +00:00
Jeffrey Altman
947213da0e 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.
2009-05-11 17:22:24 +00:00
Simon Wilkinson
7d530b9080 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.
2009-05-11 15:54:50 +00:00
Jeffrey Altman
f5a97a145e 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.
2009-05-11 15:15:35 +00:00
Jeffrey Altman
5520747790 windows-fs-getfid-20090511
LICENSE MIT

Implement "fs getfid +<path> [-literal]" on Windows.
Same as the first line of output as "fs examine ...".
2009-05-11 15:04:43 +00:00
Marc Dionne
326ffcc108 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
2009-05-11 14:39:58 +00:00
Simon Wilkinson
8747236d54 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
2009-05-11 14:27:42 +00:00