openafs.git
15 years agowindows-nsis-install-idn-redist-20080626
Asanka Herath [Fri, 27 Jun 2008 02:58:36 +0000]
windows-nsis-install-idn-redist-20080626

LICENSE MIT

Install the Microsoft IDN Redistributables which are required for
Unicode Normalization on XP and 2003.

15 years agowindows-vlserver-makefile-20080626
Jeffrey Altman [Thu, 26 Jun 2008 18:04:04 +0000]
windows-vlserver-makefile-20080626

LICENSE MIT

more consistency changes to get the make rules for headers right

15 years agowindows-nls-includes-20080626
Jeffrey Altman [Thu, 26 Jun 2008 17:46:35 +0000]
windows-nls-includes-20080626

LICENSE MIT

Add include for cm_nls.h

15 years agowindows-unicode-20080626
Asanka Herath [Thu, 26 Jun 2008 06:43:49 +0000]
windows-unicode-20080626

LICENSE MIT

This patch is the second stage of the Unicode conversion.  In this stage
the cache manager has been converted from using 8-bit UTF8 C strings to
16-bit UTF16 C strings in the SMB, the DNLC, the B+ tree, and other
directly related modules.  The cm_cell, cm_volume, cm_scache, cm_buf,
cm_dcache, and cm_dir modules are left 8-bit because their data is all
8-bit UTF8 since they work only on file server strings.

The SMB layer accepts 16-bit UTF16, the B+ tree and DNLC use normalized
strings as the key, and everything uses UTF8.  Efforts have been made
to minimize the number of transitions from UTF8 to UTF16 and back.

For the most part strings are tagged with clientchar_t and normchar_t
and fschar_t types in order to distinguish between the various types of
strings that are in use.

other changes include addition prototyping.

15 years agowindows-osilog-safestring-unicode-20080624
Asanka Herath [Tue, 24 Jun 2008 14:41:13 +0000]
windows-osilog-safestring-unicode-20080624

LICENSE MIT

convert to using microsoft safe string functions.

add Unicode version of osi_LogSaveStringW.  This is safe to use export
even in none Unicode builds.

Some reformatting.

15 years agotubik-build-fix-20080624
Matt Benjamin [Tue, 24 Jun 2008 13:58:10 +0000]
tubik-build-fix-20080624

LICENSE IPL10

add missing build dependencies

15 years agotubik-build-fix-20080623
Matt Benjamin [Mon, 23 Jun 2008 18:50:06 +0000]
tubik-build-fix-20080623

LICENSE IPL10

add missing build dependencies

15 years agodoc-nfs-translator-instructions-20080622
Derrick Brashear [Mon, 23 Jun 2008 04:40:56 +0000]
doc-nfs-translator-instructions-20080622

LICENSE IPL10
FIXES 103459

clarify instructions for the translator

15 years agolinux-2626-updates-20080612
Marc Dionne [Thu, 12 Jun 2008 21:08:18 +0000]
linux-2626-updates-20080612

LICENSE IPL10
FIXES 102821

fixes which went into 1.4.x already

15 years agocvsignore-updates-20080612
Marc Dionne [Thu, 12 Jun 2008 21:00:12 +0000]
cvsignore-updates-20080612

LICENSE IPL10
FIXES 102819

add missing things to cvsignore files

15 years agotubik-no-pinstall-on-head-20080612
Marc Dionne [Thu, 12 Jun 2008 20:58:23 +0000]
tubik-no-pinstall-on-head-20080612

LICENSE IPL10
FIXES 102819

no more pinstall on the head

15 years agodafs-updates-20080612
Tom Keiser [Thu, 12 Jun 2008 20:12:06 +0000]
dafs-updates-20080612

LICENSE IPL10

pending changes from tom to avoid a deadlock issue

15 years agoptserver-simple-corrupt-protection-20080612
Derrick Brashear [Thu, 12 Jun 2008 19:36:15 +0000]
ptserver-simple-corrupt-protection-20080612

LICENSE IPL10

protects against direct loops, which we have seen in the wild, but not more (yet)

15 years agovolume-limit-higher-20080612
Derrick Brashear [Thu, 12 Jun 2008 18:24:25 +0000]
volume-limit-higher-20080612

LICENSE IPL10

allow more volume lookups to be cached

