openafs.git
18 years agorx-fpq-optimize-20050425
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.

18 years agolinux-global-sunlock-always-20050424
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

18 years agolinux-dentry-revalidate-one-more-20050424
Chas Williams [Mon, 25 Apr 2005 15:54:54 +0000]
linux-dentry-revalidate-one-more-20050424

further updates

19 years agoadd-missing-inotify-test-20050424
Chaskiel M Grundman [Sun, 24 Apr 2005 15:54:03 +0000]
add-missing-inotify-test-20050424

so we actually detect the inotify sem

19 years agodentry-revalidate-cleanup-20050424
Chas Williams [Sun, 24 Apr 2005 15:26:53 +0000]
dentry-revalidate-cleanup-20050424

clean up dentry_revalidate one more time so performance improves

19 years agoaix53-20050424
Niklas Edmundsson [Sun, 24 Apr 2005 15:24:57 +0000]
aix53-20050424

add param file for aix 53
check for cache partition type

19 years agomaintain-volume-filecounts-20050424
Rainer Toebbicke [Sun, 24 Apr 2005 15:19:55 +0000]
maintain-volume-filecounts-20050424

maintain file counts in volume header

19 years agouse-daemon-in-bosserver-and-afsd-20050424
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

19 years agoavoid-leaking-stat-info-20050424
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

19 years agoosi-file-use-dentry-open-20050423
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

19 years agolinux-osi-module-proc-csdb-sprintf-bug-20050423
Derrick Brashear [Sun, 24 Apr 2005 01:54:42 +0000]
linux-osi-module-proc-csdb-sprintf-bug-20050423

FIXES 18334

remove extraneous %s

19 years agofreebsd60-20050422
Jim Rees [Fri, 22 Apr 2005 15:57:09 +0000]
freebsd60-20050422

Preliminary FreeBSD 6.0 support.
Builds, but unlikely to work.

19 years agoignore-ytab-20050421
Jim Rees [Thu, 21 Apr 2005 23:08:12 +0000]
ignore-ytab-20050421

add y.tab.h to .cvsignore

19 years agorestore-tab-20050421
Michael Niksch [Thu, 21 Apr 2005 13:03:43 +0000]
restore-tab-20050421

Restore lost tab.

19 years agowindows-shell-ext-remove-mtpt-20050420
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

19 years agorx_fpq_take_three-20050420
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>

19 years agofix-vc-v-macro-20050420
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.

19 years agowindows-hookdll-20050419
Jeffrey Altman [Tue, 19 Apr 2005 22:06:22 +0000]
windows-hookdll-20050419

Some more tweaks for hook dll processing.

19 years agolinux-conflate-rdwrs-20050419
Chas Williams [Tue, 19 Apr 2005 17:27:25 +0000]
linux-conflate-rdwrs-20050419

FIXES 17561

conflate the 2 rdwr routines we have

19 years agoaix53-20050419
Niklas Edmundsson [Tue, 19 Apr 2005 16:50:25 +0000]
aix53-20050419

add aix 5.3 support

19 years agowindows-hooks-20050418
Jeffrey Altman [Tue, 19 Apr 2005 07:26:27 +0000]
windows-hooks-20050418

Add new hooks from "AfsdHook.dll" to the afsd_service.exe

   AfsdInitHook - where you currently have one

   AfsdRxStartedHook - after RxInit but before SmbInit

   AfsdSmbStartedHook - after SmbInit

   AfsdBkDaemonHook - called by the BkDaemon thread and is executed once per
                      cycle

   AfsdStoppingHook - called just after a shutdown event has been
                      received but before any shutdown has been performed

   AfsdStoppedHook - called just after all shutdown operations after
                     completed but before the service terminates

The type of the function is

   BOOL ( APIENTRY * AfsdHook )(void)

in all cases.  Returning FALSE will cause the service to shutdown.

