Commit Graph

467 Commits

Author SHA1 Message Date
Jeremy Stribling
6a1c9c896c bosadmin-setrestarttime-should-take-a-structure-20010816
bos_ExecutableRestartTimeSet called BOZO_SetRestartTime incorrectly
2001-08-16 08:56:51 +00:00
Nathan Neulinger
120e1ef570 configure-simplify-hp-detection-for-sysname-20010816
cut from 2 rules to one
2001-08-16 08:54:48 +00:00
Chas Williams
e859133460 linux-osi-clear-inode-locking-fix-20010816
"i think this was missed from a patch i sent a while back to cleanup
  the iput() of afs inodes.  i think the lock(vc->lock) needs to be in
  osi_clear_inode() since osi_clear_inode is called a bit more often
  than afs_delete_inode().  however, this like just might be uneeded
  since no one has seen any problems apparently."
2001-08-16 02:01:05 +00:00
Hartmut Reuter
1bd89f0dc3 clear-xfreemallocs-in-shutdown-rxevent-20010816
only likely to matter to mr-afs
2001-08-16 01:50:55 +00:00
Derek Atkins
cb9ccb203d fix-afsconfig-ordering-for-rx-20010816
to fix symbol versioning problems

change to rxgen ok on the basis that nothing other than AFS is in any danger
of using rx kernel code
2001-08-16 01:48:48 +00:00
Derrick Brashear
1c6df2368c aix-needs-string-h-in-aclproc-20010807
and we get back to the crux of the issue
2001-08-08 03:38:45 +00:00
Derrick Brashear
cb3985fcd9 linux-ext3-adds-items-to-struct-inode-and-so-do-we-20010807
Thanks to shirsch@adelphia.net for mentioning something was added.

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

this leaked in, separate delta

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

fix maxcro defn
2001-08-08 03:37:54 +00:00
Derrick Brashear
c5c521af0e convert-from-bsd-to-posix-string-and-memory-functions-20010807
bcopy, bcmp, bzero, index, rindex, you're all cut.
memcpy, memcmp, memset, strchr, strrchr, show us how it's done

====================
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 reference to memset the right thing

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

make change to arguments globally and not just for e.g. linux/darwin/fbsd

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

fix a minor flub in how this was done

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

correct another bad memcpy coversion

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

fix up more inadvertant turds

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

fix two errors found by chas williams
2001-08-08 03:05:55 +00:00
Derrick Brashear
81c5741633 linux-fs-h-struct-inode-test-for-i-cdev-20010807
doesn't look like it should matter but we might as well try to stay consistent

====================
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 extra tests
2001-08-08 01:34:58 +00:00
James Flemer
cf5e1a4260 solaris8-build-64bit-kdump-20010807
some solaris 8 machines are 64 bit so build kdump64
2001-08-07 17:14:08 +00:00
Chas Williams
a1b425f767 introduce-linux-ia64-port-20010806
"no special instructions this time other than you need a rather recent
glibc (turbolinux beta5 or redhat 7.1) since the afs userland utilities
use ucontext() instead of setjmp()/longjmp().  this is probably the weakest
part of the port since lwp is somewhat difficult to test rigorously.

you can insmod the afs module now (and rmmod if you like)  why so difficult?
function pointers are really pointers to a function descriptor that contains
the function pointer and global pointer.  the syscall table (being written
in assembler) only contains function pointers.  it doesnt setup the gp.
modules and kernels do not share the same gp.  so if you want the syscall
to go to a module, you need to setup the gp and then call your module's
routine.  be sure to restore the gp after returning from your routine :)
i also converted to the 'new style' module_init() -- only used on kernel
versions 2.4.0 and up.  this does the right thing if you happen to be
linked directly with the kernel.

klog has been fixed (afs's crypt() function is sensitive to sizeof(long) --
des/crypt.c should probably use 'afs_int32', not 'long' or 'int')

in case it matters, my platform is a b3-stepping running beta5 of turbolinux."

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

