]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
20 years agoSTABLE14-threaded-logging-20050619
Jeffrey Altman [Tue, 21 Jun 2005 21:22:12 +0000 (21:22 +0000)]
STABLE14-threaded-logging-20050619

update logging to be able to show threads

(cherry picked from commit 9b1430c2d028dd38ce7392297cfe572d82a4c173)

20 years agoSTABLE14-pts-logging-20050619
Jeffrey Altman [Tue, 21 Jun 2005 21:21:58 +0000 (21:21 +0000)]
STABLE14-pts-logging-20050619

enhance pts logging

(cherry picked from commit a63ba494bf909ed36b75556cb1f4d33ce13b76c5)

20 years agoSTABLE14-viced-firstclient-retry-20050619
Derrick Brashear [Tue, 21 Jun 2005 21:20:41 +0000 (21:20 +0000)]
STABLE14-viced-firstclient-retry-20050619

FIXES 1345

avoid race as we add a new client

(cherry picked from commit 0f61c69103bada5f4039ffd3968d7e8b92eb9bf6)

20 years agoSTABLE14-more-aklog-fixes-20050618
Ken Hornstein [Tue, 21 Jun 2005 21:20:20 +0000 (21:20 +0000)]
STABLE14-more-aklog-fixes-20050618

Fixup aklog so it will compile (at least on MacOS X).  Include basic
autoconf glue.

(cherry picked from commit bcdb5a184ee597244fe1c7a8c708ee6bf796d07a)

20 years agoSTABLE14-rxkad-stats-do-it-right-20050618
Derrick Brashear [Tue, 21 Jun 2005 21:19:58 +0000 (21:19 +0000)]
STABLE14-rxkad-stats-do-it-right-20050618

fine, let's just do this right

(cherry picked from commit c4c11566986877903ac5bdf73e6c2241ef72de9d)

20 years agoSTABLE14-move-rxkad-stats-20050618
Derrick Brashear [Tue, 21 Jun 2005 21:19:48 +0000 (21:19 +0000)]
STABLE14-move-rxkad-stats-20050618

fine, let's try this again, so aklog doesn't lose, but this sucks

(cherry picked from commit d201f1e234c14b0fef5c55ed9016f0df956e38b7)

20 years agoSTABLE14-vnrehash-avoid-cachecheck-change-20050618
Derrick Brashear [Tue, 21 Jun 2005 21:19:41 +0000 (21:19 +0000)]
STABLE14-vnrehash-avoid-cachecheck-change-20050618

unlocking and locking lets us race and makes cacheCheck potentially go bad

20 years agoSTABLE14-vlprocs-extended-user-logging-20050618
Derrick Brashear [Tue, 21 Jun 2005 21:19:29 +0000 (21:19 +0000)]
STABLE14-vlprocs-extended-user-logging-20050618

update log message to provide full username

(cherry picked from commit b5461fc5a8350a5a1110e225da62caa7bf0e7245)

20 years agoSTABLE14-lock-client-around-acl-checkrights-20050618
Derrick Brashear [Tue, 21 Jun 2005 21:19:24 +0000 (21:19 +0000)]
STABLE14-lock-client-around-acl-checkrights-20050618

FIXES 1345

one of the like 3 crashes there. thanks love

(cherry picked from commit f16d1cef70e138b71a04d9c71ab067a1dc947867)

20 years agoSTABLE14-audit-protoization-20050618
Derrick Brashear [Tue, 21 Jun 2005 21:17:09 +0000 (21:17 +0000)]
STABLE14-audit-protoization-20050618

protoize libaudit

(cherry picked from commit cc2f4ac0b36e79b137d03dcea32bb59bd1bceb8d)

20 years agoSTABLE14-libafsdep-des-stats-20050618
Derrick Brashear [Tue, 21 Jun 2005 21:16:29 +0000 (21:16 +0000)]
STABLE14-libafsdep-des-stats-20050618

for rxkad stats dependancy when doing only_libafs build

(cherry picked from commit b680a2d1221144c07d15a40d495146d2c84d2b13)

20 years agoSTABLE14-revert-splitdcache-20050621
Derrick Brashear [Tue, 21 Jun 2005 21:13:48 +0000 (21:13 +0000)]
STABLE14-revert-splitdcache-20050621

revert this for 1.4 series

20 years agoSTABLE14-windows-logon-20050613
Jeffrey Altman [Mon, 13 Jun 2005 15:31:12 +0000 (15:31 +0000)]
STABLE14-windows-logon-20050613

