Jim Rees [Thu, 26 Oct 2006 17:13:32 +0000]
more-small-obsd-tweaks-
20061026
Mention how to build aklog.
Don't even try to build kdump for [ofn]bsd.
Jim Rees [Thu, 26 Oct 2006 16:06:57 +0000]
obsd-
20061026
OpenBSD:
deprecate --with-krb5
warn about AUTOCONF_VERSION
package builder is now just a tarball builder
Jim Rees [Thu, 26 Oct 2006 15:54:12 +0000]
proto-
20061026
prototypes for dbread/dbwrite
Jim Rees [Mon, 23 Oct 2006 20:42:00 +0000]
strcpy-is-bad-
20061023
eliminate strcpy
Jeffrey Altman [Mon, 23 Oct 2006 05:07:38 +0000]
Jeffrey Altman [Sun, 22 Oct 2006 13:23:59 +0000]
windows-smb_fid_t-deadlock-
20061022
smb_ReleaseFID cannot be called while a cm_scache_t->mx is held
shuffle the order of the smb_ReleaseFID calls so they are always after
cm_XXXRelease calls for performance.
Jeffrey Altman [Sun, 22 Oct 2006 03:29:05 +0000]
windows-delonclose-
20061021
set delonclose after obtaining the smb_fid_t
Tom Keiser [Sun, 22 Oct 2006 02:58:37 +0000]
parallel-attaching-
20061021
FIXES 43332
Some sites expect single-threaded volume attaches to happen in a specific
order. The parallel attach patch also changed the attach order for sites
not specifying -vattachpar.
Jeffrey Hutzelman [Sun, 22 Oct 2006 02:48:35 +0000]
kreltime-
20061021
FIXES 43551
kreltime-guard-against-null-tm-
20060731 was apparently an
attempt to deal with the possibility of localtime() returning NULL by
using localtime_r instead, and zeroing the tm structure first. This has
two problems. First, localtime_r is not guaranteed to leave its output
buffer untouched or in a sane state in the event it is given invalid
input. More importantly, the second half of this delta fixed the build
on Windows (which apparently lacks localtime_r) at the expense of using
the wrong level of indirection on other platforms.
Simple is nice, but correct is important too. There is nothing wrong
with switching to localtime_r to avoid thread safety issues. However,
the correct fix for the anticipated problem was and is to check the
return value of localtime (or localtime_r), and if it is NULL, fill in
the ktime_date with suitable default values.
The attached patch does not implement the correct fix, but does fix the
double-indirection problem, so butc will again perform correctly instead
of crashing.
Jeffrey Altman [Sat, 21 Oct 2006 21:46:17 +0000]
windows-misc-
20061021
* don't DebugBreak unless a debugger is attached
* replace afsdcell.ini with CellServDB in error message
* do not NetBIOS Reset adapters when checking to see if only the loopback
is in use because doing so breaks the existing LANA bind
* remove a deadlock in smb3.c
* do not retry dirty buffer writes when flushing in response to a suspend
* do not flush in response to a suspend when only the loopback is present
Jeffrey Altman [Tue, 17 Oct 2006 01:32:06 +0000]
windows-dbg-refcount-
20061016
more code to assist in debugging scache refcount leaks
Jeffrey Altman [Tue, 17 Oct 2006 01:20:33 +0000]
windows-scache-ref-leak-
20061016
more reference count leaks
Jeffrey Altman [Mon, 16 Oct 2006 14:54:32 +0000]
windows-netidmgr-plugin-
20061016
fixup build dependencies for afsp_version.h
====================
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.
====================
fixup copyrights
Derrick Brashear [Sat, 14 Oct 2006 15:57:37 +0000]
keyring-pag-more-needed-defines-
20061014
some kernel don't have this. for post-1.4.2
Derrick Brashear [Fri, 13 Oct 2006 20:40:49 +0000]
audit-one-more-thing-
20061013
it never ends
Derrick Brashear [Fri, 13 Oct 2006 18:36:30 +0000]
audit-remove-nested-valists-
20061013
last straw
make amd64, ppc happy for sure and for ever
Tom Keiser [Fri, 13 Oct 2006 14:06:38 +0000]
aix-cleanup-
20061013
fixes for aix pre 5.2 (statfs64), remove a c++ style comment (makes xlc sad) and
make clean target clean
Derrick Brashear [Fri, 13 Oct 2006 06:12:17 +0000]
uae-translate-create-
20061013
really the stubs should probably just translate the codes back. maybe for 1.6
Jeffrey Altman [Fri, 13 Oct 2006 00:28:05 +0000]
windows-netidmgr-plugin-
20061012
afsp_version.h is auto-generated
====================
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.
====================
fix product version generation
Jeffrey Altman [Thu, 12 Oct 2006 06:57:40 +0000]
windows-scache-ref-leak-
20061012
make sure the scache mutex is held across calls to cm_SyncOpDone
Derrick Brashear [Thu, 12 Oct 2006 05:20:59 +0000]
auditlog-sublist-fix-
20061012
FIXES 35559
update so we don't botch the va_list child
Derrick Brashear [Thu, 12 Oct 2006 13:22:28 +0000]
linux-aio-functions-improved-test-
20061011
detect properly if we have nothing
Chaskiel M Grundman [Wed, 11 Oct 2006 14:14:47 +0000]
version-string-generation-consistency-
20061011
FIXES 42320
try harder to reflect actual version
Chaskiel M Grundman [Wed, 11 Oct 2006 13:25:47 +0000]
elif-missing-defined-
20061011
FIXES 42321
add missing defined() to avoid warning on macro
Peter Nelson [Wed, 11 Oct 2006 11:29:58 +0000]
rx-memset-param-swap-
20061011
discovered via google codesearch
Asanka Herath [Wed, 11 Oct 2006 05:32:16 +0000]
windows-netidmgr-plugin-
20061010
Secure Endpoints Inc. is contributing its AFS plug-in for KFW 3.1's
Network Identity Manager to OpenAFS under an MIT style license.
Jeffrey Altman [Wed, 11 Oct 2006 05:27:21 +0000]
windows-release-notes-
20061010
fixup the file names to match the 1.5 branch
Derrick Brashear [Tue, 10 Oct 2006 23:20:35 +0000]
irix-compiler-hates-commas-
20061010
damn is irix fussy
Jeffrey Altman [Tue, 10 Oct 2006 23:07:56 +0000]
windows-no-more-win9x-
20061010
don't install afsmsg95.h as it no longer exists
Chas Williams [Tue, 10 Oct 2006 22:59:10 +0000]
linux-dont-lock-around-inactivevcache-
20061010
FIXES 42312
iafs_InactiveVCache() calls afs_InvalidateAllSegments() which says
it should be called with the vnode locked. so the lock should
probably be moved to afs_InactiveVCache() so it can be droppped
before calling afs_remunlink().
Derrick Brashear [Tue, 10 Oct 2006 21:12:56 +0000]
irix-fgets-return-type-fun-
20061010
of course, we were just throwing it away, but....
Jeffrey Altman [Tue, 10 Oct 2006 16:55:49 +0000]
windows-scache-ref-leak-
20061010
if cm_FindSCache is called the returned scache object
must be released.
Jeffrey Altman [Tue, 10 Oct 2006 16:51:09 +0000]
windows-afscreds-
20061010
prevent a stack overflow if the afsd_service does not successfully
start after a request to do so is issued.
Jeffrey Altman [Tue, 10 Oct 2006 16:45:56 +0000]
windows-build-clean-
20061010
more AFS_component_version_number.h files to remove
Derrick Brashear [Tue, 5 Dec 2006 19:37:00 +0000]
revert-aix5-curpag-
20061009
failed to commit this. commit now
VS: ----------------------------------------------------------------------
Tracy Di Marco White [Mon, 9 Oct 2006 04:27:48 +0000]
nbsd-sysnames-
20061008
FIXES 42019
add missing sysnames
Derrick Brashear [Mon, 9 Oct 2006 04:15:45 +0000]
h-enum-r-avoid-extra-hold-
20061008
FIXES 40699
avoid orphaning an extra hold
Jeffrey Hutzelman [Mon, 9 Oct 2006 04:14:02 +0000]
cellservdb-
20061008
cellservb update from grand.central.org
Jeffrey Altman [Mon, 9 Oct 2006 02:48:44 +0000]
windows-scache-ref-leak-fix-
20061008
pointer not pointer to pointer
Jeffrey Altman [Sun, 8 Oct 2006 21:37:01 +0000]
windows-scache-ref-dbg-
20061008
add debugging code that can be activated with #define DEBUG_REFCOUNT
to assist in debugging scache refcount leaks
Jeffrey Altman [Sun, 8 Oct 2006 21:30:03 +0000]
windows-scache-ref-leak-
20061008
plug two more scache refcount leaks
Jeffrey Altman [Sat, 7 Oct 2006 23:34:49 +0000]
windows-osi-prototypes-
20061007
osi_LogCreate
Jeffrey Altman [Sat, 7 Oct 2006 23:32:27 +0000]
windows-misc-cleanup-
20061007
reformat some code; make sure that pointers are copied while
mutexes are held; ...
Jeffrey Altman [Sat, 7 Oct 2006 23:27:14 +0000]
windows-scache-ref-leak-
20061007
return the cm_scache_t whose refCount was increased
Jeffrey Altman [Fri, 6 Oct 2006 17:31:30 +0000]
windows-misc-fixes-
20061006
#ifdef DEBUG_REFCOUNT the ref count log entries so they aren't always
compiled in
comment out the remaining location where the write lock on cm_scacheLock
is dropped in order to obtain the scache mutex on the object returned
from cm_GetNewSCache(). Dropping the lock results in more than one
thread being given the same cm_scache_t which is more dangerous than
blowing away the contents of the object without holding the mutex
ensure that cm_BufWrite is always called with a non-NULL scp. Add
an assertion to double check that we do it all the time.
Jeffrey Altman [Fri, 6 Oct 2006 17:23:27 +0000]
windows-log-crlf-
20061006
use CR-LF as the afsd.log EOL so that it can be read with notepad.exe
Tracy Di Marco White [Fri, 6 Oct 2006 15:55:35 +0000]
netbsd-30-
20061006
FIXES 40782
add support for netbsd 3.0, netbsd 4.0(ish)
Chaskiel M Grundman [Fri, 6 Oct 2006 14:59:54 +0000]
osi-probe-avoid-out-of-range-memory-reads-
20061006
FIXES 41858
avoid oops on opteron due to accessing unmapped memory
Chas Williams [Fri, 6 Oct 2006 14:27:44 +0000]
linux-2619-aio-and-read-write-changes-
20061006
changes to support 2.6.19
Marcus Watts [Fri, 6 Oct 2006 06:37:38 +0000]
pt_util-man-page-
20061005
Initial man page for pt_util.
Jeffrey Altman [Fri, 6 Oct 2006 06:13:49 +0000]
windows-more-misc-fixes-
20061005
replace all DebugBreak() calls with osi_panic.
remove calls to cm_RecycleSCache from VNOVNODE handler as its not
lock safe to drop and re-obtain locks to adhere to the locking
hierarchy
restore reference to CM_SCACHESYNC_STOREDATA that should
not have been removed.
remove attempts to adhere to locking hierarching from cm_GetNewSCache.
dropping the cm_scacheLock is too dangerous
add a check to ensure that the scache refcount is not zero if there
is a valid smb_fid_t pointing to it.
more debug logging
Jeffrey Altman [Thu, 5 Oct 2006 21:29:39 +0000]
windows-misc-fix-
20061005
still tracking down issues when large numbers of temporary files
are created and deleted in the same directory from multiple
machines.
VNOVNODE must return CM_ERROR_BADFD
ensure that all calls to cm_GetCallback are made from cm_SyncOp.
add CM_SCACHESYNC_FORCECB logic to cm_SyncOp so that it can be
removed from cm_GetAccess
don't mix CM_SCACHESYNC_NEEDCALLBACK with CM_SCACHESYNC_STOREDATA
or CM_SCACHESYNC_FETCHDATA
Jose Nazario [Thu, 5 Oct 2006 16:34:29 +0000]
bitwise-or-
20051005
bitwise and, not logical for p->flags in vnode_stop
reported by Jose Nazario
Jeffrey Altman [Thu, 5 Oct 2006 06:39:46 +0000]
windows-misc-fix-
20061004
more cleanup from recent patches. comment out the recycling code because
it is not possible to implement it using the current locking hierarchy.
change cm_BufWrite to take a pointer to cm_scache_t instead of a fid
which must be used to look up a new reference to the cm_scache_t.
more often than not we already have the scp and in the one case we
don't we can let the caller look up the scp and then call cm_BufWrite
if it is found. If not, we have saved a function call and a bunch
of lock operations.
add a lot more logging.
improve the scp mutex handling within smb_CloseFID
Jeffrey Altman [Wed, 4 Oct 2006 06:29:25 +0000]
windows-wrong-lock-
20061003
grab the correct mutex so we don't free one we are not holding
Jeffrey Altman [Wed, 4 Oct 2006 02:35:43 +0000]
windows-oops-
20061003
didn't mean to delete this release mutex
Jeffrey Altman [Wed, 4 Oct 2006 01:23:30 +0000]
windows-multi-fix-
20061003
misc cleanups
hold scp->mx while recycling
add FILE_NOTIFY_CHANGE_CREATION to the notification mask when adding
or deleting files
Jeffrey Altman [Wed, 4 Oct 2006 01:18:43 +0000]
windows-fetchstatus-
20061003
Don't call cm_GetCallback without checking the current callback status
with cm_HaveCallback first
Jeffrey Altman [Tue, 3 Oct 2006 04:22:37 +0000]
windows-multi-fix-
20061002
Fix the following problems:
it is possible for a file to be created, buffers to become dirty from
writes, the file to be deleted, the stat cache entry to be reused, and
the dirty buffers to remain dirty until the end of time.
stat cache entry starvation can occur because of large numbers of dirty
buffers which take too long to be written to the file server. The
thread that writes dirty buffers in background writes/checks a small
number of buffers, SQRT(buf-count), and then sleeps for 5 seconds.
Writing all of the dirty buffers via this algorithm produces untimely
results.
threads can end up waiting for a callback on the same stat cache entry
even though there are no threads actually attempting to perform the
FetchStatus.
And:
Fix prototypes
Optimize cm_GetNewSCache to reuse scache entries for deleted files
and entries not in the hashtable before allocating a new one. This
keeps the entries in the hashtable to a minimum and thereby improving
performance for all other operations which must lookup a scache entry
by FID.
Add support for Sequential and Random Access flags
Jeffrey Altman [Tue, 3 Oct 2006 03:45:16 +0000]
windows-track-lock-tid-
20061002
Keep track of the tid of the holding thread for writers
Jeffrey Altman [Tue, 3 Oct 2006 03:27:22 +0000]
windows-scache-ref-leak-
20061002
when handling VNOVNODE must release the scache entry.
Jeffrey Altman [Thu, 28 Sep 2006 13:58:04 +0000]
avoid-assert-for-missing-vnodes-
20060928
specify the correct number of parameters for VForceOffline_r()
Derrick Brashear [Wed, 27 Sep 2006 22:13:15 +0000]
darwin90-ukernel-setjmp-conflict-
20060927
FIXES 39354
setjmp isn't safe for #define KERNEL
Chas Williams [Wed, 27 Sep 2006 21:01:10 +0000]
keyring-gcpags-
20060927
FIXES 40659
do gcpags for keyrings without needing tasklist_lock
Derrick Brashear [Tue, 26 Sep 2006 03:22:28 +0000]
getcellunix-use-stdio-again-
20060925
i have no idea why this is so ugly. put it back to something like how it was.
Derrick Brashear [Tue, 26 Sep 2006 02:36:03 +0000]
copyonwrite-dont-assert-
20060925
take it offline, don't assert.
Ken Aaker [Mon, 25 Sep 2006 16:04:12 +0000]
getcell-still-stupid-
20060925
FIXES 40829
should be fixed a third time too
Jeffrey Altman [Fri, 22 Sep 2006 21:20:54 +0000]
windows-no-more-win95-
20060921
after killing off win95 at the hackathon there were some build
dependencies left behind. now we build again.
Jeffrey Altman [Fri, 22 Sep 2006 21:18:50 +0000]
vioc-header-split-
20060921
enable windows to build again
Jeffrey Altman [Fri, 22 Sep 2006 20:17:45 +0000]
windows-kfw-sdk-
20060921
kfw 3.1
Jeffrey Hutzelman [Fri, 22 Sep 2006 12:16:24 +0000]
tasklist-lock-redux-
20060922
try tasklist_lock weak binding in osi_probe
if no tasklist_lock, fall back to rcu locking
Derrick Brashear [Thu, 21 Sep 2006 22:10:28 +0000]
pr-changeentry-arg-types-
20060921
FIXES 40568
this has been broken a while, we just noticed it because of prototypes
Derrick Brashear [Thu, 21 Sep 2006 12:47:20 +0000]
avoid-assert-for-missing-vnodes-
20060921
right now if a vnode is missing when we try to clone, we could assert. ick.
Derrick Brashear [Thu, 21 Sep 2006 12:38:04 +0000]
dont-close-this-afsconf-either-
20060921
static means static
Derrick Brashear [Wed, 20 Sep 2006 06:51:15 +0000]
salvage-zlc-update-
20060920
avoid dealing so well with damaged namei volumes that we assume a temporary clone is damaged
Chas Williams [Tue, 19 Sep 2006 22:33:10 +0000]
linux-i-blksize-test-
20060919
this was missed in the configure test conversions
Jeffrey Altman [Tue, 19 Sep 2006 06:48:22 +0000]
windows-loopback-install-
20060919
FIXES 40291
Disable DNS Registrations for the Loopback Adapter and make sure
that Netbios is turned on.
Derrick Brashear [Sun, 17 Sep 2006 06:01:43 +0000]
solaris-fopen-sucks-
20060916
FIXES 38566
avoid issue trying fopen when fds 0-255 are in use already
yuck
Derrick Brashear [Sat, 16 Sep 2006 20:40:19 +0000]
fix-afsconf-leak-
20060916
this one's not a leak
Derrick Brashear [Sat, 16 Sep 2006 20:11:04 +0000]
amd64-linux-missing-syscall-nrs-
20060916
they removed these. makes it harder to probe for the ia32 syscall table
(ignoring the compilation issue)
cheat. they aren't going to change...
Chas Williams [Sat, 16 Sep 2006 01:13:22 +0000]
xml-docbook-documentation-first-pass-
20060915
needs more massaging to make it fit the tree, but, get it here first
Derrick Brashear [Sat, 16 Sep 2006 01:10:23 +0000]
darwin80-avoid-stack-free-
20060915
thanks to apple for their help; all i did was code the patch
Derrick Brashear [Sat, 16 Sep 2006 00:23:18 +0000]
namei-emulate-flock-
20060913
FIXES 39797
lockf when not locking and unlocking the whole file is fraught with peril
Jeffrey Altman [Sat, 16 Sep 2006 00:17:23 +0000]
afsconf-leak-
20060915
don't leak afsconf structs
Tom Keiser [Fri, 15 Sep 2006 00:58:24 +0000]
uae-avoid-dups-
20060914
avoid duplicates in the errno space so we don't return the wrong error (something unexpected)
Jeffrey Altman [Wed, 13 Sep 2006 18:49:58 +0000]
windows-afs-config-
20060913
FIXES 3730
remove "Show Tray Icon" checkbox from afs_config
Derrick Brashear [Tue, 12 Sep 2006 19:57:17 +0000]
suse-kernel-source-path-update-
20060912
no one can ever agree on anything
Peter Somogyi [Thu, 7 Sep 2006 02:08:39 +0000]
vol-voffline-avoid-early-freevolumeheader-
20050906
FIXES 39422
don't free vp before we finish using it
Asanka Herath [Thu, 7 Sep 2006 00:12:31 +0000]
windows-afs-shell-ext-32bit-
20060906
Generate a new GUID for the 64-bit AFS Shell Extension and install
the 32-bit version as part of the 32-bit tools
Chas Williams [Wed, 6 Sep 2006 21:56:01 +0000]
keyring-dont-use-syscall2-
20060906
avoid not-really-portable-use of syscall2
Jeffrey Altman [Wed, 6 Sep 2006 18:19:36 +0000]
windows-dot-dir-part-two-
20060906
cm_LookupInternal can return the input stat cache entry when the name
is "."
the DNLC should not cache "." or ".."
Jeffrey Altman [Wed, 6 Sep 2006 07:11:52 +0000]
windows-dot-dir-
20060906
when evaluating paths with cm_NameI treat the component "." as a no-op.
Jeffrey Altman [Wed, 6 Sep 2006 06:09:13 +0000]
windows-install-licenses-
20060905
port LICENSES file contents to installers
Jeffrey Altman [Wed, 6 Sep 2006 00:51:44 +0000]
windows-fs-prototypes-
20060905
remove unused prototype
Jeffrey Altman [Wed, 6 Sep 2006 00:47:34 +0000]
windows-vol-ntops-
20060905
if the function is namei_XXX on unix then it is nt_XXXX on Windows
Derrick Brashear [Tue, 5 Sep 2006 23:04:25 +0000]
pruclient-killer-logging-cleanup-
20060905
vicelog this stuff instead of fprintf
Derrick Brashear [Tue, 5 Sep 2006 17:30:33 +0000]
callpostamble-deal-with-null-host-
20060905
FIXES 38566
don't dereference garbage when no host was set
Chaskiel M Grundman [Tue, 5 Sep 2006 15:59:46 +0000]
salvage-zlc-update-
20060905
deal with damaged namei volumes better
Jeffrey Altman [Mon, 4 Sep 2006 18:36:23 +0000]
windows-vol-ntops-
20060904
add nt_SetNonZLC()
Russ Allbery [Sun, 3 Sep 2006 20:47:00 +0000]
autom4te-cache-is-evil-
20060903
Purge autom4te.cache after running autoconf so that we don't ship its huge
trace files in source releases. Add #!/bin/sh to the beginning of regen.sh
just because.