don't leak into not ia64 port
2001-08-07 01:11:25 +00:00
Chas Williams
77d10b6d69 invert-sense-of-strings-string-header-inclusion-20010806
this will be obsolete in current form once b* and *index are dead but apply
for now
2001-08-07 00:50:05 +00:00
Nathan Neulinger
c0250743d1 junk-src-config-makefile-version-as-its-generated-20010806
currently being generated on every build; might as well junk it
2001-08-07 00:43:50 +00:00
Nickolai Zeldovich
d86c2fc293 afs-vcache-state-flag-fix-and-cleanup-20010806
"There appears to be a conflict between two vcache state flags:
CWritingUFS and CDCLock are both 0x200000.  This patch moves
CDCLock to 0x2000000 (which I'm guessing was the intended value
from the position of that #define).  It also reformats the block
of #define's to be consistent in number format and indentation,
to make it somewhat more readable, and to make such conflicts
less likely to reappear."
2001-08-07 00:41:26 +00:00
Nickolai Zeldovich
37edca7a40 solaris-locking-cleanup-20010806
reduce afs vnode lock contention, also implements async page requests

"(In afs_GetDCache, the hints in the vnode are only updated if we
can grab the write lock without blocking.  In afs_GetOnePage, we
only grab the read lock, rather than the shared lock -- as far as
I can tell, there's nothing that needs the write lock.)

FWIW, the particular case where I was being bitten by this lock
contention was playing an mp3 from AFS space and at the same time
copying it to local disk.  The copy kept fetching chunks while
holding the read lock, so the mp3 player couldn't grab a write
lock in the page fault, even though the data was already in cache.

While I'm not fully familiar with the semantics of afs vnode locks
[do they even exist? :-)], I believe changing from shared to read
locks in afs_GetOnePage should be safe."
2001-08-07 00:39:29 +00:00
Derrick Brashear
52fb580769 configure-sysname-updates-20010806
add omitted s390 linux port
add alternate hpux11 port info from nneul@umr.edu
2001-08-07 00:24:14 +00:00
Nathan Neulinger
56493b597e hpux11-force-system-ranlib-20010806
so binutils ranlib isn't found first
2001-08-07 00:21:22 +00:00
Derrick Brashear
4d18662599 kaserver-log-krb-udp-authentications-also-20010806
currently krb udp auth requests don't get logged while ka requests do

fix it.
2001-08-07 00:09:26 +00:00
Derrick Brashear
d85830ca81 kaserver-krb-udp-construct-well-formed-tickets-20010806
certain things really want the realm to be set correctly and not just left
blank in tickets; existing krb4 kdcs get this correct. now so do we.
2001-08-07 00:08:01 +00:00
James Peterson
de681193ee allow-winnt-client-to-be-upgraded-20010803
to allow for change in version numbering
2001-08-03 18:47:50 +00:00
Nickolai Zeldovich
cfa2e59dc1 solaris8-namei-cleanup-20010802
note gi is useless for namei case

The AFS_64BIT_ENV define is needed for afsutil.h which makes use
of some 64-bit types (and if AFS_64BIT_ENV isn't set, defaults to
the non-existant u_int64_t).
2001-08-02 17:20:02 +00:00
Derek Atkins
d11b1bf924 use-multiple-cache-directories-for-large-caches-20010802
- support for large caches in afsd.  Cachefiles are stored in
  subdirectories.  The default is 2048 files per subdirectory, which
  should work fine in most situations.  You can use the new afsd
  option -files_per_subdir to change this number.  Note that the first
  time you run afsd with this patch, your cachefiles will get moved
  into subdirectories.  If you subsequently run an older version of
  afsd, you will lose all your cached files.

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

news entry for large cache patch
2001-08-02 17:17:41 +00:00
James Peterson
9692094ec3 winnt-port-updates-20010802
These patches solve the following problem:

   During Un-Install of AFS for Windows, it removed the following key:
   HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters
   Instead it should have removed only the SMBDeviceEnable=0 item within
   the above key.
   This damaged the NetBT (NetBios over TCP/IP) interface, and required
   re-installing of TCP/IP.  The users found their ability to share files
   and printers damaged.