fix the return value of IsServiceStartPending.

use IsServiceRunning and IsServiceStartPending in the while loop

(cherry picked from commit be485c959856311853303f5633687adb1efc5109)

20 years agoSTABLE14-windows-installer-updates-20050612
Jeffrey Altman [Mon, 13 Jun 2005 02:07:39 +0000 (02:07 +0000)]
STABLE14-windows-installer-updates-20050612

Add asetkey.exe

Add uninstall.exe and associated shortcut to Wix

Fix ability to uninstall loopback adapter on non-English Windows versions

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

build wix/uninstall directory

====================

use "uninst" for build rule instead of "uninstall"

====================

add "clean" rule

====================

add OpenAFS logo icon

(cherry picked from commit 8f5d90c7cf6137fc5fde1e4063ceb62aeb1abcd1)

20 years agoSTABLE14-windows-misc-fixes-20050612
Jeffrey Altman [Sun, 12 Jun 2005 12:45:49 +0000 (12:45 +0000)]
STABLE14-windows-misc-fixes-20050612

if scp is not known when flushing dirty buffers, find it by fid

only free the server list when one was obtained

hold the scp mutex until after the associated bufp flags are updated

only get the volume by id if there is a server callback

map CM_ERROR_ALLOFFLINE to NT Remote Host Down

(cherry picked from commit 06597a0e03faf2f5d4cd8d3f72b93017970b28fd)

20 years agoSTABLE14-windows-asetkey-20050612
Jeffrey Altman [Sun, 12 Jun 2005 12:26:15 +0000 (12:26 +0000)]
STABLE14-windows-asetkey-20050612

Add asetkey.exe to the Windows distribution

(cherry picked from commit a08552748100597bea748b17a9ae1b8ddf4a9aa7)

20 years agoSTABLE14-pipe-logging-fix-20050610
Jeffrey Altman [Fri, 10 Jun 2005 22:38:11 +0000 (22:38 +0000)]
STABLE14-pipe-logging-fix-20050610

fstat calls should be lstat

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

fstat calls should be lstat

bang in the wrong place

(cherry picked from commit 324cd9710526238056801d9b19ef1626db7f3c78)

20 years agoSTABLE14-sgi-afs-rename-decl-fix-20050610
Tony D'Amato [Fri, 10 Jun 2005 22:11:49 +0000 (22:11 +0000)]
STABLE14-sgi-afs-rename-decl-fix-20050610

achar -> char

(cherry picked from commit 72de37a9c45f7d1184ef0c23465d2b79dbfe93c5)

20 years agoSTABLE14-unbalanced-unlock-20050610
Jeffrey Altman [Fri, 10 Jun 2005 22:07:48 +0000 (22:07 +0000)]
STABLE14-unbalanced-unlock-20050610

Addition of __EXPERIMENTAL_CALLBACK_CONN_MOVING if defined left an
unbalanced H_UNLOCK.

Semi-colons after H_LOCK and H_UNLOCK were missing.

(cherry picked from commit 4af80bc2045ee85592a82bc9aacaee71f8667ea0)

20 years agoSTABLE14-windows-afslogon-20050610
Jeffrey Altman [Fri, 10 Jun 2005 21:55:12 +0000 (21:55 +0000)]
STABLE14-windows-afslogon-20050610

replace wfhile(TRUE) with while(afsAutoStart)

(cherry picked from commit a70bec720087aab99909861c346cc59d14107278)

20 years agoSTABLE14-openafs-1-3-84-20050605 openafs-devel-1_3_84
Derrick Brashear [Sun, 5 Jun 2005 16:43:39 +0000 (16:43 +0000)]
STABLE14-openafs-1-3-84-20050605

this time for sure

20 years agoSTABLE14-use-test-r-20050531
Jim Rees [Sun, 5 Jun 2005 16:39:55 +0000 (16:39 +0000)]
STABLE14-use-test-r-20050531

Use "test -r" instead of "test -e".  Not all systems (Solaris) have -e.

(cherry picked from commit 1ceb19954b0b4bfca3d500803649debc0e9c001a)

20 years agoSTABLE14-split-dcache-fixes-20050604
Derrick Brashear [Sun, 5 Jun 2005 16:34:49 +0000 (16:34 +0000)]
STABLE14-split-dcache-fixes-20050604

based on discussions with jhutz@cmu.edu and chas@cmf.nrl.navy.mil

(cherry picked from commit edb1f92a67c5875b6be11621fe1b519c01877e8f)

