openafs.git
16 years agowindows-volstat-log-20070823
Jeffrey Altman [Thu, 23 Aug 2007 17:47:46 +0000]
windows-volstat-log-20070823

must save the log string when it comes from a buffer on the stack
otherwise garbage is logged in afsd.log

16 years agowindows-smb-max-path-20070823
Jeffrey Altman [Thu, 23 Aug 2007 17:44:43 +0000]
windows-smb-max-path-20070823

the actual max path is 260 not 256

16 years agocheckhost-use-reentrant-list-traversal-20070823
Derrick Brashear [Thu, 23 Aug 2007 17:28:54 +0000]
checkhost-use-reentrant-list-traversal-20070823

rather than making a copy of the whole hostlist and holding every host, hold
what we need, the _r (not really reentrant) version.

16 years agolinux-nfs-pag-handling-20070822
Derrick Brashear [Wed, 22 Aug 2007 20:37:10 +0000]
linux-nfs-pag-handling-20070822

don't mishandle pag argument when passed in from e.g. knfs

don't make keyring pag for nfs clients

16 years agowindows-fix-recursion-detection-20070822
Jeffrey Altman [Wed, 22 Aug 2007 17:09:53 +0000]
windows-fix-recursion-detection-20070822

handle symlinks to absolute paths

16 years agowindows-newfiles-20070822
Jeffrey Altman [Wed, 22 Aug 2007 16:59:16 +0000]
windows-newfiles-20070822

add place holders for the B+ tree source files.

16 years agolinux-module-error-handling-20070821
Derrick Brashear [Wed, 22 Aug 2007 03:16:26 +0000]
linux-module-error-handling-20070821

be more careful about what we call when, and clean up after ourselves

16 years agonfstrans-updates-20070821
Derrick Brashear [Wed, 22 Aug 2007 03:12:13 +0000]
nfstrans-updates-20070821

FIXES 1480

fix the knfs error from the v/c/o pioctl changes

16 years agolinux-modparam-269-updates-20070821
Derrick Brashear [Tue, 21 Aug 2007 22:27:02 +0000]
linux-modparam-269-updates-20070821

be consistent on 2.6.9 about which MODULE parm family used

16 years agowindows-afskfw-20070821
Jeffrey Altman [Tue, 21 Aug 2007 09:42:53 +0000]
windows-afskfw-20070821

return required value that was missing

16 years agoviced-remove-asserts-20070821
Jeffrey Altman [Tue, 21 Aug 2007 09:27:37 +0000]
viced-remove-asserts-20070821

remove asserts testing the number of alternate interfaces.

16 years agowindows-smb-20070820
Jeffrey Altman [Mon, 20 Aug 2007 19:47:05 +0000]
windows-smb-20070820

correct location of brace due to mis-application of patch

16 years agofind-dcache-just-hold-the-lock-slightly-longer-20070820
Derrick Brashear [Mon, 20 Aug 2007 18:50:16 +0000]
find-dcache-just-hold-the-lock-slightly-longer-20070820

we go out of our way to hold xdcache to protect indexTimes elsewhere... there's
no reason to drop it here just before this...

16 years agotviced-windows-20070820
Jeffrey Altman [Mon, 20 Aug 2007 18:35:59 +0000]
tviced-windows-20070820

build serialize_state.c

16 years agokrb4-64bit-tf-kth-or-mit-20070820
Alejandro R. Sedeño [Mon, 20 Aug 2007 18:26:15 +0000]
krb4-64bit-tf-kth-or-mit-20070820

based on his patch for mit kerberos

16 years agowindows-fix-recursion-detection-20070819
Jeffrey Altman [Mon, 20 Aug 2007 02:00:48 +0000]
windows-fix-recursion-detection-20070819

the recursion detection code did not take "." and ".." into account.

16 years agowindows-fs_utils-20070819
Jeffrey Altman [Mon, 20 Aug 2007 01:06:31 +0000]
windows-fs_utils-20070819

update prototype for util_GetInt32 for consistency with src/utils/vosparse.c

16 years agono-kseal-20070819
Russ Allbery [Sun, 19 Aug 2007 23:04:31 +0000]
no-kseal-20070819