15 years agowindows-buf-clean-access-denied-20080612
Jeffrey Altman [Thu, 12 Jun 2008 17:04:38 +0000]
windows-buf-clean-access-denied-20080612

LICENSE MIT

If the attempt to write the buffer returns access denied, store that
in the cm_buf_t object so that the error can be propagated.

15 years agowindows-pioctl-refactoring-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:54:23 +0000]
windows-pioctl-refactoring-20080612

LICENSE MIT

Refactor the pioctl handling to provide a layer of abstraction
between the smb server and the actual pioctl data processing.
This will permit a redirector pioctl layer to be implemented
on top of the core cm_ioctl interfaces.

The general approach is that there is a new cm_ioctl_t object
which is embedded withing a higher level abstraction object.
This object maintains all of the pioctl state processing and
removes any notion of file descriptors or other communication
channel parameters.

The cm_ioctl module maintains just about all of the core
functional processing except for SetToken which needs further
abstraction.  Path processing is now performed at the higher
layer and cm_ioctl functions accept cm_user_t, cm_scache_t,
and cm_req_t objects from the higher layer.

The smb_ioctl module performs all of the path translation
using smb server knowledge and passes the necessary objects
to the cm_ioctl module for processing.

15 years agowindows-scache-deletion-and-lock-verification-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:20:46 +0000]
windows-scache-deletion-and-lock-verification-20080612

LICENSE MIT

Add lock assertions to various functions.

Obtain a missing lock around a call to cm_RemoveSCacheFromHashTable().

Correct an abstraction layer violation.  cm_scache_t objects should
be marked deleted in cm_Unlink() and cm_RemoveDir() and not in
smb_CloseFID().  Cleanup of deleted cm_scache_t objects should be
performed in cm_ReleaseSCache() when the reference count hits zero.

Prototype cm_AdjustScacheLRU() and re-implement it using osi_QAddH().

15 years agowindows-vnodeops-wrong-logfile-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:00:08 +0000]
windows-vnodeops-wrong-logfile-20080612

LICENSE MIT

Use afsd_logp instead of smb_logp in osi_LogX() calls.
Do not violate layer abstraction.

15 years agowindows-scache-hash-tables-20080612
Jeffrey Altman [Thu, 12 Jun 2008 14:33:36 +0000]
windows-scache-hash-tables-20080612

LICENSE MIT

Prevent corruption of the cm_data.scacheHashTablep lists when removing
and then re-adding entries to the hash table.  The cm_scache_t nextp
fields were not being reset to NULL which permitted loops to be created.

15 years agolinux-2626-support-20080608
Marc Dionne [Mon, 9 Jun 2008 04:38:58 +0000]
linux-2626-support-20080608

LICENSE IPL10
FIXES 101091

add 2.6.26 support

15 years agolimit-mountpoint-symlink-abuse-20080608
Rainer Toebbicke [Mon, 9 Jun 2008 04:30:11 +0000]
limit-mountpoint-symlink-abuse-20080608

LICENSE IPL10
FIXES 100836

official mountpoints end in a .; treat others as symlinks to avoid creating
files which can't be removed

15 years agowindows-check-server-memleak-20080606
Jeffrey Altman [Fri, 6 Jun 2008 14:36:16 +0000]
windows-check-server-memleak-20080606

LICENSE MIT

Found a memleak in the cm_CheckServers routine.  Plug it.

15 years agowindows-bpluss-memleak-20080605
Jeffrey Altman [Fri, 6 Jun 2008 00:22:03 +0000]
windows-bpluss-memleak-20080605

LICENSE MIT

when deleting entries from a directory for items with non-8.3 names
memory for the longname field would be leaked.  don't do that.

15 years agoman-page-readme-fileserver-20080605
Russ Allbery [Thu, 5 Jun 2008 21:19:10 +0000]
man-page-readme-fileserver-20080605

LICENSE BSD

Remove the note about missing file server options.  We think we got them
all.

15 years agoman-page-pts-updates-20080605
Jason Edgecombe [Thu, 5 Jun 2008 20:31:13 +0000]
man-page-pts-updates-20080605

LICENSE BSD

Add documentation of foreign realm user registration and cross-realm PTS
groups.  Add documentation of missing ptserver flags.  Add some additional
to-do entries for the man pages.