19 years agowindows-O_NOBLOCK-20050418
Jeffrey Altman [Tue, 19 Apr 2005 06:04:35 +0000]
windows-O_NOBLOCK-20050418

O_NOBLOCK is not defined on Windows

19 years agowindows-rx-ts-fpq-20050418
Jeffrey Altman [Tue, 19 Apr 2005 06:04:03 +0000]
windows-rx-ts-fpq-20050418

FIXES 17805

Add a new function called rx_StartClientThread() which parallels the
behavior of rx_StartServer but is used for initializing client threads.

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

Add a new function called rx_StartClientThread() which parallels the
behavior of rx_StartServer but is used for initializing client threads.

Also, disable RX_TSFPQ_ENABLE for Windows as it slows the client down.

19 years agowindows-formatting-20050418
Jeffrey Altman [Tue, 19 Apr 2005 06:03:10 +0000]
windows-formatting-20050418

keep formatting consistent

19 years agowindows-free-lib-20050418
Jeffrey Altman [Tue, 19 Apr 2005 06:02:48 +0000]
windows-free-lib-20050418

call FreeLibrary not CloseHandle

19 years agomacos104-not-yet-20050418
Derrick Brashear [Mon, 18 Apr 2005 21:09:38 +0000]
macos104-not-yet-20050418

push first group of 10.4 changes

19 years agowindows-syscfg-20050418
Jeffrey Altman [Mon, 18 Apr 2005 15:43:50 +0000]
windows-syscfg-20050418

GetAdaptersAddressess -> GetAdaptersAddresses

19 years agolinux-fmode-set-20050418
Chaskiel M Grundman [Mon, 18 Apr 2005 15:30:53 +0000]
linux-fmode-set-20050418

to avoid problems where we don't get truncated

19 years agologging-in-linux-vnodeops-sucks-20050418
Rainer Toebbicke [Mon, 18 Apr 2005 15:28:05 +0000]
logging-in-linux-vnodeops-sucks-20050418

given that we keep ending up with these weird errors, it's just not worth it.

19 years agosolaris-largefile-not-on-ia32-20050417
Robert Banz [Mon, 18 Apr 2005 15:25:34 +0000]
solaris-largefile-not-on-ia32-20050417

disable largefile on solaris x86 32 bit

19 years agomissing-eof-20050417
Jeffrey Altman [Mon, 18 Apr 2005 03:28:31 +0000]
missing-eof-20050417

add missing eof

19 years agoptserver-restricted-mode-20050415
Derrick Brashear [Fri, 15 Apr 2005 20:39:33 +0000]
ptserver-restricted-mode-20050415

add restricted mode to pts
only admins can make changes

19 years agomake-linux-proc-cellservdb-info-20050415
Derrick Brashear [Fri, 15 Apr 2005 20:32:31 +0000]
make-linux-proc-cellservdb-info-20050415

use info hook instead of read so we can have larger than a slab

19 years agolicense-compromise-20050415
Derrick Brashear [Fri, 15 Apr 2005 20:04:55 +0000]
license-compromise-20050415

just copy the full list of licenses here. bleh.

19 years agolicense-update-20050415
Derrick Brashear [Fri, 15 Apr 2005 20:02:08 +0000]
license-update-20050415

FIXES 18131

collect all licenses here

19 years agovos-release-compare-update-timestamps-20050415
Kris Van Hees [Fri, 15 Apr 2005 19:43:57 +0000]
vos-release-compare-update-timestamps-20050415

FIXES 17758

use last updated timestamps to determine if a release needs to be done

19 years agofix-rxkad-prototype-20050415
Peter Somogyi [Fri, 15 Apr 2005 19:34:30 +0000]
fix-rxkad-prototype-20050415

FIXES 18079

fix cbc_encrypt prototype

19 years agokill-struct-osisocket-20050415
Derrick Brashear [Fri, 15 Apr 2005 19:33:22 +0000]
kill-struct-osisocket-20050415

FIXES 18079