20 years agoSTABLE14-linux26-clear-inode-locking-20050603
Chas Williams [Sun, 5 Jun 2005 16:34:42 +0000 (16:34 +0000)]
STABLE14-linux26-clear-inode-locking-20050603

respect i_state flag

(works for my test case, if it works more broadly i will pull up)

(cherry picked from commit dcb55704f990790898780fc7a280b1a378440b9c)

20 years agoSTABLE14-windows-version-20050605
Jeffrey Altman [Sun, 5 Jun 2005 15:52:45 +0000 (15:52 +0000)]
STABLE14-windows-version-20050605

1.3.8400

(cherry picked from commit 3b414bb125ce226ee79edb5bf0c524c4b3a3e75f)

20 years agoSTABLE14-windows-notes-20050605
Jeffrey Altman [Sun, 5 Jun 2005 15:47:08 +0000 (15:47 +0000)]
STABLE14-windows-notes-20050605

updates for 1.3.84

(cherry picked from commit 01845badd5da293cb360fb54fc25d25558a150d4)

20 years agoSTABLE14-windows-syncop-waiting-20050605
Jeffrey Altman [Sun, 5 Jun 2005 14:39:29 +0000 (14:39 +0000)]
STABLE14-windows-syncop-waiting-20050605

Forgot to remove unneeded flag

(cherry picked from commit be6ccec728bf2cad77f5aad83a706a281baaf9d0)

20 years agoSTABLE14-windows-buf-waiting-20050605
Jeffrey Altman [Sun, 5 Jun 2005 07:45:31 +0000 (07:45 +0000)]
STABLE14-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.

(cherry picked from commit dfd34687f29ea2c20c5c0438ab4dba11e077f889)

20 years agoSTABLE14-solaris10-optimization-20050602
Chas Williams [Thu, 2 Jun 2005 06:21:57 +0000 (06:21 +0000)]
STABLE14-solaris10-optimization-20050602

FIXES 17262

declare certain things volatile to make solaris compiler less cranky

(cherry picked from commit 23cbd8f646dac8dbe3d5615e8a59e1170a281f07)

20 years agoSTABLE14-netbsd-fileserver-shutdown-20050601
Tracy Di Marco White [Thu, 2 Jun 2005 05:41:30 +0000 (05:41 +0000)]
STABLE14-netbsd-fileserver-shutdown-20050601

FIXES 16897

do what we do on darwin

(cherry picked from commit ab0f8ed43b863aeccbb98c8beae545cfeb40ee36)

20 years agoSTABLE14-netbsd-399-20050601
Tracy Di Marco White [Thu, 2 Jun 2005 05:28:10 +0000 (05:28 +0000)]
STABLE14-netbsd-399-20050601

FIXES 18288

add support for netbsd 3.99

(cherry picked from commit 9e110558c26b1f3b4c3f96fa9c4b3c1cb9e60dd7)

20 years agoSTABLE14-d-reval-one-more-20050531
Chas Williams [Tue, 31 May 2005 22:12:51 +0000 (22:12 +0000)]
STABLE14-d-reval-one-more-20050531

last try

20 years agoSTABLE14-d-reval-one-more-20050531 openafs-devel-1_3_83
Chas Williams [Tue, 31 May 2005 22:12:51 +0000 (22:12 +0000)]
STABLE14-d-reval-one-more-20050531

last try

20 years agoSTABLE14-windows-undo-20050531
Jeffrey Altman [Tue, 31 May 2005 21:34:26 +0000 (21:34 +0000)]
STABLE14-windows-undo-20050531

undo last change

(cherry picked from commit fa00cacf48e66c275604d616112e0b74932ace44)

20 years agoSTABLE14-windows-more-races-20050531
Jeffrey Altman [Tue, 31 May 2005 18:36:57 +0000 (18:36 +0000)]
STABLE14-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.

(cherry picked from commit 528c511aabaefcafc01361c8038766ce56fe8e45)

20 years agoSTABLE14-openafs-1-3-83-20050531
Derrick Brashear [Tue, 31 May 2005 15:49:19 +0000 (15:49 +0000)]
STABLE14-openafs-1-3-83-20050531

make 1.3.83

20 years agoSTABLE14-windows-logon-cleanup-20050531
Jeffrey Altman [Tue, 31 May 2005 15:19:06 +0000 (15:19 +0000)]
STABLE14-windows-logon-cleanup-20050531

remove debugging messages

(cherry picked from commit e844445243f837f9bc2fc52b503af99ecd44427e)