15 years agowindows-btree-short-name-20080604
Jeffrey Altman [Wed, 4 Jun 2008 09:02:21 +0000]
windows-btree-short-name-20080604

LICENSE MIT

When constructing the shortname keyed entry in the tree, make sure that
the original long name is preserved.

15 years agolinux24-hlist-unhashed-configure-test-fix-20080602
Derrick Brashear [Tue, 3 Jun 2008 03:53:54 +0000]
linux24-hlist-unhashed-configure-test-fix-20080602

LICENSE IPL10

make the hlist_unhashed test actually work

15 years agowindows-vlserver-remove-extraneous-make-targets-20080529
Jeffrey Altman [Thu, 29 May 2008 18:19:21 +0000]
windows-vlserver-remove-extraneous-make-targets-20080529

LICENSE MIT

remove extraneous make targets

15 years agorx-init-more-packets-20080529
Jeffrey Altman [Thu, 29 May 2008 14:31:41 +0000]
rx-init-more-packets-20080529

LICENSE MIT

It is frequently the case that rx_getAllAddr() is called before
rx_Init() or rx_InitHost().  rx_getAllAddr() obtains the list of
interfaces by using rx_GetIFInfo() which in turn computes and
allocates the number of addition rx packets.  Unfortunately,
rxi_MorePackets() relies on the existence of an initialized mutex
and the mutex is not initialized (on Windows) until the rx_InitHost()
call.  Therefore, we must delay the rxi_MorePackets() call until
after rx_InitHost() if rx_getAllAddr() is called previously.

Failure to do so results in a panic.

15 years agostrftime-portability-20080528
Jeffrey Altman [Thu, 29 May 2008 05:02:36 +0000]
strftime-portability-20080528

LICENSE MIT

%T is not portable to Windows.  Replace it with the equivalent %H:%M:%S
format string.

15 years agorx-out-of-memory-20080528
Jeffrey Altman [Thu, 29 May 2008 04:35:19 +0000]
rx-out-of-memory-20080528

LICENSE MIT

in rxi_MorePackets() if osi_Alloc() fails to return the requested memory
call osi_Assert() instead of permitting subsequent null pointer dereferences
to corrupt the stack.

15 years agowindows-vlserver-headers-20080528
Jeffrey Altman [Wed, 28 May 2008 19:37:09 +0000]
windows-vlserver-headers-20080528

LICENSE MIT

make sure the headers are copied to the correct location by providing
explicit rules

15 years agowindows-buf-redirector-20080528
Jeffrey Altman [Wed, 28 May 2008 18:40:06 +0000]
windows-buf-redirector-20080528

LICENSE MIT

Define new flag CM_BUF_REDIR for use with the redirector.
When set, the flag indicates that the buffer is being held by the redirector
and it should be left untouched by the cache manager.

15 years agowindows-cpluscplus-compat-20080528
Jeffrey Altman [Wed, 28 May 2008 18:33:17 +0000]
windows-cpluscplus-compat-20080528

LICENSE MIT

Do not use reserved keywords 'new' and 'delete'.  Permit headers to
be included by files compiled in cplusplus mode.

15 years agowindows-unused-var-20080528
Jeffrey Altman [Wed, 28 May 2008 18:27:32 +0000]
windows-unused-var-20080528

LICENSE MIT

remove unused var cm_CachePathLen

15 years agowindows-btree-20080528
Jeffrey Altman [Wed, 28 May 2008 18:21:33 +0000]
windows-btree-20080528

LICENSE MIT

add cm_btree.h to afsd.h include list

15 years agowindows-unicode-20080527
Asanka Herath [Tue, 27 May 2008 21:33:14 +0000]
windows-unicode-20080527

LICENSE MIT

An incremental commit.  This patch adds support for normalization of Unicode
but we have concluded that the normalization rules are incorrect.  Normalized
strings should not be written to the file server or returned to the application.

15 years agorx-client-keep-keepalives-20080523
Jeffrey Hutzelman [Fri, 23 May 2008 15:55:29 +0000]
rx-client-keep-keepalives-20080523

LICENSE IPL10
FIXES 20727

not our bug, but, previous code refactoring broke rx. put back keepalives in cli
ent rx connections while they are turned around.

15 years agodisconnected-20080523
Simon Wilkinson [Fri, 23 May 2008 15:57:18 +0000]
disconnected-20080523

LICENSE IPL10