Don't build or install kseal by default.  It's a debugging tool with very
limited utility.

16 years agoman-page-fixes-20070819
Jason Edgecombe [Sun, 19 Aug 2007 23:02:27 +0000]
man-page-fixes-20070819

More details on how to run check-pod.  Restore the [] markup in the vos
changeloc SYNOPSIS since the flags really are optional.

16 years agoman-page-vos-changeloc-more-20070817
Jason Edgecombe [Sat, 18 Aug 2007 03:28:54 +0000]
man-page-vos-changeloc-more-20070817

Mention vos changeloc in the vos man page.  Also include an incidental fix
to pts source's man page.

16 years agoman-page-vos-changeloc-20070817
Jason Edgecombe [Sat, 18 Aug 2007 03:24:24 +0000]
man-page-vos-changeloc-20070817

Add a man page for vos changeloc.

16 years agoman-page-fs-updates-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:05:42 +0000]
man-page-fs-updates-20070817

Add man pages for fs flushall and fs getcalleraccess.

16 years agoman-page-bos-util-20070817
Jason Edgecombe [Sat, 18 Aug 2007 01:41:39 +0000]
man-page-bos-util-20070817

Add a man page for bos_util.

16 years agoman-page-updates-20070817
Jason Edgecombe [Sat, 18 Aug 2007 00:35:44 +0000]
man-page-updates-20070817

Add new man pages for pts interactive, quit, sleep, and source.  Fix POD
errors in a few other man pages and update the to-do list in README.

16 years agoman-page-check-pod-20070817
Jason Edgecombe [Fri, 17 Aug 2007 20:57:20 +0000]
man-page-check-pod-20070817

Add check-pod script to test for POD syntax errors.

16 years agoaix-dont-use-root-vfs-for-anything-20070815
Derrick Brashear [Thu, 16 Aug 2007 04:51:06 +0000]
aix-dont-use-root-vfs-for-anything-20070815

the cache may not be in /; we basically never need rootvfs

16 years agowindows-fs-utils-prototypes-20070813
Jeffrey Altman [Mon, 13 Aug 2007 20:20:31 +0000]
windows-fs-utils-prototypes-20070813

use ANSI prototypes and function declarations

16 years agowindows-service-manager-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:52:21 +0000]
windows-service-manager-20070812

provide the windows service manager with shutdown hints in addition
to startup hints

16 years agoviced-dafs-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:25:33 +0000]
viced-dafs-20070812

include viced_prototypes.h

16 years agowindows-remove-is5-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:11:55 +0000]
windows-remove-is5-20070812

remove last trace of InstallShield5 from build rules

16 years agopts-20070811
Jeffrey Altman [Sun, 12 Aug 2007 00:39:33 +0000]
pts-20070811

remove SUPERGROUPS condition for compilation of pts commands:
  Interactive, Quit, Source, Sleep

fix the assignment of 'source' to permit it to function

rename functions to avoid conflicts with Win32 API on Windows

replace bcopy and bzero with memcpy and memset to permit compilation
on Windows

replace ubik_Call(xxx) with ubik_xxx() (testpt.c)

add -DSUPERGROUPS and map.c to NTMakefile

16 years agowindows-adjustable-block-size-20070810
Jeffrey Altman [Fri, 10 Aug 2007 21:38:20 +0000]
windows-adjustable-block-size-20070810

New registry value "BlockSize" can be used to specify an alternative
block size.  The default is 4K.  A larger blocksize will be needed if
you want to support a 6TB cache.

Also extend the service startup timeout hint to two minutes to give
the AFS client service more time to startup successfully when the
cache is really large.

16 years agowindows-wix-20070810
Jeffrey Altman [Fri, 10 Aug 2007 13:36:24 +0000]
windows-wix-20070810

add a separate description string for the 32-bit afs shell extension

16 years agoviced-cleanup-head-20070810
Derrick Brashear [Fri, 10 Aug 2007 05:11:35 +0000]
viced-cleanup-head-20070810

fix demand attach rwlock code on macos, fix host tracking code everywhere

only applies to head and 1.5