20 years agoSTABLE14-windows-des-stats-20050531
Jeffrey Altman [Tue, 31 May 2005 14:26:01 +0000 (14:26 +0000)]
STABLE14-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.

(cherry picked from commit 4c143cf63df724637d765b8ade88a9f5aa97107e)

20 years agoSTABLE14-rx-queue-macros-rename-20050530
Derrick Brashear [Tue, 31 May 2005 03:12:25 +0000 (03:12 +0000)]
STABLE14-rx-queue-macros-rename-20050530

/usr/include/ctype.h on macos 10.3.9 now uses _Q

bah

(cherry picked from commit d9f9724c9562f8ae0115394454dd2dd96ac258ff)

20 years agoSTABLE14-rxkad-stats-cleanup-20050530
Derrick Brashear [Mon, 30 May 2005 19:30:36 +0000 (19:30 +0000)]
STABLE14-rxkad-stats-cleanup-20050530

minor reorg so everything links ok

(cherry picked from commit c87ae4f82cacacef68a2b54ad21e17ac6d5ddfae)

20 years agoSTABLE14-not-cplusplus-20050530
Jeffrey Altman [Mon, 30 May 2005 11:50:04 +0000 (11:50 +0000)]
STABLE14-not-cplusplus-20050530

variables must be declared at the start of a block.

(cherry picked from commit 5343ad18e33b97e808fdf377bbdb2c76bb63da0d)

20 years agoSTABLE14-windows-double-declare-20050530
Jeffrey Altman [Mon, 30 May 2005 11:48:07 +0000 (11:48 +0000)]
STABLE14-windows-double-declare-20050530

rxkad_global_stats is being declared twice in the header file each
time with different properties.  Remove the one that is not
conditionalized.

(cherry picked from commit ad4634fca26d92c9496dbbd70e7c970c1f84a5ad)

20 years agoSTABLE14-windows-include-des-20050529
Jeffrey Altman [Mon, 30 May 2005 06:41:30 +0000 (06:41 +0000)]
STABLE14-windows-include-des-20050529

Create an include/des directory and copy stats.h into it

(cherry picked from commit e5d21400b799c34af8ed63cf5dba2ee95c83cd87)

20 years agoSTABLE14-merge-cleanup-20050529
Derrick Brashear [Mon, 30 May 2005 06:28:19 +0000 (06:28 +0000)]
STABLE14-merge-cleanup-20050529

minor dinking from unclean merge.

20 years agoSTABLE14-parallel-attaching-20050529
Tom Keiser [Mon, 30 May 2005 06:23:30 +0000 (06:23 +0000)]
STABLE14-parallel-attaching-20050529

FIXES 18999

allow parallelization of VInitVolumePackage so attaching volumes can be sped up

(cherry picked from commit b9ae6e9547471c4006e4ac00879b3cb9bcefe47b)

20 years agoSTABLE14-pthread-rxkad-stats-20050529
Tom Keiser [Mon, 30 May 2005 05:57:34 +0000 (05:57 +0000)]
STABLE14-pthread-rxkad-stats-20050529

FIXES 17547

speed up rxkad by keeping stats per-thread

(cherry picked from commit 25b0681893b3c41cfeba213f9a6b7bfd0d85c685)

20 years agoSTABLE14-memcache-dont-dump-buffer-20050529
Chas Williams [Mon, 30 May 2005 05:36:58 +0000 (05:36 +0000)]
STABLE14-memcache-dont-dump-buffer-20050529

FIXES 18944

don't bother dumping what may not be a readable buffer while tracing when using memcache

(cherry picked from commit b56513ffd69bbcd94afb2b1e1509aae63fa438fc)

20 years agoSTABLE14-linux-vnode-aliases-20050529
Chaskiel M Grundman [Mon, 30 May 2005 05:33:57 +0000 (05:33 +0000)]
STABLE14-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

(cherry picked from commit 2995362346abd9691bc8d4ceca57247e1954fb1d)

20 years agoSTABLE14-s390x-linux26-remove-externs-20050529
Peter Somogyi [Mon, 30 May 2005 05:23:39 +0000 (05:23 +0000)]
STABLE14-s390x-linux26-remove-externs-20050529

FIXES 18987

remove externs in param for s390x linux26

(cherry picked from commit 44350283a2fc3c18954169f42edda14063e86535)

20 years agoSTABLE14-windows-notes-20050529
Jeffrey Altman [Mon, 30 May 2005 05:13:42 +0000 (05:13 +0000)]
STABLE14-windows-notes-20050529

Update notes for 1.3.8300