add readonly disconnected support

15 years agodarwin-rc-common-does-set-minus-u-20080522
Derrick Brashear [Thu, 22 May 2008 22:03:16 +0000]
darwin-rc-common-does-set-minus-u-20080522

LICENSE IPL10

we need to cope with an unset variable

15 years agorx-client-keep-keepalives-20080522
Jeffrey Hutzelman [Thu, 22 May 2008 19:28:37 +0000]
rx-client-keep-keepalives-20080522

LICENSE IPL10
FIXES 20727

not our bug, but, previous code refactoring broke rx. put back keepalives in client rx connections while they are turned around.

15 years agodafs-volumestats-conflict-20080521
Derrick Brashear [Thu, 22 May 2008 04:51:27 +0000]
dafs-volumestats-conflict-20080521

LICENSE IPL10

avoid symbol conflict in volume.h

15 years agovos-sync-flag-voltype-properly-20080521
Derrick Brashear [Wed, 21 May 2008 21:15:41 +0000]
vos-sync-flag-voltype-properly-20080521

LICENSE IPL10

when adding a backup volume to a vldb entry, flag it as such.

15 years agotweak-regen-20080521
Simon Wilkinson [Wed, 21 May 2008 16:40:52 +0000]
tweak-regen-20080521

LICENSE IPL10

make regen quieter if you don't want man pages

15 years agomacos-tuning-20080521
Derrick Brashear [Wed, 21 May 2008 14:51:56 +0000]
macos-tuning-20080521

LICENSE IPL10

be more aggressive to get better performance

15 years agopmtu-and-prefetch-20080520
Derrick Brashear [Wed, 21 May 2008 05:22:13 +0000]
pmtu-and-prefetch-20080520

LICENSE IPL10

try hard to optimize using the wire for high latency connections

15 years agolinux-hlist-unhashed-opencoding-20080520
Derrick Brashear [Tue, 20 May 2008 22:02:49 +0000]
linux-hlist-unhashed-opencoding-20080520

LICENSE IPL10
FIXES 93871

if we can't use hlist_unhashed (which is dumb) or we don't have it (less dumb) work around it.

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

if we can't use hlist_unhashed (which is dumb) or we don't have it (less dumb) w
ork around it.

15 years agorx-connection-clones-20080520
Matt Benjamin [Tue, 20 May 2008 21:24:16 +0000]
rx-connection-clones-20080520

LICENSE IPL10
FIXES 89557

add connection clones to allow more than maxcalls per "connection"

15 years agoaix-unpin-after-free-20080520
Derrick Brashear [Tue, 20 May 2008 20:48:34 +0000]
aix-unpin-after-free-20080520

LICENSE IPL10
FIXES 99456

in order that cleanup be safe we need to do it this way

15 years agowindows-smb-parse-string-20080513
Jeffrey Altman [Wed, 14 May 2008 05:14:57 +0000]
windows-smb-parse-string-20080513

LICENSE MIT

if the input length is 0, smb_ParseString should return the NUL string
not NULL.

Do not permit unprotected DebugBreak() calls.

15 years agowindows-unicode-normalize-btree-20080511
Jeffrey Altman [Mon, 12 May 2008 04:02:28 +0000]
windows-unicode-normalize-btree-20080511

LICENSE MIT

Attempt to normalize afs directory strings before inserting them into
the B+tree.

15 years agowindows-unicode-support-normalize-20080511
Asanka Herath [Mon, 12 May 2008 02:36:36 +0000]
windows-unicode-support-normalize-20080511

LICENSE MIT

Actually normalize when normaliz.dll is present.

15 years agowindows-unicode-support-20080511
Jeffrey Altman [Sun, 11 May 2008 14:15:51 +0000]
windows-unicode-support-20080511

LICENSE MIT

In NTCreateX a zero length name is permitted.  This can occur when
opening the root directory of a share.

Change cm_NameEntries() to accept a size_t* instead of long* since
that permits better type safety.

15 years agoudebug-display-lastyeshost-order-20080510
Jeffrey Altman [Sat, 10 May 2008 16:19:35 +0000]
udebug-display-lastyeshost-order-20080510

LICENSE MIT

lastYesHost is already in network byte order.  do not reorder it again
when displaying it.