more complete version of what's in the patch, kill all refs to struct osi_socket in favor of just osi_socket

from  psomogyi@gamax.hu

19 years agoviced-already-regd-warning-20050415
Chas Williams [Fri, 15 Apr 2005 19:23:06 +0000]
viced-already-regd-warning-20050415

FIXES 18049

the ethernet address is irrelevant

19 years agowindows-locking-freeacls-20050415
Jeffrey Altman [Fri, 15 Apr 2005 17:01:40 +0000]
windows-locking-freeacls-20050415

Ensure that the appropriate mutex locks are held on the stat cache
entry referred to by the acl back pointer when performing a cleanup

19 years agowindows-memmap-adjust-20050415
Jeffrey Altman [Fri, 15 Apr 2005 17:00:15 +0000]
windows-memmap-adjust-20050415

Prepare to allow the maxVolumes and maxCells parameters to become
independent of the MaxStats value

19 years agosema-init-takes-2-args-20050415
Chas Williams [Fri, 15 Apr 2005 14:40:31 +0000]
sema-init-takes-2-args-20050415

FIXES 18271

init sema correctly

19 years agofifo-logs-20050415
Derrick Brashear [Fri, 15 Apr 2005 14:31:42 +0000]
fifo-logs-20050415

use O_NONBLOCK during open if it's a fifo
suppress SIGPIPE in case we care (EPIPE handling still not needed: return value
of write is discarded)

19 years agowindows-winlogon-logon-event-20050414
Jeffrey Altman [Thu, 14 Apr 2005 06:46:34 +0000]
windows-winlogon-logon-event-20050414

 Apparently the problem with multi-domain forests with cross-
 realm trusts to non-Windows realms was not entirely solved.
 The authentication to the AFS SMB service failed because
 the wrong name was being used.  Using ASU as an example,
 the authentication was being performed with the name
 "QAAD\user" (an account in the forest root) and not
 "user@ASU.EDU (the MIT Kerberos principal used to login with)

 The solution was to add an additional dependency on KFW
 in order or to be able to easily obtain the client principal
 name stored in the MSLSA ccache TGT.  This information is
 used in two locations:

 - the pioctl() function

 - a new WinLogon Event Handler for the "logon" event.

 The pioctl function will now be able to use the correct
 name when calling WNetAddConnection2() and the "logon"
 event handler will now be able to call WNetAddConnection2().
 The hope is that the "logon" event handler will be called
 before the profile is loaded but I have not guarrantee
 that will happen.

19 years agosupport-named-pipe-logs-20050414
Derrick Brashear [Thu, 14 Apr 2005 05:41:59 +0000]
support-named-pipe-logs-20050414

so log files can be named pipes

19 years agorenamefile-for-mrafslogs-20050414
Derrick Brashear [Thu, 14 Apr 2005 05:29:34 +0000]
renamefile-for-mrafslogs-20050414

call the renamefile wrapper so mrafs style logs on windows work like other logs

19 years agokill-rxglock-20050413
Chas Williams [Thu, 14 Apr 2005 05:22:24 +0000]
kill-rxglock-20050413

FIXES 18222

the rxglock was being defined out by all the platforms, just kill it.

19 years agorx-fpq-trying-again-20050413
Tom Keiser [Thu, 14 Apr 2005 03:41:18 +0000]
rx-fpq-trying-again-20050413

FIXES 17805

this time we'll work it out on windows. multitier free packet queues to increase performance

19 years agobye-getitimer-20050413
Chas Williams [Thu, 14 Apr 2005 03:32:46 +0000]
bye-getitimer-20050413

FIXES 18221

stop using getitimer on linux

19 years agokill-rxglock-20050413
Chas Williams [Thu, 14 Apr 2005 03:25:02 +0000]
kill-rxglock-20050413

FIXES 18222

the rxglock was being defined out by all the platforms, just kill it.