(cherry picked from commit c915a6bce730fca994aef77b8a3224a3f126bae7)

20 years agoSTABLE14-d-reval-fin-20050529
Chas Williams [Mon, 30 May 2005 05:12:17 +0000 (05:12 +0000)]
STABLE14-d-reval-fin-20050529

FIXES 18588

last try at fixing d-revalidate

(cherry picked from commit c7db062bea6e57242554a3eb8aa32ac0271c45ae)

20 years agoSTABLE14-module-license-url-20050529
Derrick Brashear [Mon, 30 May 2005 05:08:25 +0000 (05:08 +0000)]
STABLE14-module-license-url-20050529

FIXES 18596

url with module license info

(cherry picked from commit c640e271d893ac8275b3ee50b04f8775dca384b5)

20 years agoSTABLE14-vcache-cleanup-20050529
Chas Williams [Mon, 30 May 2005 05:05:40 +0000 (05:05 +0000)]
STABLE14-vcache-cleanup-20050529

FIXES 18368

clean up unused stuff in struct vcache

(cherry picked from commit ec84a819de10eac9ede8e2499b35d61bb4840744)

20 years agoSTABLE14-windows-stuff-20050529
Jeffrey Altman [Mon, 30 May 2005 04:58:34 +0000 (04:58 +0000)]
STABLE14-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

(cherry picked from commit 96472a6b3a71d5d5ef57e2481680920a7e006ffe)

20 years agoSTABLE14-rx-fpq-bulk-free-20050529
Tom Keiser [Mon, 30 May 2005 04:41:45 +0000 (04:41 +0000)]
STABLE14-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.

(cherry picked from commit d049ca2ae4e7708df028fca739c2a35ccb906bfb)

20 years agoSTABLE14-netbsd-pam-20050529
Tracy Di Marco White [Mon, 30 May 2005 04:37:48 +0000 (04:37 +0000)]
STABLE14-netbsd-pam-20050529

FIXES 18924

pam support for nbsd

(cherry picked from commit 985171769d01bfa8cd583e75c08d13949ac201fc)

20 years agoSTABLE14-discard-rx-streams-20050524
Roman Mitz [Wed, 25 May 2005 00:14:44 +0000 (00:14 +0000)]
STABLE14-discard-rx-streams-20050524

FIXES 18895

they wouldn't compile anyway. remove references also.

RCS file: /cvs/openafs/src/rx/Attic/rx_stream.c,v
Working file: src/rx/rx_stream.c
head: 1.9
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 9; selected revisions: 0
description:

RCS file: /cvs/openafs/src/rx/Attic/rx_stream.h,v
Working file: src/rx/rx_stream.h
head: 1.6
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:

(cherry picked from commit b15721aef16f9b8b689bfc0be01a434f88610919)

20 years agoSTABLE14-make-clearcallback-faster-20050524
Klas Lindfors [Wed, 25 May 2005 00:09:13 +0000 (00:09 +0000)]
STABLE14-make-clearcallback-faster-20050524

FIXES 4413

hash callbacks twice so we can discard them more quickly.

(cherry picked from commit 57150405dac2e8ba5b815e880107dda7c48cbd58)

20 years agoSTABLE14-windows-loopback-20050524
Asanka Herath [Tue, 24 May 2005 06:13:06 +0000 (06:13 +0000)]
STABLE14-windows-loopback-20050524

Find the loopback adapter installer by hardware ID instead of English name.

(cherry picked from commit 280e10315e00d9f3545bb5176f08c58512385571)

20 years agoSTABLE14-freebsd60-mount-20050429
Jim Rees [Mon, 23 May 2005 22:26:40 +0000 (22:26 +0000)]
STABLE14-freebsd60-mount-20050429

Fix new FreeBSD mount vfs op.
Client works now, at least for a little while.

(cherry picked from commit 35c9cef27e3f60588b5b15e3795d9475ed377e32)

20 years agoSTABLE14-freebsd-20050429
Jim Rees [Mon, 23 May 2005 22:23:53 +0000 (22:23 +0000)]
STABLE14-freebsd-20050429

Move module init/uninit code from module event handler to vfs ops
Use VFS_SET for FreeBSD 6.0

(cherry picked from commit 36957dd203ddb45d993e1ea9ad1ffaeccc3b9390)

20 years agoSTABLE14-freebsd60-readme-20050515
Jim Rees [Mon, 23 May 2005 22:21:12 +0000 (22:21 +0000)]
STABLE14-freebsd60-readme-20050515