15 years agoserver-meltdown-avoidance-20080509
Derrick Brashear [Fri, 9 May 2008 19:50:39 +0000]
server-meltdown-avoidance-20080509

LICENSE IPL10

if the server is melting down or otherwise unable to reply with data, it will
cut itself off.

15 years agowindows-unicode-support-20080509
Asanka Herath [Fri, 9 May 2008 15:49:36 +0000]
windows-unicode-support-20080509

LICENSE MIT

This delta provides a fairly complete implementation of Unicode character
set support for the Windows Cache Manager and supporting tools including
fs.exe, symlink.exe, the pioctl library, and the explorer shell extension.

New Build requirements:

In order to build the Microsoft IDN Mitigation APIs SDK 1.1 is now required.
This SDK provides the normalization.h header and the redistribution
install packages required to install normaliz.dll.   The AFSDEV_INCLUDE
path must be modified to point to the directory containing normalization.h.
There are no lib files for this package.

Cache Manager:

The CM SMB server has been modified to negotiate the use of UNICODE.
By default it is on.  The "fs smbunicode" command can be used to disable
UNICODE at runtime.

cm_utils now contains UNICODE normalization and conversion routines built
on top of the IDN Mitigation APIs.

All input strings are normalized with UNICODE Normalization Form C.

The pioctl interface now supports UTF8 strings in addition to ANSI.
UTF8 strings are prefixed with <ESC> % 8 as per the ISO 2022 extension.

Pioctl Library:

New apps should use the pioctl_utf8() function instead of pioctl().
pioctl() is for ANSI strings and provides backward compatibility
with third party apps.

fs.exe and symlink.exe:

Converted to Unicode applications.  All strings are now communicated
using UTF-8.

Explorer Shell Extension:

Converted to a Unicode DLL.  All strings are now communicated using
UTF-8.  Fonts on U.S. Windows distributions are not fully populated.
As a result not all of the characters can be displayed in all of the
dialog boxes.

Still to do:

1. Add Unicode normalization to AFS directory entries and mountpoint
   and symlink target strings.

2. Use the Unicode version of GetCurrentDirectory in fs_utils.c

3. Update the installers to install the IDN Mitigation APIs on XP
   and 2003.  Vista already has them and they are not supported on
   pre XP SP2 releases.

15 years agowindows-have-snprintf-20080509
Jeffrey Altman [Fri, 9 May 2008 04:53:08 +0000]
windows-have-snprintf-20080509

LICENSE MIT

Visual Studio provides [v]snprintf.  No need to define and export it.

15 years agorx-retain-windowing-per-peer-20080508
Derrick Brashear [Thu, 8 May 2008 22:24:52 +0000]
rx-retain-windowing-per-peer-20080508

LICENSE IPL10

we learned about the peer in a previous connection... retain the information
and keep using it. widen the available window.

makes rx perform better over high latency wans. needs to be present in both
sides for maximal effect.

15 years agoviced-avoid-infinite-loop-with-altaddr-unset-20080508
Jeffrey Altman [Thu, 8 May 2008 22:17:49 +0000]
viced-avoid-infinite-loop-with-altaddr-unset-20080508

LICENSE IPL10

if we return leaving a non HOSTDELETED host while it does not have ALTADDR set,
a loop can happen. avoid it by simply setting ALTADDR again when we're done,
if we believe some addresses are still good this is fine.

15 years agowindows-buf-invalidate-on-vnovnode-20080507
Jeffrey Altman [Thu, 8 May 2008 06:25:42 +0000]
windows-buf-invalidate-on-vnovnode-20080507

LICENSE MIT

Once we know that an attempt to stablize a buffer has failed due to
VNOVNODE, stop trying to Stablize future buffers and just invalidate
all of them belonging to the same FID.

15 years agoviced-large-more-threads-20080506
Derrick Brashear [Tue, 6 May 2008 16:01:05 +0000]
viced-large-more-threads-20080506

LICENSE IPL10

fileserver -L should imply -p 128, not -p 12

15 years agowindows-server-retry-20080502
Jeffrey Altman [Fri, 2 May 2008 20:29:43 +0000]
windows-server-retry-20080502

LICENSE MIT

do not retry if there is no server available for the current attempt

15 years agobutc-xbsa-lwp-protoize-damage-20080501
Derrick Brashear [Fri, 2 May 2008 01:59:27 +0000]
butc-xbsa-lwp-protoize-damage-20080501