19 years agolinux26-unlocked-ioctl-20050413
Chaskiel M Grundman [Thu, 14 Apr 2005 03:18:33 +0000]
linux26-unlocked-ioctl-20050413

FIXES 18224

add unlocked_ioctl support and compat_ioctl support

19 years agotbutc-avoid-lwp-libs-20050413
Chaskiel M Grundman [Thu, 14 Apr 2005 03:13:50 +0000]
tbutc-avoid-lwp-libs-20050413

FIXES 18225

stop using lwp family libs when building tbutc

19 years agokill-clock-advance-20050413
Chas Williams [Thu, 14 Apr 2005 03:09:46 +0000]
kill-clock-advance-20050413

FIXES 18228

we don't use clock_Advance, so it's gone

19 years agoaix-volser-fix-retry-20050413
Peter Somogyi [Thu, 14 Apr 2005 02:59:34 +0000]
aix-volser-fix-retry-20050413

FIXES 18240

destroy lock only after we gave up permanently

19 years agohpux1123-parisc-20050413
Douglas Engert [Thu, 14 Apr 2005 02:38:37 +0000]
hpux1123-parisc-20050413

FIXES 18245

hpux 11.23 changes for parisc

19 years agolinux-inotify-sem-20050413
Chaskiel M Grundman [Thu, 14 Apr 2005 02:14:21 +0000]
linux-inotify-sem-20050413

FIXES 18260

add inotify sem detection

19 years agorx-dont-use-kmutex-outside-linux-kernel-20050413
Chaskiel M Grundman [Thu, 14 Apr 2005 01:54:25 +0000]
rx-dont-use-kmutex-outside-linux-kernel-20050413

FIXES 18261

don't use kmutex in prototypes outside linux kernel

19 years agocblater-hold-lock-on-broadcast-20050411
Tom Keiser [Mon, 11 Apr 2005 19:10:58 +0000]
cblater-hold-lock-on-broadcast-20050411

avoid race from not holding lock around fsync_cond broadcast

19 years agocleanup-rcmd-killing-20050411
Derrick Brashear [Mon, 11 Apr 2005 19:03:03 +0000]
cleanup-rcmd-killing-20050411

cleanup killing of rcmds.

19 years agolinux-follow-link-light-needs-putlink-20050406
Derrick Brashear [Wed, 6 Apr 2005 22:24:27 +0000]
linux-follow-link-light-needs-putlink-20050406

based on research by cg2v@andrew.cmu.edu and suggestion of jhutz@cmu.edu
needed so kmaps are balanced by kunmaps

19 years agoafsdb-lock-20050405
Chaskiel M Grundman [Wed, 6 Apr 2005 06:08:56 +0000]
afsdb-lock-20050405

init one more lock

19 years agoosi-probe-old-kernels-20050405
Derrick Brashear [Wed, 6 Apr 2005 05:46:03 +0000]
osi-probe-old-kernels-20050405

old kernerls lack __user

19 years agowindows-rx_mtu-20050404
Jeffrey Altman [Tue, 5 Apr 2005 03:16:43 +0000]
windows-rx_mtu-20050404

cmdebug -addr should report the rx_mtu size if it is set and less than
the actual mtu size

19 years agowindows-notes-20050404
Jeffrey Altman [Mon, 4 Apr 2005 12:51:02 +0000]
windows-notes-20050404

final updates before 1.3.81

19 years agowindows-version-20050404
Jeffrey Altman [Mon, 4 Apr 2005 12:37:28 +0000]
windows-version-20050404

1.3.8100

19 years agomake-afs-h-includable-outside-kernel-20050404
Garry Zacheiss [Mon, 4 Apr 2005 08:42:59 +0000]
make-afs-h-includable-outside-kernel-20050404

so you don't need to define KERNEL to cinlude this

19 years agokdump-update-20050404
Garry Zacheiss [Mon, 4 Apr 2005 08:34:58 +0000]
kdump-update-20050404

make kdump build again