Add FreeBSD 6.0.
Consolidate linux kernel header notes in Linux Notes section.
Reformat system types section.

(cherry picked from commit 015c5356d9910688c497f860f70ed277e263239b)

20 years agoSTABLE14-bsd-config-20050520
Jim Rees [Mon, 23 May 2005 22:17:40 +0000 (22:17 +0000)]
STABLE14-bsd-config-20050520

config stuff for OpenBSD 3.7, FreeBSD 5.4 and 6.0

(cherry picked from commit 4e6733a0520bc0221bdda085ffa83bd23463a599)

20 years agoSTABLE14-obsd-time-20050520
Jim Rees [Mon, 23 May 2005 22:17:29 +0000 (22:17 +0000)]
STABLE14-obsd-time-20050520

Remove extern time from OBSD/osi_machdep.h. It's in sys/kernel.h.
Suggested by irene.braun@ualberta.ca.

(cherry picked from commit c20d9c0eabb6f6186f21e2f5bd7e125c9a9aee37)

20 years agoSTABLE14-linux-proc-read-seq-file-20050508
Christopher Allen Wing [Mon, 23 May 2005 22:17:18 +0000 (22:17 +0000)]
STABLE14-linux-proc-read-seq-file-20050508

FIXES 18612

use sequenced file interface for proc copy of CellServDB

(cherry picked from commit ccdab705071cf7ab1a508b06bf09b472806a8b1f)

20 years agoSTABLE14-sparc64-linux26-20050508
Marc Horowitz [Mon, 23 May 2005 22:16:08 +0000 (22:16 +0000)]
STABLE14-sparc64-linux26-20050508

FIXES 18485

add sparc64-linux24 port

(cherry picked from commit 2669e1103bc733df4e27e24438c72d7d39a4c476)

20 years agoSTABLE14-d-revalidate-redux-20050508
Chas Williams [Mon, 23 May 2005 22:09:45 +0000 (22:09 +0000)]
STABLE14-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.

(cherry picked from commit f6883dfbbcbe14f65c2b9e44f2841392050e755f)

20 years agoSTABLE14-getpid-20050429
Jim Rees [Mon, 23 May 2005 22:09:37 +0000 (22:09 +0000)]
STABLE14-getpid-20050429

rename our getpid() to osi_getpid() to avoid name collision with kernel version

(cherry picked from commit ff6259a9c4122f098328c2b256093bd32f979e8f)

20 years agoSTABLE14-windows-notes-20050523
Jeffrey Altman [Mon, 23 May 2005 14:58:26 +0000 (14:58 +0000)]
STABLE14-windows-notes-20050523

more fixes

(cherry picked from commit 2d130131201d78a47d097412d64c98268d481579)

20 years agoSTABLE14-windows-delonclose-20050522
Jeffrey Altman [Sun, 22 May 2005 06:54:21 +0000 (06:54 +0000)]
STABLE14-windows-delonclose-20050522

Fix support for the CreateFile(DELETE_ON_CLOSE) option.

(cherry picked from commit eb7ef65dfa95bbc035a54d15b594a19c1e94335a)

20 years agoSTABLE14-windows-sync-20050518
Jeffrey Altman [Wed, 18 May 2005 23:57:01 +0000 (23:57 +0000)]
STABLE14-windows-sync-20050518

synchronize with the 1.3 tree for the 1.3.8300 release

20 years agoSTABLE14-windows-afssvrmgr-20050518
Jeffrey Altman [Wed, 18 May 2005 23:22:41 +0000 (23:22 +0000)]
STABLE14-windows-afssvrmgr-20050518

Link resulting executable to kerberos 5

(cherry picked from commit 5b6865886258ea102c90dfb3af65b68d979ef936)

20 years agoSTABLE14-rx-makecall-race-fix-20050518
Jeffrey Altman [Wed, 18 May 2005 23:03:02 +0000 (23:03 +0000)]
STABLE14-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.

(cherry picked from commit 10f6e5d6e2960469eb4d0e75f62fa9b33629b132)

20 years agoSTABLE14-export-calleraccess-via-pioctl-20050508
Klas Lindfors [Sun, 8 May 2005 07:18:09 +0000 (07:18 +0000)]
STABLE14-export-calleraccess-via-pioctl-20050508

FIXES 18442

provide pioctl to get CallerAccess bits

(cherry picked from commit 5afb5d6246d34948d15e93d1af9c2370d26c9f3a)