LICENSE IPL10

make xbsa variant work again

15 years agouuid-corrected-duplicate-check-20080501
Derrick Brashear [Thu, 1 May 2008 20:00:00 +0000]
uuid-corrected-duplicate-check-20080501

LICENSE IPL10

apply check to chain, not input

15 years agoclient-idledeadtime-support-20080430
Derrick Brashear [Wed, 30 Apr 2008 20:07:43 +0000]
client-idledeadtime-support-20080430

LICENSE IPL10

in the event a server is "melting down" and not responding with data to RPCs
this adds the ability to time out the calls rather than letting keepalives
effectively hang the client forever.  does not mark the server down since...
it's not down.

Side effect: adds similar tracking for authentication errors so tokens need
not be discarded if one server's clock has drifted.

15 years agoubik-recovery-swap-in-new-fd-20080428
Derrick Brashear [Mon, 28 Apr 2008 22:48:00 +0000]
ubik-recovery-swap-in-new-fd-20080428

LICENSE IPL10

when recovery is done, forcibly invalidate the old fd

15 years agotbutc-wrong-lp-getrwindex-20080428
Hans-Werner Paulsen [Mon, 28 Apr 2008 17:14:55 +0000]
tbutc-wrong-lp-getrwindex-20080428

LICENSE IPL10
FIXES 96575

The pthread butc crashes with SIGSEGV, when I restore to a volume
which already exists. This does happen with OpenAFS 1.4.7pre4 on
i386_linux26.
Looking into the code I think butc is using the wrong function
Lp_GetRwIndex (at volser/vsprocs.c:4394). It uses the one in the
library lib/libvosadmin.a, but should use the function defined
in volser/lockprocs.c.

15 years agoudebug-64bit-time_t-vs-printf-20080428
Jeffrey Altman [Mon, 28 Apr 2008 16:18:52 +0000]
udebug-64bit-time_t-vs-printf-20080428

LICENSE MIT

64-bit time_t values cannot be passed to printf() for evaluation
by a %d variable.  To avoid the problem we cast the value to int.

15 years agowindows-rx-idle-timeout-20080428
Jeffrey Altman [Mon, 28 Apr 2008 16:04:38 +0000]
windows-rx-idle-timeout-20080428

LICENSE MIT

Add "IdleDeadTimeout" registry value and call rx_SetConnIdleDeadTime()
with it when creating new rx connections.   This forces the Rx stack
to return RX_CALL_TIMEOUT if the file server has returned VBUSY for
longer than the IdleDeadTimeout.

When RX_CALL_TIMEOUT is received, the cache manager will now attempt to
find another server for the object that might be less busy.

15 years agokdump-install-fixups-20080427
Chaskiel M Grundman [Mon, 28 Apr 2008 04:45:03 +0000]
kdump-install-fixups-20080427

LICENSE IPL10
FIXES 96465

The install rule:
- installs the empty 'kdump-build' file instead of the binary on all
platforms except irix
- overwrites the selection script with the binary on linux and hpux
- doesn't have an alpha_linux branch
- installs the wrapper script as kdump32 and the binary as kdump on
solaris (instead of vice-versa)

The dest rule:
- overwrites the selection script with the binary on alpha_linux and hpux

15 years agoredhat-cellservdb-update-20080423
Derrick Brashear [Sun, 27 Apr 2008 04:59:51 +0000]
redhat-cellservdb-update-20080423

LICENSE IPL10

take update from upstream

15 years agozero-uio-len-when-trimming-20080426
Derrick Brashear [Sun, 27 Apr 2008 04:53:59 +0000]
zero-uio-len-when-trimming-20080426

LICENSE IPL10

make it match ufsread case. should change this later.

15 years agomacos-afscell-configurator-20080423
David Botsch [Fri, 25 Apr 2008 12:39:45 +0000]
macos-afscell-configurator-20080423

LICENSE IPL10

not ready for release, but, add a tool which installer can run to ask for a cell
name
AUTHOR
LICENSE IPL10

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

not ready for release, but, add a tool which installer can run to ask for a cell
name

15 years agovos-move-avoid-spurious-unlock-20080424
Derrick Brashear [Thu, 24 Apr 2008 23:44:01 +0000]
vos-move-avoid-spurious-unlock-20080424