16 years agowindows-aklog-20070809
Jeffrey Altman [Thu, 9 Aug 2007 23:53:07 +0000]
windows-aklog-20070809

correct an error message

16 years ago64bit-ticket-file-20070809
Rainer Toebbicke [Thu, 9 Aug 2007 15:56:51 +0000]
64bit-ticket-file-20070809

fix the ticket files we write on 64 bit

16 years agowindows-dirty-buffer-optimization-20070808
Jeffrey Altman [Thu, 9 Aug 2007 06:33:17 +0000]
windows-dirty-buffer-optimization-20070808

when storing dirty buffers only store the bytes that are dirty

increase the default chunksize from 128KB to 1MB

remove OVERLAPPED field from cm_buf_t.  It was unused.

add a dummy pointer in order to ensure data structure compatibility
between the checked and release builds.

16 years agoviced-hash-20070808
Jeffrey Altman [Wed, 8 Aug 2007 17:30:20 +0000]
viced-hash-20070808

(1) fixes a bug that could cause a 'host' structure to not be removed
from the global host list if the 'host' did not possess an interface
list. This would happen with older AFS clients that do not support the
WhoAreYou family of RPCs. Windows clients older than 1.3.80 and old
Transarc UNIX clients.

(2) fixes a bug which could result in ViceLog being called with an
uninitialized 'hoststr' buffer as a parameter.

(3) ensures that only addresses known to belong to the 'host' are
added to the address hash table.  The list of addresses provided by
the client are stored as alternates and are only used when searching
for a client that is no longer accessible on the primary address.
These addresses are not stored in the address hash table within
initInterfaceAddr_r().

The addresses provided by the client should not be added to the hash
table because they have not been verified as belonging to the 'host'
that provided them.  The contents of the list may in fact be completely
unreliable.  Consider the existing UNIX clients that generate the list
at startup and never alter it even after the client has migrated to a
different network.  If two client's both claim the same address,
lookups by address may fail to find the correct one.

a. The client list might contain private address ranges which
are likely to be re-used by many clients allocated addresses
by a NAT.

b. The client list will not include any public addresses that
are hidden by a NAT.

c. Private address ranges that are exposed to the server will
be obtained from the rx connections that use them.

d. Lists provided by the client are not necessarily truthful.
Many existing clients (UNIX) do not refresh the IP address
list as the actual assigned addresses change. The end result
is that they report the initial address list for the lifetime
of the process. In other words, a client can report addresses
that they are in fact not using. Adding these addresses to
the host interface list without verification is not only
pointless, it is downright dangerous.

e. The reported addresses do not include port numbers and
guessing that the port number is 7001 does not work when
port mapping devices such as NATs or some VPNs are in
use.

(4) improves logging to ensure that all references to a 'host' structure
report both a memory address and the IP address/port. this will avoid
confusion *if* more than one 'host' structure is assigned the same
primary address.

(5) logs the UUID along with the client addresses when initializing the
host's interface list. (level 125)

(6) saves memory by using a smaller structure for the UUID hash table

16 years agoviced-multi-probe-addr-20070808
Rainer Toebbicke [Wed, 8 Aug 2007 16:53:17 +0000]
viced-multi-probe-addr-20070808

FIXES 67355

MultiProbeAlternateAddress_r badly indexes the list of interfaces for
clients with multiple IP interfaces, resulting in peers with IP
address 0 port 0 to be created. This in turn results in rxi_sendmsg
errors (on systems where caught early, as on Linux, on others it may
pass unnoticed).

16 years agowindows-afsd-uninit-vars-20070806
Jeffrey Altman [Tue, 7 Aug 2007 05:00:06 +0000]
windows-afsd-uninit-vars-20070806

FIXES 67126

ensure the connp is set to NULL in case of error

16 years agoman-page-vos-size-20070805
Jason Edgecombe [Sun, 5 Aug 2007 22:58:35 +0000]
man-page-vos-size-20070805

Add a new man page for vos size.

16 years agoman-page-fs-newalias-20070805
Jason Edgecombe [Sun, 5 Aug 2007 22:38:10 +0000]
man-page-fs-newalias-20070805