20 years agoSTABLE14-volinfo-fixes-20050508
Chaskiel M Grundman [Sun, 8 May 2005 07:10:26 +0000 (07:10 +0000)]
STABLE14-volinfo-fixes-20050508

FIXES 18391

large (>31bit) volume id handling and fixed handling of cloned volumes

(cherry picked from commit f519e0457caaff9be2926518efffac586202e266)

20 years agoSTABLE14-fix-64bit-assign-int64-20050508
Tom Keiser [Sun, 8 May 2005 07:01:12 +0000 (07:01 +0000)]
STABLE14-fix-64bit-assign-int64-20050508

FIXES 18611

make this match the way the 32 bit (struct lo/hi) version works

(cherry picked from commit c1315b3b63b2ca2a1b95c63ede59d25bb9f6fe93)

20 years agoSTABLE14-aix-auth-speedup-20050508
Steve Roseman [Sun, 8 May 2005 06:51:24 +0000 (06:51 +0000)]
STABLE14-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.

(cherry picked from commit 160c01035ca3775d8bf21dd9a34bd0f51f309159)

20 years agoSTABLE14-linux-copyin-copyout-dont-check-errors-20050508
Chaskiel M Grundman [Sun, 8 May 2005 06:48:40 +0000 (06:48 +0000)]
STABLE14-linux-copyin-copyout-dont-check-errors-20050508

FIXES 18293

improved macros which do error checking

(cherry picked from commit e8efb3970aef3ec9d2f2ca01a4550ed6c7cf62a1)

20 years agoSTABLE14-split-dcache-20050427
Derrick Brashear [Sun, 8 May 2005 06:04:13 +0000 (06:04 +0000)]
STABLE14-split-dcache-20050427

update

(cherry picked from commit 4fa2511a449a332a0217ab00dbdb9714ce4aa156)

20 years agoSTABLE14-windows-version-20050429 openafs-devel-1_3_82a
Jeffrey Altman [Fri, 29 Apr 2005 21:00:42 +0000 (21:00 +0000)]
STABLE14-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)

(cherry picked from commit 02bbfe94abe7aa617d3e841df7e1fab98f43c64c)

20 years agoSTABLE14-windows-fix-kfw-dependency-20050429
Jeffrey Altman [Fri, 29 Apr 2005 20:57:19 +0000 (20:57 +0000)]
STABLE14-windows-fix-kfw-dependency-20050429

if KFW was not installed, pioctl calls could crash

(cherry picked from commit 2a46337042e9aee6ddb3152f8edd892db7ebdeb4)

20 years agoSTABLE14-windows-no-gateway-20050429
Jeffrey Altman [Fri, 29 Apr 2005 20:56:03 +0000 (20:56 +0000)]
STABLE14-windows-no-gateway-20050429

Remove the AFS gateway option

20 years agoSTABLE14-windows-notes-20050429
Jeffrey Altman [Fri, 29 Apr 2005 20:55:42 +0000 (20:55 +0000)]
STABLE14-windows-notes-20050429

1.3.8201

(cherry picked from commit e89913282cfe3a9cc029911e0d6bb24bad90892a)

20 years agoSTABLE14-openafs-1382-20050428 openafs-devel-1_3_82
Derrick Brashear [Fri, 29 Apr 2005 03:45:38 +0000 (03:45 +0000)]
STABLE14-openafs-1382-20050428

1.3.82

20 years agoSTABLE14-macos-osi-flushpages-20050428
Derrick Brashear [Fri, 29 Apr 2005 02:51:07 +0000 (02:51 +0000)]
STABLE14-macos-osi-flushpages-20050428

reenable osi_FlushPages

(cherry picked from commit a15d665e1d3a5cb564f2d32d6700b1bdef069728)

20 years agoSTABLE14-windows-version-20050428
Jeffrey Altman [Thu, 28 Apr 2005 19:13:30 +0000 (19:13 +0000)]
STABLE14-windows-version-20050428

1.3.8200

(cherry picked from commit 7a4c7609c8ec87030813687b4a015ea58281ffaa)

20 years agoSTABLE14-windows-multi-domain-forest-fix-20050428
Jeffrey Altman [Thu, 28 Apr 2005 13:11:38 +0000 (13:11 +0000)]
STABLE14-windows-multi-domain-forest-fix-20050428

Add the ability to obtain the "Kerberos" principal used for logon to
the machine in order to establish a connection to the smb server that
utilizes the username for which locally cached credentials are available.

20 years agoSTABLE14-windows-20050428
Jeffrey Altman [Thu, 28 Apr 2005 13:08:24 +0000 (13:08 +0000)]
STABLE14-windows-20050428

