2745 Commits

Author SHA1 Message Date
Chas Williams
d489574156 kill-clock-advance-20050413
FIXES 18228

we don't use clock_Advance, so it's gone
2005-04-14 03:09:46 +00:00
Peter Somogyi
9307de2fe7 aix-volser-fix-retry-20050413
FIXES 18240

destroy lock only after we gave up permanently
2005-04-14 02:59:34 +00:00
Douglas Engert
40e03e078f hpux1123-parisc-20050413
FIXES 18245

hpux 11.23 changes for parisc
2005-04-14 02:38:37 +00:00
Chaskiel M Grundman
0fb256419d linux-inotify-sem-20050413
FIXES 18260

add inotify sem detection
2005-04-14 02:14:21 +00:00
Chaskiel M Grundman
84d997e240 rx-dont-use-kmutex-outside-linux-kernel-20050413
FIXES 18261

don't use kmutex in prototypes outside linux kernel
2005-04-14 01:54:25 +00:00
Tom Keiser
87e748f20d cblater-hold-lock-on-broadcast-20050411
avoid race from not holding lock around fsync_cond broadcast
2005-04-11 19:10:58 +00:00
Derrick Brashear
a054c41917 cleanup-rcmd-killing-20050411
cleanup killing of rcmds.
2005-04-11 19:03:03 +00:00
Derrick Brashear
1ca15ed253 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
2005-04-06 22:24:27 +00:00
Chaskiel M Grundman
b5be28de30 afsdb-lock-20050405
init one more lock
2005-04-06 06:08:56 +00:00
Derrick Brashear
28c0189fa2 osi-probe-old-kernels-20050405
old kernerls lack __user
2005-04-06 05:46:03 +00:00
Jeffrey Altman
d0879e78e6 windows-rx_mtu-20050404
cmdebug -addr should report the rx_mtu size if it is set and less than
the actual mtu size
2005-04-05 03:16:43 +00:00
Jeffrey Altman
54d6578ae6 windows-notes-20050404
final updates before 1.3.81
2005-04-04 12:51:02 +00:00
Jeffrey Altman
9e81171385 windows-version-20050404
1.3.8100
2005-04-04 12:37:28 +00:00
Garry Zacheiss
04ab517de8 make-afs-h-includable-outside-kernel-20050404
so you don't need to define KERNEL to cinlude this
2005-04-04 08:42:59 +00:00
Garry Zacheiss
9e7c3c015f kdump-update-20050404
make kdump build again
2005-04-04 08:34:58 +00:00
Derrick Brashear
9b10a8c4b8 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.
2005-04-04 06:02:56 +00:00
Derrick Brashear
de92042217 remove-rx-2tier-freepacketq-20050403
needs more work.
2005-04-04 05:26:36 +00:00
Derrick Brashear
2eda44d7eb macos103-update-20050403
use system vnodes. one remaining bug, dangling vnodes at shutdown.
2005-04-04 05:17:56 +00:00
Tom Keiser
2a3d2ad3af vos-partinfo-summary-portability-20050403
make this work on systems with non-native 64 bit int
2005-04-03 21:20:54 +00:00
Tom Keiser
5c6b956257 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.
2005-04-03 21:12:36 +00:00
Tom Keiser
4bf562265c 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.
2005-04-03 21:09:53 +00:00
Andrej Filipcic
f9971b7729 alpha-linux26-20050403
FIXES 18081

alpha linux26 port
2005-04-03 21:00:11 +00:00
Chaskiel M Grundman
c5c9bf0a78 rx-clock-rollover-fix-20050403
FIXES 17990

itimer rollover comes faster now; handle it.
2005-04-03 20:53:43 +00:00
Chas Williams
becb3ea3ce 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.
2005-04-03 20:48:32 +00:00
Derrick Brashear
423125bcb6 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
2005-04-03 20:37:29 +00:00
Derrick Brashear
f96befff43 hpux-license-update-20050403
FIXES 18129

update hpux psf file copyright info
2005-04-03 20:21:19 +00:00
Derrick Brashear
f8831d1ed7 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.
2005-04-03 20:13:11 +00:00
Sven Oehme
face6451fd linux-ppc64-26-20050403
FIXES 18114

add support for ppc64 linux26
2005-04-03 20:02:28 +00:00
Derrick Brashear
10afa98bcd new-gcc-cleanup-20050403
more picky about some of this stuff, and it's right, so let's clean it up
2005-04-03 19:48:16 +00:00
Derrick Brashear
228f109a43 remove-insecure-and-ntp-20050403
rcmds, inetd, ftpd and ntp are gone. leaving the files in the cvs head for now.
2005-04-03 19:32:20 +00:00
Sven Oehme
2f9948b7e7 s390x-linux26-flavor-check-20050403
FIXES 18112

add missing flavor bit check for s390x
2005-04-03 19:17:58 +00:00
Niklas Edmundsson
412854593c 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)
2005-04-03 19:13:30 +00:00
Derrick Brashear
706530c295 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.
2005-04-03 19:09:05 +00:00
Jeffrey Altman
15d82b857e rxdebug-unsigned-20040403
use unsigned types when displaying stat data via printf
2005-04-03 06:32:35 +00:00
Jeffrey Altman
6beff57613 windows-notes-20050402
updates for version 1.3.81
2005-04-02 10:06:44 +00:00
Jeffrey Altman
48b2968e0a windows-deadlock-20050402
One final deadlock was found in cm_TryBulkStat().  Do not hold the scp->mx
through the RXAFS call.
2005-04-02 09:23:50 +00:00
Jeffrey Altman
9a3844a96b 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
2005-04-01 00:36:04 +00:00
Jeffrey Altman
0a9609d8eb 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
2005-03-31 07:05:21 +00:00
Jeffrey Altman
b9bf7ee01a 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
2005-03-30 21:49:35 +00:00
Derrick Brashear
c167d56b1a 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.
2005-03-26 07:10:39 +00:00
Chaskiel M Grundman
1156923e08 lwp-deal-with-unaligned-memory-20050326
FIXES 18050

don't double-free lwp stack space
2005-03-27 21:19:45 +00:00
Derrick Brashear
4cbe2e7ebf rx-getaddrs-skip-loopback-addr-on-bsd-too-20050326
as reported by Tracy Demarco-White
2005-03-26 06:53:44 +00:00
Derrick Brashear
7970369801 darwin-vnode-macros-20050325
use vnode to vcache conversion macros
2005-03-26 05:37:42 +00:00
Derrick Brashear
977184e220 darwin-fstrace-20050325
holy crap, it just worked.
2005-03-26 00:44:39 +00:00
Jeffrey Altman
93ed4e14f0 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.
2005-03-25 17:58:47 +00:00
Derrick Brashear
2ba2c97f90 sb-list-fix-20050323
fix gaffe from my attempt at this
2005-03-24 01:53:46 +00:00
Jeffrey Altman
d33cd7595b windows-logon-20050323
Fix initialization error when getting domain parameters
2005-03-23 22:31:13 +00:00
Jeffrey Altman
ef8eb1aef6 windows-version-8002-20050323
1.3.8002
2005-03-23 22:30:09 +00:00
Jeffrey Hutzelman
6132fc0384 kbuild-one-more-try-20050322
and shortly i will confirm it works for all cases
2005-03-22 23:52:59 +00:00
Jeffrey Altman
19b681e32b windows-toplevel-makefile-20050322
fix build dependencies for vl headers
2005-03-22 19:39:44 +00:00