Add a new fs newalias man page.  Add -help to the synopsis and options of
the other new man pages.  Add additional missing links in the fs man page.
Fix some wording in the CellAlias man page.

16 years agoman-page-fs-listaliases-20070805
Jason Edgecombe [Sun, 5 Aug 2007 22:16:47 +0000]
man-page-fs-listaliases-20070805

Add manual page for fs listaliases.  Also add the links in the fs(1) man
page and update README more for the current to-do list.

16 years agoman-page-style-20070805
Russ Allbery [Sun, 5 Aug 2007 22:08:22 +0000]
man-page-style-20070805

Some style fixes and some additional style documentation in README.

16 years agoman-page-afsd-crypt-alias-20070805
Jason Edgecombe [Sun, 5 Aug 2007 22:01:42 +0000]
man-page-afsd-crypt-alias-20070805

Complete the documentation of the afsd flags and update a few things like
-settime and -nosettime.  Add man pages for fs setcrypt, fs getcrypt, and
CellAlias.  Based on work by Jason Edgecombe and then extensively edited,
so any errors I probably introduced.

16 years agowindows-local-directory-updates-smb-20070802
Asanka Herath [Thu, 2 Aug 2007 22:05:39 +0000]
windows-local-directory-updates-smb-20070802

The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.

16 years agowindows-no-more-infinite-recursion-20070802
Jeffrey Altman [Thu, 2 Aug 2007 21:57:38 +0000]
windows-no-more-infinite-recursion-20070802

FIXES 15855

In cm_NameI, keep track of what fids were crossed when evaluating the
path.  If we discover a loop return a CM_ERROR_TOO_MANY_SYMLINKS error.

This resolves the complaint that when infinite loops are hit in the afs
name space the afsd_service.exe process uses 100% of the CPU.

16 years agowindows-local-directory-updates-20070802
Asanka Herath [Thu, 2 Aug 2007 21:52:54 +0000]
windows-local-directory-updates-20070802

The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.

16 years agowindows-do-not-expire-cbs-when-servers-are-down-20070802
Jeffrey Altman [Thu, 2 Aug 2007 21:44:54 +0000]
windows-do-not-expire-cbs-when-servers-are-down-20070802

if all of the servers are down when a callback is due to expire
delay the expiration until at least one server is available.
this prevents some applications that are running when the CM
is off the network from failing if their pages are swapped out.

16 years agowindows-libafsrpc-20070802
Jeffrey Altman [Thu, 2 Aug 2007 06:20:08 +0000]
windows-libafsrpc-20070802

use bg-fcrypt in libafsrpc.dll which is used by the CM

16 years agorxkad-bg-fcrypt-unbreak-windows-20070731
Jeffrey Altman [Tue, 31 Jul 2007 23:19:15 +0000]
rxkad-bg-fcrypt-unbreak-windows-20070731

i (derrick) broke everything. fix it.

16 years agoviced-avoid-tying-up-all-threads-20070730
Derrick Brashear [Mon, 30 Jul 2007 14:17:27 +0000]
viced-avoid-tying-up-all-threads-20070730

FIXES 19461

implement a thread quota.

16 years agodarwin-avoid-fsref-panic-maybe-20070728
Derrick Brashear [Sat, 28 Jul 2007 15:31:44 +0000]
darwin-avoid-fsref-panic-maybe-20070728

maybe this works.

16 years agowindows-fs-20070727
Jeffrey Altman [Sat, 28 Jul 2007 04:03:58 +0000]
windows-fs-20070727

return error when GetCell fails

16 years agowindows-rdrtimeout-20070727
Jeffrey Altman [Sat, 28 Jul 2007 03:50:23 +0000]
windows-rdrtimeout-20070727

RDRtimeout is seconds.  need to convert to milliseconds for comparison

16 years agowindows-client_config-20070727
Jeffrey Altman [Fri, 27 Jul 2007 16:40:44 +0000]
windows-client_config-20070727

FIXES 66302

change text of error message to indicate that the user is not a member
of the AFS Administrators Group instead of not being a Windows administrator.