add kfw headers to include path

20 years agoSTABLE14-windows-afslogon-20050428
Jeffrey Altman [Thu, 28 Apr 2005 13:05:45 +0000 (13:05 +0000)]
STABLE14-windows-afslogon-20050428

Add new "logon" event handler in order to establish a smb connection
to the AFS client service with the true logon name as early as possible.

====================
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 new "logon" event handler in order to establish a smb connection
to the AFS client service with the true logon name as early as possible.

Add "replace_afs.cmd" file

20 years agoSTABLE14-windows-cvsignore-20050428
Jeffrey Altman [Thu, 28 Apr 2005 13:00:53 +0000 (13:00 +0000)]
STABLE14-windows-cvsignore-20050428

new file

20 years agoSTABLE14-vnode-nusers-avoid-potential-overflow-20050428
Derrick Brashear [Thu, 28 Apr 2005 06:03:39 +0000 (06:03 +0000)]
STABLE14-vnode-nusers-avoid-potential-overflow-20050428

a byte is very small...

(cherry picked from commit 1e75a2fdc1979beba0df0837e4588230acfdc4c1)

20 years agoSTABLE14-osi-initcacheinfo-cleanup-20050427
Chaskiel M Grundman [Thu, 28 Apr 2005 04:11:51 +0000 (04:11 +0000)]
STABLE14-osi-initcacheinfo-cleanup-20050427

FIXES 18429

remove extraneous variable, be consistent about cacheMnt type

(cherry picked from commit 965864f2ed8659b02c0ff6ed88ca2b8d24271837)

20 years agoSTABLE14-change-s390x-linker-binding-20050427
Peter Somogyi [Thu, 28 Apr 2005 04:07:30 +0000 (04:07 +0000)]
STABLE14-change-s390x-linker-binding-20050427

FIXES 18447

to avoid binding against xdr_int_internal in xdr use from the pam module

(cherry picked from commit 48e618ff0aa6708bcc2fe8cd577f7db7342e8c48)

20 years agoSTABLE14-linux-always-glock-20050427
Chaskiel M Grundman [Wed, 27 Apr 2005 22:56:12 +0000 (22:56 +0000)]
STABLE14-linux-always-glock-20050427

finish this up, always glock on linux

(cherry picked from commit c90b1bd66a8c2565a4b6927d2344768b0768c545)

20 years agoSTABLE14-windows-callback-race-20050427
Jeffrey Altman [Wed, 27 Apr 2005 16:32:52 +0000 (16:32 +0000)]
STABLE14-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.

(cherry picked from commit 8085bc4d476a2e77b26454929cdfa1d034c754f7)

20 years agoSTABLE14-winnotes-20050427
Jeffrey Altman [Wed, 27 Apr 2005 16:28:49 +0000 (16:28 +0000)]
STABLE14-winnotes-20050427

more updates

(cherry picked from commit bd6345779e38b4de1d7b83269cace93ccc8bfb8a)

20 years agoSTABLE14-add-ptprocs-prototype-use-20050426
Derrick Brashear [Wed, 27 Apr 2005 02:55:54 +0000 (02:55 +0000)]
STABLE14-add-ptprocs-prototype-use-20050426

thanks to Chris Wing for pointing this out

(cherry picked from commit f2558d6b89d4d3e6effbd8fc3868303cc3e69e7b)

20 years agoSTABLE14-daemonize-log-somewhere-so-fds-can-close-without-harm-20050426
Derrick Brashear [Wed, 27 Apr 2005 02:37:04 +0000 (02:37 +0000)]
STABLE14-daemonize-log-somewhere-so-fds-can-close-without-harm-20050426

FIXES 18405

switch to VLog from printf

(cherry picked from commit e911b292af2c35f8f4af29aed26c557bf856d498)

20 years agoSTABLE14-rx-fpq-optimize-20050425
Tom Keiser [Mon, 25 Apr 2005 21:56:03 +0000 (21:56 +0000)]
STABLE14-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.

(cherry picked from commit 35285dad3e20e50f592afa95d994b68ded5c8b2b)

20 years agoSTABLE14-linux-global-sunlock-always-20050424
Derrick Brashear [Mon, 25 Apr 2005 18:20:00 +0000 (18:20 +0000)]
STABLE14-linux-global-sunlock-always-20050424

ok, well, in the land of pre-emption i guess we need this always

(cherry picked from commit 3a30e787f2ab5c16bc1fdf34d74f67963ef63155)