19 years agoremove-insecure-and-ntp-20050403
Derrick Brashear [Mon, 4 Apr 2005 06:02:56 +0000]
remove-insecure-and-ntp-20050403

rcmds, inetd, ftpd and ntp are gone. leaving the files in the cvs head for now.

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

rcmds, inetd, ftpd and ntp are gone. in 1.4, files also go away.

19 years agoremove-rx-2tier-freepacketq-20050403
Derrick Brashear [Mon, 4 Apr 2005 05:26:36 +0000]
remove-rx-2tier-freepacketq-20050403

needs more work.

19 years agomacos103-update-20050403
Derrick Brashear [Mon, 4 Apr 2005 05:17:56 +0000]
macos103-update-20050403

use system vnodes. one remaining bug, dangling vnodes at shutdown.

19 years agovos-partinfo-summary-portability-20050403
Tom Keiser [Sun, 3 Apr 2005 21:20:54 +0000]
vos-partinfo-summary-portability-20050403

make this work on systems with non-native 64 bit int

19 years agorx-2tier-freepacketq-20050403
Tom Keiser [Sun, 3 Apr 2005 21:12:36 +0000]
rx-2tier-freepacketq-20050403

FIXES 17805

The attached patch turns the rx free packet queue into a 2-tiered cache
with a local thread-specific queue, backed by a global queue when using
pthreaded rx. The patch is against 1.3.79. Preliminary benchmarks show
scalability much closer to 2 cpus on sparc with this patch. Also,
fileserver performance under heavy load is improved: 50% improvement in
throughput for sequential writes, and a 10% improvement in performance for
random writes against an smp sparc solaris 10 fileserver.

19 years agohid2client-write-lock-20050403
Tom Keiser [Sun, 3 Apr 2005 21:09:53 +0000]
hid2client-write-lock-20050403

FIXES 17867

h_ID2Client currently returns a client struct with a shared lock. The
only caller of h_ID2Client (SRXAFS_FlushCPS) immediately calls
BoostSharedLock. This patch just goes ahead and makes h_ID2Client return
it with the write lock so we don't enter the Lock struct mutex multiple
times in a row. This also happens to remove the last reference to
BoostSharedLock in the tree.

19 years agoalpha-linux26-20050403
Andrej Filipcic [Sun, 3 Apr 2005 21:00:11 +0000]
alpha-linux26-20050403

FIXES 18081

alpha linux26 port

19 years agorx-clock-rollover-fix-20050403
Chaskiel M Grundman [Sun, 3 Apr 2005 20:53:43 +0000]
rx-clock-rollover-fix-20050403

FIXES 17990

itimer rollover comes faster now; handle it.

19 years agomore-linux26-cred-fixes-20050403
Chas Williams [Sun, 3 Apr 2005 20:48:32 +0000]
more-linux26-cred-fixes-20050403

FIXES 18009

instead of crget() getting a groups_alloc(0) just to put it, we just fix
crref()/crdup()/afs_pioctl() to do the "right" thing

added missing task_lock()'s as well.

19 years agolicense-update-20050403
Derrick Brashear [Sun, 3 Apr 2005 20:37:29 +0000]
license-update-20050403

FIXES 18131

collect all licenses here

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

install LICENSE into destdir builds

19 years agohpux-license-update-20050403
Derrick Brashear [Sun, 3 Apr 2005 20:21:19 +0000]
hpux-license-update-20050403

FIXES 18129

update hpux psf file copyright info

19 years agomacos-update-packaging-20050403
Derrick Brashear [Sun, 3 Apr 2005 20:13:11 +0000]
macos-update-packaging-20050403

FIXES 18127

add apsl 2.0 license. note it in ReadMe.rtf. update buildpkg to provide afsd options sample. update post_install to use sample ThisCell and options if none provided.

19 years agolinux-ppc64-26-20050403
Sven Oehme [Sun, 3 Apr 2005 20:02:28 +0000]
linux-ppc64-26-20050403