16 years agoman-page-demand-attach-20070726
Steven Jenkins [Thu, 26 Jul 2007 21:53:42 +0000]
man-page-demand-attach-20070726

Document additional bos flags for the demand attach file server.

16 years agoman-page-updates-20070726
Jason Edgecombe [Thu, 26 Jul 2007 21:46:46 +0000]
man-page-updates-20070726

FIXES 65988

Mention aklog and kinit in klog's man page, add -dynroot to the afsd man
page, and mention that -skipauth tells uss not to create any Kerberos
principal and this has to be done separately.

16 years agomd5inum-md5-clobbers-input-20070726
Derrick Brashear [Thu, 26 Jul 2007 18:04:21 +0000]
md5inum-md5-clobbers-input-20070726

16 years agowindows-afsd-ubik-20070722
Jeffrey Altman [Mon, 23 Jul 2007 00:09:06 +0000]
windows-afsd-ubik-20070722

not currently in use but replace ubik_Call(FOO,...) with ubik_FOO(...)

16 years agovolser-directoryless-incremental-dumps-20070719
Derrick Brashear [Thu, 19 Jul 2007 19:51:55 +0000]
volser-directoryless-incremental-dumps-20070719

add an rpc, give vos a switch, allow incrementals which do not include directory objects

16 years agowindows-afs-svrmgr-20070719
Jeffrey Altman [Thu, 19 Jul 2007 16:55:44 +0000]
windows-afs-svrmgr-20070719

uninitialized variable removal

16 years agoviced-assert-less-20070719
Derrick Brashear [Thu, 19 Jul 2007 16:14:20 +0000]
viced-assert-less-20070719

in don't assert for every silly thing

16 years agoviced-no-nulluuid-20070719
Derrick Brashear [Thu, 19 Jul 2007 16:09:50 +0000]
viced-no-nulluuid-20070719

a host with a zero uuid has no uuid support

16 years agokill-more-ubikcall-20070719
Derrick Brashear [Thu, 19 Jul 2007 16:00:20 +0000]
kill-more-ubikcall-20070719

tested more ubik call death, so, byebye

16 years agovos-validate-dumpfile-20070719
Derrick Brashear [Thu, 19 Jul 2007 15:55:39 +0000]
vos-validate-dumpfile-20070719

based on code from jon nials
validate a dumpfile as being complete (look for end of dump signature)

16 years agolibadmin-deubikcall-cleanup-20070718
Cesar Garcia [Wed, 18 Jul 2007 15:21:12 +0000]
libadmin-deubikcall-cleanup-20070718

remove bogus extra arg

16 years agowindows-pioctl-20070718
Jeffrey Altman [Wed, 18 Jul 2007 14:02:59 +0000]
windows-pioctl-20070718

cm_dir.h depends on cm_buf.h

16 years agowindows-single-dir-search-not-bulk-20070718
Jeffrey Altman [Wed, 18 Jul 2007 13:07:46 +0000]
windows-single-dir-search-not-bulk-20070718

the single directory search routine used when there are no wildcards
does not perform a bulk stat operation.  do not set the flag on the
cm_scache_t.

16 years agofs-state-only-in-dafs-20070717
Derrick Brashear [Tue, 17 Jul 2007 18:04:01 +0000]
fs-state-only-in-dafs-20070717

FIXES 65681

only in dafs. oops.

16 years agoosi-probe-check-readable-20070717
Jeffrey Hutzelman [Tue, 17 Jul 2007 13:15:19 +0000]
osi-probe-check-readable-20070717

FIXES 63971

avoid potentially reading pges that don't exist

16 years agobg-fcrypt-64bit-fix-20070717
Marcus Watts [Tue, 17 Jul 2007 13:06:47 +0000]
bg-fcrypt-64bit-fix-20070717

instead of this arcane ifdef which is flawed, we know which platforms support 64 bit types...

16 years agosparc32-no-ucontext-20070716
Russ Allbery [Tue, 17 Jul 2007 04:46:25 +0000]
sparc32-no-ucontext-20070716

Undefine USE_UCONTEXT on sparc32 Linux since glibc doesn't implement
getcontext/setcontext for that architecture.