2001-08-02 17:12:09 +00:00
Nathan Neulinger
0207991adc convert-all-makefiles-to-makefile-ins-20010802
all relevant variables become subst'd and not passed in the environment
2001-08-02 16:45:35 +00:00
Derrick Brashear
c6d388fe14 fs-sysname-output-syntax-compatibility-20010723
per comment by Chaskiel Grundman, fs sysname didn't include a : before, nuke it
2001-07-23 21:50:17 +00:00
Derrick Brashear
de296c6546 configure-allow-enabling-vos-full-listvol-switch-20010721
enable switch for new feature
2001-07-21 17:39:58 +00:00
Derrick Brashear
03c26a2b3c vos-full-listvol-switch-for-parseable-output-20010721
originally from Dan Lovinger. Provides easily parseable vos output and so
hopefully should be useful
2001-07-21 17:35:20 +00:00
Garry Zacheiss
b23084cd8b rx-packet-version-not-all-kernels-have-snprintf-20010721
linux kernel for instance has no snprintf
2001-07-21 08:07:51 +00:00
Derrick Brashear
b8b4b6c03c vos-syncvldb-zero-volname-before-starting-20010720
so vos syncvldb will not core dump because of uninitialized pointer
2001-07-20 23:12:02 +00:00
Michael Allman
82b24c814d pam-make-module-useful-for-freebsd-20010720
make module actually work for freebsd
2001-07-20 21:41:13 +00:00
Sam Hartman
fabec30f17 viced-copyonwrite-give-useful-error-messages-when-taking-volumes-offline-20010720
don't just report "needs salvage", tell why it was taken offline
2001-07-20 21:38:06 +00:00
Derrick Brashear
4e9a25c04f fs-sysname-format-should-include-quotes-as-before-20010720
based on report from Alf Wachsmann <alfw@SLAC.Stanford.EDU>
2001-07-20 19:09:11 +00:00
Nickolai Zeldovich
902055cc97 rx-honor-only-client-initiated-debug-and-version-packets-to-prevent-loop-20010719
"This patch makes Rx only honor client-initiated Version and Debug
packets, and respond to them without the "client-initiated" flag.
All existing code sends Version and Debug queries from the client
with the appropriate flag set.  With the current code, one could
easily create a UDP packet loop between two Rx services."
2001-07-20 16:59:43 +00:00
Derrick Brashear
ad8388547d lwp-waitkey-lacks-return-for-eof-and-hence-backup-is-unhappy-20010719
just tell the caller if we got an eof and move on with life
2001-07-19 22:51:46 +00:00
Derrick Brashear
3416930f75 configure-fail-if-cant-guess-linux-version-for-sysname-20010719
if we disabled kernel module because there were no headers, guessing the sysname is harder
2001-07-19 22:25:26 +00:00
Nickolai Zeldovich
1c46493032 resolve-symlinks-from-stat-cache-with-just-lookup-permission-20010719
To fix bug reported by Nathan Rawling.
2001-07-19 18:41:23 +00:00
Derrick Brashear
66df924fba add-afs-man-pages-20010716
documentation from afs command reference
2001-07-16 19:48:32 +00:00
Derrick Brashear
453029705e more-make-clean-cleanup-20010716
try harder to make clean target clean up nicely
2001-07-16 19:46:35 +00:00
Derrick Brashear
49ae847e1b aix-export-needs-afsconfig-include-path-20010716
minor cleanup for export build on aix
2001-07-16 05:58:22 +00:00
Derrick Brashear
354fb17392 linux22-param-file-needs-modversions-reordering-20010716
to make it possible to build modversion'd kernel on linux 2.2
2001-07-16 23:06:26 +00:00
Derrick Brashear
9e09de0b96 add-bogus-install-dependancy-for-lame-systems-which-think-INSTALL-is-install-and-so-do-the-wrong-thing-20010716
darwin has a case-insensitive but case-preserving filesystem. yay.
2001-07-16 06:32:48 +00:00
Derrick Brashear
d15d69c2d7 move-readmes-one-level-up-20010716
move readmes/install into new top level
2001-07-16 05:33:53 +00:00
Derek Atkins
5c38f46fc8 configure-redhat-kernel-bug-workaround-20010715
to allow hooking in to deal with bug in redhat kernel headers
2001-07-16 01:59:01 +00:00
Derek Atkins
73e458a9c8 linux-under-under-smp-under-under-never-needs-to-be-defined-in-rhconfig-20010715
never need to define __SMP__ (or undefine __SMP__) in module compilation
2001-07-16 01:22:48 +00:00
Nickolai Zeldovich
c817e39aa3 afsdb-support-use-afs-not-dce-records-only-20010715
so we don't use DCE AFSDB records
2001-07-16 01:20:38 +00:00
Nickolai Zeldovich
9e3578a678 configure-fail-unknown-sysnames-20010715
fail on unknown systems to default system name
2001-07-16 01:13:19 +00:00
Nathan Neulinger
1fd4f11faf include-afsconfig-before-param-h-20010712
so stuff can be defined in afsconfig.h and included first
2001-07-12 20:58:15 +00:00
Nickolai Zeldovich
36a5eaa81c solaris-detect-kernel-dqrwlock-20010712
based on feedback from Frank Batschulat <Frank.Batschulat@Sun.COM>

vfs_dqrwlock not present in all solaris versions
2001-07-12 20:04:07 +00:00
Chaskiel M Grundman
efe58972cc darwin-generate-module-version-from-version-string-20010712
generate darwin version string from the autoconf version for the module
2001-07-12 20:00:33 +00:00
Derrick Brashear
63d75a498e pam-needs-afsdb-libs-20010712
since libauth can include afsdb support we need the support libs
2001-07-12 19:57:25 +00:00