LICENSE IPL10

lightly modified from what Bren Mills submitted; the second unlock call after mfail may be entirely useless.

15 years agowindows-buf-refcount-20080424
Jeffrey Altman [Thu, 24 Apr 2008 17:21:01 +0000]
windows-buf-refcount-20080424

LICENSE MIT

Implement DEBUG_REFCOUNT refcount tracking code to debug refcount issues
in the cm_buf module.

Fix a refcount leak caused by buf_IncrSyncer() incorrectly removing cm_buf_t
objects from the dirty list.

Fix the dumping of the dirty list to actually dump the dirty list.

15 years agowindows-cellservdb-20080423
Jeffrey Hutzelman [Thu, 24 Apr 2008 04:08:03 +0000]
windows-cellservdb-20080423

LICENSE IPL

latest greatest CellServDB

15 years agovol-setaside-one-fd-per-thread-20080423
Dan Hyde [Wed, 23 Apr 2008 19:56:52 +0000]
vol-setaside-one-fd-per-thread-20080423

LICENSE IPL10
FIXES 87977

kids these days share badly. give each one their own fd otherwise they fight.

16 years agolinux-fedora9-packaging-updates-20080422
Simon Wilkinson [Tue, 22 Apr 2008 13:50:23 +0000]
linux-fedora9-packaging-updates-20080422

LICENSE IPL10

make build system able to cope with fedora 9

16 years agolibadmin-vos-irix-fixes-20080421
Derrick Brashear [Mon, 21 Apr 2008 20:40:22 +0000]
libadmin-vos-irix-fixes-20080421

LICENSE IPL10

irix is cranky about missing prototypes

16 years agodafs-irix-prec99-20080421
Derrick Brashear [Mon, 21 Apr 2008 19:53:45 +0000]
dafs-irix-prec99-20080421

LICENSE IPL10

unless/until we build c99, irix needs this

16 years agowindows-cache-version-20080421
Jeffrey Altman [Mon, 21 Apr 2008 16:35:12 +0000]
windows-cache-version-20080421

LICENSE MIT

increase the cache version because the cm_volume_t data structure was modified.

16 years agolinux-fc9-20080419
Simon Wilkinson [Sat, 19 Apr 2008 22:55:02 +0000]
linux-fc9-20080419

LICENSE IPL10

add in needed changes for fc9 kernels

16 years agoklog-deal-with-aix-stupidity-20080418
Derrick Brashear [Fri, 18 Apr 2008 21:49:45 +0000]
klog-deal-with-aix-stupidity-20080418

LICENSE IPL10

aix krb5 is broken. deal.

16 years agoppc64-linux-26-thread-info-20080418
Derrick Brashear [Mon, 21 Apr 2008 19:59:14 +0000]
ppc64-linux-26-thread-info-20080418

LICENSE IPL10

thread_info is dead

16 years agowindows-volume-status-20080418
Jeffrey Altman [Fri, 18 Apr 2008 17:43:19 +0000]
windows-volume-status-20080418

LICENSE MIT

A problem was discovered with cm_Analyze when serverRef instances are
marked offline.  cm_CheckOfflineVolume() was not resetting the serverRef
state.  cm_Analyze was also waiting in sleep calls when it was it is
clear that waiting would not result in a change of state.

cm_CheckOfflineVolume() was updated to always reset the serverRef state
and indicate that the volume should be considered online for the purpose
of retrying when the serverRef state is reset to srv_not_busy.

The problems identified in the MIT dev.mit.edu stress test environment
are resolved by these changes.

16 years agoklog-aix-missing-symbols-20080418
Derrick Brashear [Fri, 18 Apr 2008 14:55:33 +0000]
klog-aix-missing-symbols-20080418

LICENSE IPL10

aix's krb5 isn't heimdal or mit. it has dangling symbols. yay!

16 years agolwp-fix-protoize-20080418
Derrick Brashear [Fri, 18 Apr 2008 14:54:30 +0000]
lwp-fix-protoize-20080418

LICENSE IPL10

make this cast correct.

16 years agolinux-fakestat-avoid-mtpt-fillin-issue-20080415
Rainer Toebbicke [Tue, 15 Apr 2008 13:29:20 +0000]
linux-fakestat-avoid-mtpt-fillin-issue-20080415

LICENSE IPL10
FIXES 93898