16 years agosparc32-no-getcontext-20070716
Derrick Brashear [Tue, 17 Jul 2007 04:10:18 +0000]
sparc32-no-getcontext-20070716

implement ptr_mangle for sparc32

16 years agoxbsa-54-solaris-cplusplus-fun-20070716
Eric Sturdivant [Mon, 16 Jul 2007 21:40:45 +0000]
xbsa-54-solaris-cplusplus-fun-20070716

FIXES 65588

deal with change to c++ xbsa library

16 years agolibadmin-ubik_call-20070715
Jeffrey Altman [Mon, 16 Jul 2007 00:58:52 +0000]
libadmin-ubik_call-20070715

replace all calls to ubik_Call(FOO, ...) with ubik_FOO(...)

correct the incorrect parameter lists for ubik_FOO()

16 years agoaix-aklog-lam-plugin-20070713
Derrick Brashear [Fri, 13 Jul 2007 20:53:58 +0000]
aix-aklog-lam-plugin-20070713

allow aklog equivalent from lam

16 years agosuser-aix-macro-20070712
Derrick Brashear [Thu, 12 Jul 2007 19:10:05 +0000]
suser-aix-macro-20070712

can't use ifdefs inside the macro...

16 years agodemand-attach-init-fsstate-rwlock-20070712
Derrick Brashear [Thu, 12 Jul 2007 09:28:26 +0000]
demand-attach-init-fsstate-rwlock-20070712

the rwlock needs to be initd before use

16 years agoaklog-deal-without-524-20070711
Douglas Engert [Wed, 11 Jul 2007 05:29:36 +0000]
aklog-deal-without-524-20070711

patch in a way of dealing with no krb524

16 years agopagsh-krb5-20070710
Rainer Toebbicke [Tue, 10 Jul 2007 21:27:59 +0000]
pagsh-krb5-20070710

FIXES 54621

clean up the environment

16 years agolinux-register-fs-deal-with-error-20070709
Derrick Brashear [Mon, 9 Jul 2007 20:58:57 +0000]
linux-register-fs-deal-with-error-20070709

deal with other people who think they are afs.

16 years agosparc-linux-des-alignment-20070709
Chaskiel M Grundman [Mon, 9 Jul 2007 20:14:09 +0000]
sparc-linux-des-alignment-20070709

seems like compilers really hate des. it should would be nice to euthanize this.

it's a shame there's no simple license-friendly des library to use

16 years agowindows-give-up-callbacks-20070707
Jeffrey Altman [Sat, 7 Jul 2007 14:36:59 +0000]
windows-give-up-callbacks-20070707

don't try so hard to give up all callbacks.  If the server doesn't
respond in 10 seconds, too bad!

cleanup the server probe code a bit.  reorganize the code so that we
can avoid unnecessary pointer evaluation.  add a missing include file.

16 years agowindows-afsd-misc-20070706
Jeffrey Altman [Sat, 7 Jul 2007 00:20:38 +0000]
windows-afsd-misc-20070706

* Do not give back callbacks to down servers

* Output more cm_scache_t data in afsd_alloc.log

* call VolStatus_Service_Stopped after the service has stopped

16 years agobudb-ol_verify-20070706
Marcus Watts [Fri, 6 Jul 2007 12:37:01 +0000]
budb-ol_verify-20070706

FIXES 53210

fixes a missing pointer declaration that would presumably
break on 64-bit architectures.

16 years agocellservdb-20070705
Jeffrey Hutzelman [Fri, 6 Jul 2007 00:44:35 +0000]
cellservdb-20070705

GCO Public CellServDB 05 Jul 2007

16 years agowindows-volume-status-plugin-20070705
Jeffrey Altman [Thu, 5 Jul 2007 20:21:19 +0000]
windows-volume-status-plugin-20070705

This delta adds an interface to an optional volume status handler.
The handler (if provided) receives status updates when volumes
change state between online, offline, busy, and alldown.

16 years agowindows-license-translation-20070705
Jeffrey Altman [Thu, 5 Jul 2007 16:54:48 +0000]
windows-license-translation-20070705

replace GlobalAlloc with malloc.  initialize memory and consider the
inability to read the entire input file as an error.

