Jeffrey Altman [Sun, 5 Jun 2005 07:44:32 +0000]
windows-buf-waiting-
20050605
The function cm_SyncOp() can cause threads to wait either because there
is a state conflict on the current use of the cm_scache_t object or
a state conflict on the cm_buf_t object. Waiting is always performed
on the cm_scache_t object. However, if the conflict was with the cm_buf_t
object there was no method for waking up the thread when the conflict is
cleared. Now all of the cm_buf_t waiting functions also take a cm_scache_t
and waiting threads are woken if necessary.
cm_scache_t and cm_buf_t objects now have waitCount and waitRequest fields.
The WAITING flag is now cleared by the waking thread who sets waitCount to
zero.
Many improvements to trace logging for these issues.
Chas Williams [Sat, 4 Jun 2005 18:08:55 +0000]
linux26-clear-inode-locking-
20050603
respect i_state flag
(works for my test case, if it works more broadly i will pull up)
Derrick Brashear [Sat, 4 Jun 2005 15:42:12 +0000]
split-dcache-fixes-
20050604
based on discussions with jhutz@cmu.edu and chas@cmf.nrl.navy.mil
Chas Williams [Thu, 2 Jun 2005 06:20:23 +0000]
solaris10-optimization-
20050602
FIXES 17262
declare certain things volatile to make solaris compiler less cranky
Tracy Di Marco White [Thu, 2 Jun 2005 05:40:53 +0000]
netbsd-fileserver-shutdown-
20050601
FIXES 16897
do what we do on darwin
Tracy Di Marco White [Thu, 2 Jun 2005 05:27:27 +0000]
netbsd-399-
20050601
FIXES 18288
add support for netbsd 3.99
Chas Williams [Tue, 31 May 2005 22:12:28 +0000]
d-reval-one-more-
20050531
last try
Jeffrey Altman [Tue, 31 May 2005 21:33:52 +0000]
windows-undo-
20050531
undo last change
Derrick Brashear [Tue, 31 May 2005 20:55:35 +0000]
rxkad-stats-cleanup-
20050531
define this in kernel
Jeffrey Altman [Tue, 31 May 2005 18:36:28 +0000]
windows-more-races-
20050531
a couple of more locations at which cm_SyncOpDone() either was not
called or was called without holding the scache mutex.
Jim Rees [Tue, 31 May 2005 16:43:59 +0000]
use-test-r-
20050531
Use "test -r" instead of "test -e". Not all systems (Solaris) have -e.
Jeffrey Altman [Tue, 31 May 2005 15:18:38 +0000]
windows-logon-cleanup-
20050531
remove debugging messages
Jeffrey Altman [Tue, 31 May 2005 14:23:54 +0000]
windows-des-stats-
20050531
Put the declaration for rxkad_stats back into the stats.h but only
for Windows. We don't want to deal with figuring out all the
dependencies today.
Derrick Brashear [Tue, 31 May 2005 03:11:38 +0000]
rx-queue-macros-rename-
20050530
/usr/include/ctype.h on macos 10.3.9 now uses _Q
bah
Derrick Brashear [Mon, 30 May 2005 18:34:30 +0000]
rxkad-stats-cleanup-
20050530
minor reorg so everything links ok
Jeffrey Altman [Mon, 30 May 2005 11:49:30 +0000]
not-cplusplus-
20050530
variables must be declared at the start of a block.
Jeffrey Altman [Mon, 30 May 2005 11:46:38 +0000]
windows-double-declare-
20050530
rx_global_stats is being declared twice in the header file each
time with different properties. Remove the one that is not
conditionalized.
Jeffrey Altman [Mon, 30 May 2005 06:36:16 +0000]
windows-include-des-
20050529
Create an include/des directory and copy stats.h into it
Tom Keiser [Mon, 30 May 2005 06:22:04 +0000]
parallel-attaching-
20050529
FIXES 18999
allow parallelization of VInitVolumePackage so attaching volumes can be sped up
Tom Keiser [Mon, 30 May 2005 05:55:12 +0000]
pthread-rxkad-stats-
20050529
FIXES 17547
speed up rxkad by keeping stats per-thread
Chas Williams [Mon, 30 May 2005 05:36:25 +0000]
memcache-dont-dump-buffer-
20050529
FIXES 18944
don't bother dumping what may not be a readable buffer while tracing when using memcache
Chaskiel M Grundman [Mon, 30 May 2005 05:33:30 +0000]
linux-vnode-aliases-
20050529
FIXES 18613
you can end up hanging when you end up with multiple aliases for a single directory (dentry) as a result of @sys or multiple mountpoints.
don't end up with multiple aliases, and avoid the situation
Peter Somogyi [Mon, 30 May 2005 05:20:19 +0000]
s390x-linux26-remove-externs-
20050529
FIXES 18987
remove externs in param for s390x linux26
Jeffrey Altman [Mon, 30 May 2005 05:13:13 +0000]
windows-notes-
20050529
Update notes for 1.3.8300
Chas Williams [Mon, 30 May 2005 05:12:10 +0000]
d-reval-fin-
20050529
FIXES 18588
last try at fixing d-revalidate
Derrick Brashear [Mon, 30 May 2005 05:07:56 +0000]
module-license-url-
20050529
FIXES 18596
url with module license info
Chas Williams [Mon, 30 May 2005 04:57:02 +0000]
vcache-cleanup-
20050529
FIXES 18368
clean up unused stuff in struct vcache
Jeffrey Altman [Mon, 30 May 2005 04:55:47 +0000]
windows-stuff-
20050529
(1) Replace all calls to getenv() with GetEnvironment(). getenv() does
not read from the real environment but instead from a copy created by
the C RTL.
(2) Add support for preserving Kerberos 5 tickets during the Integrated
Logon process. Now when Integrated Logon is used, the tickets will
be stored into the default ccache within the user session.
(3) Stress testing at MIT uncovered two code paths that could leave
threads in a permanent sleep state under heavy load. Calls to
cm_SyncOpDone were added to plug this hole.
====================
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.
====================
Install afscpcc.exe and register the KFWLogon WinLogon Event Handler
Tom Keiser [Mon, 30 May 2005 04:39:50 +0000]
rx-fpq-bulk-free-
20050529
FIXES 19027
After profiling RX for a while, I've found a few more bottlenecks in the
packet handling code. This patch addresses a couple of these issues.
The major change in this patch is a new API to allow bulk packet
alloc/free ops on rx_queue's of packets. Benefits include reduced lock
contention on rx_freePktQ_lock, elimination of a lot of unnecessary cache
line invalidates, and reduced register window thrashing on sparc.
In addition, this patch dedicates one rx_packet per thread to rxi_SendAck,
since that function is in the critical path, and represents a large
percentage of execution time.
Tracy Di Marco White [Mon, 30 May 2005 04:35:52 +0000]
netbsd-pam-
20050529
FIXES 18924
pam support for nbsd
Roman Mitz [Wed, 25 May 2005 00:12:52 +0000]
discard-rx-streams-
20050524
FIXES 18895
they wouldn't compile anyway. remove references also.
Klas Lindfors [Wed, 25 May 2005 00:06:43 +0000]
make-clearcallback-faster-
20050524
FIXES 4413
hash callbacks twice so we can discard them more quickly.
Derrick Brashear [Tue, 24 May 2005 21:32:36 +0000]
unroll-macos-104-
20050523
we'll finish it on a branch and remerge; 1.3.83 needs to happen and 1.4 needs to go out.
====================
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.
====================
we'll finish it on a branch and remerge; 1.3.83 needs to happen and 1.4 needs to
go out.
Asanka Herath [Tue, 24 May 2005 06:12:19 +0000]
windows-loopback-
20050524
Find the loopback adapter installer by hardware ID instead of English name.
Jeffrey Altman [Mon, 23 May 2005 14:57:55 +0000]
windows-notes-
20050523
more fixes
Jeffrey Altman [Sun, 22 May 2005 06:53:44 +0000]
windows-delonclose-
20050522
Fix support for the CreateFile(DELETE_ON_CLOSE) option.
Jim Rees [Fri, 20 May 2005 20:26:53 +0000]
bsd-config-
20050520
config stuff for OpenBSD 3.7, FreeBSD 5.4 and 6.0
Jim Rees [Fri, 20 May 2005 20:19:26 +0000]
obsd-time-
20050520
Remove extern time from OBSD/osi_machdep.h. It's in sys/kernel.h.
Suggested by irene.braun@ualberta.ca.
Jeffrey Altman [Wed, 18 May 2005 23:29:32 +0000]
windows-version-
20050518
1.3.8300
Jeffrey Altman [Wed, 18 May 2005 23:27:19 +0000]
windows-notes-
20050518
1.3.8300
Jeffrey Altman [Wed, 18 May 2005 23:22:03 +0000]
windows-afssvrmgr-
20050518
Link resulting executable to kerberos 5
Jeffrey Altman [Wed, 18 May 2005 23:01:10 +0000]
rx-makecall-race-fix-
20050518
On at least one system it was noticed that threads waiting in rx_NewCall
would starve forever (aka deadlock). This was the result of one out of
two problems related to a race condition on the RX_CONN_MAKECALL_WAITING
bit flag. This flag was set once in rx_NewCall and cleared in rx_EndCall.
However, it was possible for the flag to be cleared even though there
were additional flags waiting in rx_NewCall. This was due to a failure
to check the value of makeCallWaiters before clearing the flag and also
due to a failure to properly lock the access to the makeCallWaiters field.
The second problem was an ability to destroy a connection on which threads
are waiting within rx_NewCall.
Chas Williams [Wed, 18 May 2005 14:52:24 +0000]
linux-str-inlines-
20050518
add #include <linux/string.h> in the param file after <linux/config.h>
fixes unresolved ref to strlen from xdr.o via inline
Jeffrey Altman [Tue, 17 May 2005 19:25:21 +0000]
windows-dnlc-corruption-
20050517
It has been noticed that on startup there may be corruption of the
dnlc freelist. In particular, some items on the list are actually
in use. This patch will cause the dnlc to be purged if corruption
of the freelist is detected. It also makes changes to ensure that
items placed onto the freelist are in fact cleaned to prevent confusion.
The purge function is corrected to set that magic field to the correct
value.
The validation function is fixed to not CloseHandle the same handle
twice.
Jim Rees [Sun, 15 May 2005 21:54:50 +0000]
fix-vrefcount-
20050513
fix VREFCOUNT macro for XBSD
====================
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.
====================
and everything else.
Jim Rees [Sun, 15 May 2005 21:40:15 +0000]
freebsd60-readme-
20050515
Add FreeBSD 6.0.
Consolidate linux kernel header notes in Linux Notes section.
Reformat system types section.
Derrick Brashear [Fri, 13 May 2005 22:43:55 +0000]
macos104-not-yet-
20050513
rewrite attrs section a bit to deal with 10.4
Derrick Brashear [Fri, 13 May 2005 04:00:24 +0000]
macos104-not-yet-
20050512
virtualize vnode refcount "greater than" testing so we can use tiger primitive
Jim Rees [Thu, 12 May 2005 21:06:59 +0000]
fix-tuiop-
20050512
tuiop, not tuio
Chaskiel M Grundman [Thu, 12 May 2005 19:30:35 +0000]
macos104-not-yet-
20050511
further work
====================
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.
====================
ifaddr/ifnet compat macros for older versions, and clean up afs_server interface ot use it.
fix vnode_isinuse macros
====================
further work
====================
further work
Jeffrey Altman [Wed, 11 May 2005 22:33:33 +0000]
windows-scache-release-
20050511
Add additional "if !NULL" checks before calling cm_SCacheRelease
Jeffrey Altman [Tue, 10 May 2005 04:34:03 +0000]
windows-minidump-
20050509
Enable support for Minidump generation and crash reporting
Jeffrey Altman [Tue, 10 May 2005 04:33:28 +0000]
windows-server-manager-
20050509
Enable KFW support for server manager
Jeffrey Altman [Tue, 10 May 2005 04:32:30 +0000]
windows-makefile-
20050509
reorganize dependencies to allow kfw to be integrated into Server Manager
Jeffrey Altman [Tue, 10 May 2005 04:31:56 +0000]
windows-notes-
20050509
latest updates
Chaskiel M Grundman [Sun, 8 May 2005 07:49:43 +0000]
macos-104-not-yet-
20050508
shadow@dementia.org to blame for some of this.
Klas Lindfors [Sun, 8 May 2005 07:16:45 +0000]
export-calleraccess-via-pioctl-
20050508
FIXES 18442
provide pioctl to get CallerAccess bits
Chaskiel M Grundman [Sun, 8 May 2005 07:09:19 +0000]
volinfo-fixes-
20050508
FIXES 18391
large (>31bit) volume id handling and fixed handling of cloned volumes
Christopher Allen Wing [Sun, 8 May 2005 07:05:09 +0000]
linux-proc-read-seq-file-
20050508
FIXES 18612
use sequenced file interface for proc copy of CellServDB
Tom Keiser [Sun, 8 May 2005 06:59:58 +0000]
fix-64bit-assign-int64-
20050508
FIXES 18611
make this match the way the 32 bit (struct lo/hi) version works
Marc Horowitz [Sun, 8 May 2005 06:55:45 +0000]
sparc64-linux26-
20050508
FIXES 18485
add sparc64-linux24 port
Steve Roseman [Sun, 8 May 2005 06:50:23 +0000]
aix-auth-speedup-
20050508
FIXES 18467
The security module "afs_dynamic_auth" can get VERY slow if trying to
authenticate against a user in a large NIS password file. This happens
because it "replaces" getpwnam with code which loops through the
"passwd" file.
this 1) makes external programs use the "real"
getpwnam, and 2) changes the internal routine afs_getpwnam_int to use
getpwnam instead of iterating.
Chaskiel M Grundman [Sun, 8 May 2005 06:46:14 +0000]
linux-copyin-copyout-dont-check-errors-
20050508
FIXES 18293
improved macros which do error checking
Chas Williams [Sun, 8 May 2005 06:38:15 +0000]
d-revalidate-redux-
20050508
FIXES 18588
when the callback for a directory is broken the children of this vnode
are not invalidated as well. so VerifyVCache() always believes these
vnodes to be up to date since they will still have the CStatd flag.
perhaps breaking the callback on a directory should also clear CStatd
on children vnodes?
this isnt a problem for other operating system which go through the
dnlc which does purge the children entries for the vnode in question
during ClearCallBack().
since d_revalidate now avoids the dnlc (and afs_lookup) the following
patch tracks the parent vnode's DataVersion (just the lower half really
but this should be sufficient) in d_time. if the parent has changed
then the dentry is flagged as neededing updated.
Derrick Brashear [Mon, 2 May 2005 03:04:45 +0000]
macos104-not-yet-
20050501
push first group of 10.4 changes
Jim Rees [Fri, 29 Apr 2005 22:55:58 +0000]
freebsd60-mount-
20050429
Fix new FreeBSD mount vfs op.
Client works now, at least for a little while.
Jeffrey Altman [Fri, 29 Apr 2005 21:00:10 +0000]
windows-version-
20050429
1.3.8201
====================
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.
====================
1.3.8201 (do it right this time)
Jeffrey Altman [Fri, 29 Apr 2005 20:51:18 +0000]
windows-fix-kfw-dependency-
20050429
a failure to install KFW would lead to crashes
Jeffrey Altman [Fri, 29 Apr 2005 20:49:58 +0000]
windows-notes-
20050429
1.3.8201
====================
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.
====================
remove AFS Gateway option
Jim Rees [Fri, 29 Apr 2005 19:24:01 +0000]
freebsd-
20050429
Move module init/uninit code from module event handler to vfs ops
Use VFS_SET for FreeBSD 6.0
Jim Rees [Fri, 29 Apr 2005 18:01:08 +0000]
getpid-
20050429
rename our getpid() to osi_getpid() to avoid name collision with kernel version
Derrick Brashear [Fri, 29 Apr 2005 02:48:21 +0000]
macos-osi-flushpages-
20050428
reenable osi_FlushPages
Derrick Brashear [Thu, 28 Apr 2005 23:14:57 +0000]
split-dcache-
20050427
split for rw/ro dcaches to allow portion of cache to be dedicated
====================
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.
====================
update
Jeffrey Altman [Thu, 28 Apr 2005 19:12:43 +0000]
windows-version-
20050428
1.3.8200
Derrick Brashear [Thu, 28 Apr 2005 06:02:19 +0000]
vnode-nusers-avoid-potential-overflow-
20050428
a byte is very small...
Chaskiel M Grundman [Thu, 28 Apr 2005 04:10:19 +0000]
osi-initcacheinfo-cleanup-
20050427
FIXES 18429
remove extraneous variable, be consistent about cacheMnt type
Peter Somogyi [Thu, 28 Apr 2005 04:04:13 +0000]
change-s390x-linker-binding-
20050427
FIXES 18447
to avoid binding against xdr_int_internal in xdr use from the pam module
Chaskiel M Grundman [Wed, 27 Apr 2005 22:43:18 +0000]
linux-always-glock-
20050427
finish this up, always glock on linux
Jeffrey Altman [Wed, 27 Apr 2005 16:32:22 +0000]
windows-callback-race-
20050427
cm_EndCallbackGrantingCall contained a race condition due to the release
of the cm_callbackLock in the middle of the for() loop. The race was
removed by optimizing out the call to cm_CallbackNotifyChange(). There
is no reason this needed to be called once per callback revoke in the
list.
Jeffrey Altman [Wed, 27 Apr 2005 16:28:00 +0000]
winnotes-
20050427
more updates
Derrick Brashear [Wed, 27 Apr 2005 02:49:47 +0000]
add-ptprocs-prototype-use-
20050426
thanks to Chris Wing for pointing this out
Derrick Brashear [Wed, 27 Apr 2005 02:36:40 +0000]
daemonize-log-somewhere-so-fds-can-close-without-harm-
20050426
FIXES 18405
switch to VLog from printf
Tom Keiser [Mon, 25 Apr 2005 21:52:59 +0000]
rx-fpq-optimize-
20050425
FIXES 17805
here's a patch that reduces the overhead of transfers
between the local and global free packet queues. The old algorithm was
O(n) in the number of store instructions -- 7 per rx_packet. I've added
some bulk transfer macros to the rx_queue package. Now, the number of
store instructions is O(1) -- 6 total. This should help reduce bus
contention and cache line invalidates on SMPs.
Derrick Brashear [Mon, 25 Apr 2005 18:20:16 +0000]
linux-global-sunlock-always-
20050424
ok, well, in the land of pre-emption i guess we need this always
Chas Williams [Mon, 25 Apr 2005 15:54:54 +0000]
linux-dentry-revalidate-one-more-
20050424
further updates
Chaskiel M Grundman [Sun, 24 Apr 2005 15:54:03 +0000]
add-missing-inotify-test-
20050424
so we actually detect the inotify sem
Chas Williams [Sun, 24 Apr 2005 15:26:53 +0000]
dentry-revalidate-cleanup-
20050424
clean up dentry_revalidate one more time so performance improves
Niklas Edmundsson [Sun, 24 Apr 2005 15:24:57 +0000]
aix53-
20050424
add param file for aix 53
check for cache partition type
Rainer Toebbicke [Sun, 24 Apr 2005 15:19:55 +0000]
maintain-volume-filecounts-
20050424
maintain file counts in volume header
Christopher Allen Wing [Sun, 24 Apr 2005 15:16:21 +0000]
use-daemon-in-bosserver-and-afsd-
20050424
provide daemon() if none exists. call it in bosserver and in afsd for afsdb handler
====================
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.
====================
add the file, too
Chas Williams [Sun, 24 Apr 2005 15:01:29 +0000]
avoid-leaking-stat-info-
20050424
otherwise we are effectively giving stat powers to people who shouldn't have it
Chaskiel M Grundman [Sun, 24 Apr 2005 02:02:52 +0000]
osi-file-use-dentry-open-
20050423
FIXES 18335
use dentry_open et al instead of doing the work ourselves
Derrick Brashear [Sun, 24 Apr 2005 01:54:42 +0000]
linux-osi-module-proc-csdb-sprintf-bug-
20050423
FIXES 18334
remove extraneous %s
Jim Rees [Fri, 22 Apr 2005 15:57:09 +0000]
freebsd60-
20050422
Preliminary FreeBSD 6.0 support.
Builds, but unlikely to work.
Jim Rees [Thu, 21 Apr 2005 23:08:12 +0000]
ignore-ytab-
20050421
add y.tab.h to .cvsignore
Michael Niksch [Thu, 21 Apr 2005 13:03:43 +0000]
restore-tab-
20050421
Restore lost tab.
Jeffrey Altman [Thu, 21 Apr 2005 03:16:57 +0000]
windows-shell-ext-remove-mtpt-
20050420
Conditionalize the AFS->Mount Point->Remove menu item based upon whether
or not the selected item(s) contain mount points
Tom Keiser [Wed, 20 Apr 2005 22:21:16 +0000]
rx_fpq_take_three-
20050420
FIXES 17805
I've been stress testing a patch all weekend that changes the way
thread-local packet quotas are computed. I was able to replicate the
unbounded packet alloc problem on unix server components by eliminating my
code from rxi_StartServerProcs that sets the maximum number of expected
threads. This patch makes the upper thread limit get computed on the fly,
adds some thread-local free packet queue statistics, and a few other minor
tweaks. I still don't have a working windows development environment, so
I can't say whether this will fix all the windows client problems. But,
the unbounded packet allocation problem should go away with this patch.
stress testing on windows succeeds as well. <jaltman@secure-endpoints.com>
Jim Rees [Wed, 20 Apr 2005 17:35:44 +0000]
fix-vc-v-macro-
20050420
Fix IsAfsVnode and friends for OpenBSD and NetBSD.
Use "v" instead of "vc" for vnode args to macros (cosmetic only).
Redefine OpenBSD macros instead of using #ifdefs in afs_osi.h.
Jeffrey Altman [Tue, 19 Apr 2005 22:06:22 +0000]
windows-hookdll-
20050419
Some more tweaks for hook dll processing.