"It is actually the detection of a "cell" in the mount point string
which triggers the (loosely consistent) fakestat handling - it's
treated like a foreign cell and the mount point is never "completely
evaluated", i.e. logically replaced by the root directory of the
volume in question. As a result, callbacks are ignored, as they go
against the directory and not the mount point."

16 years agowindows-volume-20080414
Jeffrey Altman [Mon, 14 Apr 2008 22:32:27 +0000]
windows-volume-20080414

LICENSE MIT

1. Convert cm_volume_t mutex to a rwlock (rw).

2. Don't hold cm_volume_t lock across RPCs

3. Add CM_VOLUMEFLAG_UPDATING_VL flag to prevent multiple threads
   from performing volume update calls at the same time on the same
   volume set.

4. Convert the .rw, .ro, and .bk cm_vol_state_t members of cm_volume_t
   to an array of cm_vol_state_t members indexed using the pre-existing
   RWVOL, ROVOL and BACKVOL preprocessor symbols.  This will permit
   consolidation of code and make it easier to add new volume types
   to the volume set in the future.

16 years agovolser-prototype-include-fix-20080414
Derrick Brashear [Mon, 14 Apr 2008 21:25:41 +0000]
volser-prototype-include-fix-20080414

LICENSE IPL10

so tvolser can build again

16 years agowindows-freelance-20080411
Jeffrey Altman [Fri, 11 Apr 2008 18:44:47 +0000]
windows-freelance-20080411

LICENSE MIT

Do not set the DV on the rootSCachep because doing so disables
the use of MergeStatus().

Do not remove the rootSCachep from the hash table because doing
so makes causes a second cm_scache_t object for that fid to be created
that is not the root.

16 years agovos-noresolve-option-20080410
Jeffrey Altman [Thu, 10 Apr 2008 18:50:49 +0000]
vos-noresolve-option-20080410

LICENSE MIT

Add a -noresolve option to all vos commands.  This permits the display
of servers by IP address instead of DNS name.  Very useful when 127.0.0.1
is registered as the server address or when trying to eliminate
multi-homed addresses.

16 years agovoid-return-casts-20080409
Simon Wilkinson [Wed, 9 Apr 2008 17:39:36 +0000]
void-return-casts-20080409

LICENSE IPL10

do apporpriate casts for void returns to placate irix cc

16 years agolinux-nfstrans-avoid-access-deadlock-20080409
Jeffrey Hutzelman [Wed, 9 Apr 2008 14:38:47 +0000]
linux-nfstrans-avoid-access-deadlock-20080409

LICENSE IPL10

avoid deadlocking in access while we're already holding locks as filldir is doing its work

16 years agowindows-nsis-vs2005-20080409
Asanka Herath [Wed, 9 Apr 2008 05:34:22 +0000]
windows-nsis-vs2005-20080409

LICENSE MIT

Add support for building with VS2005 Runtime Libraries.
For the release build use the vcredist_<arch>.exe package.
For the debug build, build an msi from the merge modules
and then install that package.

16 years agoredhat-spec-updates-20080408
Simon Wilkinson [Tue, 8 Apr 2008 19:35:51 +0000]
redhat-spec-updates-20080408

LICENSE IPL10
FIXES 93616

update to correctly fill in specfile from source tree

16 years agowindows-strlwr-cellname-20080407
Jeffrey Altman [Mon, 7 Apr 2008 15:19:10 +0000]
windows-strlwr-cellname-20080407

LICENSE MIT

cellnames are case insensitive and by convention they are lowercased.

16 years agowindows-freelance-three-20080407
Jeffrey Altman [Mon, 7 Apr 2008 15:16:48 +0000]
windows-freelance-three-20080407

LICENSE MIT

deliver notification events to watchers when adding mount points or
symlinks to the freelance root.afs volume.

16 years agowindows-freelance-two-20080407
Jeffrey Altman [Mon, 7 Apr 2008 07:00:16 +0000]
windows-freelance-two-20080407

LICENSE MIT

do not add the scp into the hash table twice.

16 years agowindows-freelance-20080407
Jeffrey Altman [Mon, 7 Apr 2008 06:42:44 +0000]
windows-freelance-20080407

LICENSE MIT

When freelance symlinks and mountpoints were modified the target string
value was not being updated and the old data was not being invalidated.