16 years agowindows-heap-corruption-20070703
Jeffrey Altman [Tue, 3 Jul 2007 15:11:35 +0000]
windows-heap-corruption-20070703

fix buffer over write error introduced since 1.5.20

16 years agomacos-no-default-memcache-20070703
Derrick Brashear [Tue, 3 Jul 2007 15:01:19 +0000]
macos-no-default-memcache-20070703

this should be leopard only memcache for now

16 years agodes-p-temp-volatile-20070703
Derrick Brashear [Tue, 3 Jul 2007 05:21:55 +0000]
des-p-temp-volatile-20070703

make des work again on powerpc darwin and possibly elsewhere

16 years agowindows-get-cellinfo-afsdb-20070702
Jeffrey Altman [Tue, 3 Jul 2007 01:33:47 +0000]
windows-get-cellinfo-afsdb-20070702

enable afsdb records for get cellinfo lookup outside of afsd_service.exe

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

do not perform afsdb lookup for Freelance.Local.Root cell

16 years agovolser-delete-clone-not-source-20070702
Dan Hyde [Mon, 2 Jul 2007 18:05:04 +0000]
volser-delete-clone-not-source-20070702

FIXES 64268

fixes a bug in the UV_CopyVolume2 cleanup code. Without
this patch, the cleanup code will delete the source volume.

16 years agowindows-parse-ioctl-path-20070629
Jeffrey Altman [Sat, 30 Jun 2007 05:43:17 +0000]
windows-parse-ioctl-path-20070629

The UNIX client does not follow mount points or symlinks when evaluating
ioctl paths during commands such as "fs examine".  The Windows client did
which was annoying when you wanted to know the FID of a mount point that
was not properly being evaluated.

16 years agowindows-eol-20070629
Jeffrey Altman [Sat, 30 Jun 2007 05:37:39 +0000]
windows-eol-20070629

fix end of line for memdump output

16 years agowindows-procmgmt-library-20070629
Jeffrey Altman [Sat, 30 Jun 2007 00:51:36 +0000]
windows-procmgmt-library-20070629

Since the library creates its own background thread, the library must
load its own reference to itself to prevent the library from being
unloaded behind its back.

16 years agowindows-remove-give-up-callbacks-scache-recycling-20070627
Jeffrey Altman [Thu, 28 Jun 2007 05:10:10 +0000]
windows-remove-give-up-callbacks-scache-recycling-20070627

remove the conditionalized code used to give up callbacks in response
to stat cache recycling due to performance impacts described in the
commit for DELTA windows-give-up-callbacks-20070627

16 years agowindows-give-up-callbacks-20070627
Jeffrey Altman [Thu, 28 Jun 2007 05:04:21 +0000]
windows-give-up-callbacks-20070627

This large patch adds support for giving up callbacks in response to three
events:

 1. power management suspend

 2. power management shutdown

 3. stat cache object recycling

The third item is submitted as a condition compilation if GIVE_UP_CALLBACKS
is defined.  Properly handing callback give ups and the associated race
conditions with revokes and fetch status requests requires a great deal of
over head.  The first attempt used one GiveUpCallBacks RPC for each callback
that was being dropped as the stat cache object was recycled.  This resulted
in a 27% performance drop in the MIT stress test.  The code that is being
committed maintains a callback give up list on each server object.  The
callback is added to the list as the callbacks are dropped and then they
are sent to the server in bulk by the background daemon thread if the
server is known to be UP after a ping.  Logic is added to the
EndCallbackRequest and CallbackRevoke operations to ensure that race
conditions are addressed.  With all of this, there is a 17% performance drop
in the MIT stress test.

As a result, it is my conclusion that the client side costs associated with
optimizing the load on the server are simply too high.  I am committing this
code to ensure that it is not lost.  I will remove this support in the next
patch while leaving the support for giving up all callbacks in response
to suspend and shutdown events.

16 years agowindows-odd-vnode-is-dir-20070627
Jeffrey Altman [Thu, 28 Jun 2007 04:52:12 +0000]
windows-odd-vnode-is-dir-20070627

its odd vnodes are directories, not even ones