FIXES 18114

add support for ppc64 linux26

19 years agonew-gcc-cleanup-20050403
Derrick Brashear [Sun, 3 Apr 2005 19:48:16 +0000]
new-gcc-cleanup-20050403

more picky about some of this stuff, and it's right, so let's clean it up

19 years agoremove-insecure-and-ntp-20050403
Derrick Brashear [Sun, 3 Apr 2005 19:32:20 +0000]
remove-insecure-and-ntp-20050403

rcmds, inetd, ftpd and ntp are gone. leaving the files in the cvs head for now.

19 years agos390x-linux26-flavor-check-20050403
Sven Oehme [Sun, 3 Apr 2005 19:17:58 +0000]
s390x-linux26-flavor-check-20050403

FIXES 18112

add missing flavor bit check for s390x

19 years agoaix5-allocator-cleanup-20050403
Niklas Edmundsson [Sun, 3 Apr 2005 19:13:30 +0000]
aix5-allocator-cleanup-20050403

* Removed memory allocation functions only used on AIX and ancient
   HPUX. If the performance penalty is noticeable, implement a wrapper
   at the osi-level in the same manner as LINUX/FBSD (ie not sprayed
   throughout the code).
* Removed all remnants of splnet()-style locking, it was not
   sufficient for MP anyway which the real locks are. Affects only AIX
   and HPUX.
* Drop the global locking in rxi_Alloc since the real locks do their
   jobs, affects only AIX41 and up (ie. MP capable OS).
* Fix the non-kernel wrapper for osi_Alloc/Free on AIX to take void *
   in the same manner as the rest of the functions. IMO this wrapper
   shouldn't be necessary since you should never ever malloc() 0 bytes,
   but since it's there I'd guess someone made stupid assumptions
   somewhere...
* Restores MAXKTCTICKETLEN to 12000 on AIX
* Restores AFS_LWP_MINSTACKSIZE to 48k on AIX (might affect
   server-stuff)

19 years agoopenafs-kill-dead-code-20050403
Derrick Brashear [Sun, 3 Apr 2005 19:09:05 +0000]
openafs-kill-dead-code-20050403

Code ifdef'd any of AFS_MACH_ENV, AFS_GFS_ENV, AFS_DEC_ENV dies

Code ifdef'd AFS_SUN_ENV either becomes AFS_SUN5_ENV or dies as appropriate,
in the kernel only. The database servers etc are probably still buildable,
and I still have a SunOS 4.1.4 machine. ;-) But the Solaris vnops get all
SunOS 4 code nuked.

Uses of AFS_ALPHA_ENV which secretly meant OSF/1,D/UX,Tru64 become
AFS_OSF_ENV.

Bozon lock use gets its own ifdef. OSF and Solaris define it. Darwin and any
BSDs have bozon lock usage removed: note that only OSF and Solaris were
bothering to *init* the bozon lock during NewVCache. Bozon locks are for
platforms where basically we could end up deadlocking ourselves because of
how locks are handled.

Some nonsensical ifdefs removed.
Some if 0'd code removed.
Some obsolete code (hpux pre-10, for instance) removed.

19 years agorxdebug-unsigned-20040403
Jeffrey Altman [Sun, 3 Apr 2005 06:32:35 +0000]
rxdebug-unsigned-20040403

use unsigned types when displaying stat data via printf

19 years agowindows-notes-20050402
Jeffrey Altman [Sat, 2 Apr 2005 10:06:44 +0000]
windows-notes-20050402

updates for version 1.3.81

19 years agowindows-deadlock-20050402
Jeffrey Altman [Sat, 2 Apr 2005 09:23:50 +0000]
windows-deadlock-20050402

One final deadlock was found in cm_TryBulkStat().  Do not hold the scp->mx
through the RXAFS call.

19 years agowindows-time-20050331
Jeffrey Altman [Fri, 1 Apr 2005 00:36:04 +0000]
windows-time-20050331

Replace the time translation hack based on smb_NowTZ with a purely
mathematical conversion from UTC based unixTime (time_t) to UTC
based FILETIME

19 years agowindows-afsd-minor-20050330
Jeffrey Altman [Thu, 31 Mar 2005 07:05:21 +0000]
windows-afsd-minor-20050330

Add bounds checking to the comparison of fid->vnode and cm_localMountPoints
when Freelance mode is used.

Fix typo in DJGPP section of smb.c

Use rx_connection * instead of rx_call * in previous fix to cm_dcache.c

19 years agowindows-stress-test-fixes-20050330
Jeffrey Altman [Wed, 30 Mar 2005 21:49:35 +0000]
windows-stress-test-fixes-20050330

Ran more stress tests against 1.3.80b on a dual processor machine and
found a number of additional errors which could be fixed.

cm_callback.c: correct the refCount handling of server lists when
processing registering callbacks on the scache entry

cm_conn.c: cm_Analyze was not handling the CM_ERROR_NOSUCHVOLUME case.
In this case force a retry and Force Update the Volume info

cm_dcache.c; do not hold mx locks around calls to rx_NewCall().  That is
why we have reference counting on the rx_connection objects.

cm_ioctl.c: replace references to afsdcell.ini with CellServDB

cm_utils.c: formatting

cm_vnodeops.c: improve the logging and add a missing call to
cm_EndCallbackGrantingCall()

cm_volume.c: allows cm_volume_t objects to be reused if their
ref count is 0 and we have hit the maximum number allowed.

smb.c: improve the logging and the handling of dead_vcp references.
If all of the SMB sessions and NCBs are in use, return BUSY to the
CIFS client.

smb3.c: convert constants to preprocessor symbols

19 years agolinux-vnode-macros-20050326
Derrick Brashear [Sat, 26 Mar 2005 07:10:39 +0000]
linux-vnode-macros-20050326

here's a place where we passed a vcache instead of a vnode for linux. doesn't
matter today, might as well fix it now.

19 years agolwp-deal-with-unaligned-memory-20050326
Chaskiel M Grundman [Sun, 27 Mar 2005 21:19:45 +0000]
lwp-deal-with-unaligned-memory-20050326

FIXES 18050

don't double-free lwp stack space

19 years agorx-getaddrs-skip-loopback-addr-on-bsd-too-20050326
Derrick Brashear [Sat, 26 Mar 2005 06:53:44 +0000]
rx-getaddrs-skip-loopback-addr-on-bsd-too-20050326

as reported by Tracy Demarco-White

19 years agodarwin-vnode-macros-20050325
Derrick Brashear [Sat, 26 Mar 2005 05:37:42 +0000]
darwin-vnode-macros-20050325

use vnode to vcache conversion macros

19 years agodarwin-fstrace-20050325
Derrick Brashear [Sat, 26 Mar 2005 00:44:39 +0000]
darwin-fstrace-20050325

holy crap, it just worked.

19 years agoacl-maxentry-comment-20050325
Jeffrey Altman [Fri, 25 Mar 2005 17:58:47 +0000]
acl-maxentry-comment-20050325

correct the comment related to the maximum number of entries in
an ACL.  the number of ACEs must be less than or equal to ACL_MAXENTRIES
not less than ACL_MAXENTRIES.

19 years agosb-list-fix-20050323
Derrick Brashear [Thu, 24 Mar 2005 01:53:46 +0000]
sb-list-fix-20050323

fix gaffe from my attempt at this

19 years agowindows-logon-20050323
Jeffrey Altman [Wed, 23 Mar 2005 22:31:13 +0000]
windows-logon-20050323

Fix initialization error when getting domain parameters

19 years agowindows-version-8002-20050323
Jeffrey Altman [Wed, 23 Mar 2005 22:30:09 +0000]
windows-version-8002-20050323

1.3.8002