105 Commits

Author SHA1 Message Date
Adam Megacz
f3137f9efc macos-dynroot-start-anyway-20060214
start afsd if -dynroot specified
2006-02-15 00:37:28 +00:00
Mike Garrison
9c3c242825 files-per-subdir-math-error-20051130
FIXES 23811

use a bitshift instead of xor(!)
2005-12-01 04:02:23 +00:00
Russ Allbery
2699810c91 afsd-no-logfile-20051015
FIXES 18662

remove afsd logfile parm
2005-10-15 16:22:15 +00:00
Chas Williams
ae7d5f250d solaris10-afsd-waitpid-to-clean-contract-20051013
FIXES 22317

it seems like this might be a bug in solaris10 when handling contracts
of exiting chilren who have created kernel threads.  the rxlistener is
a kernel thread on solaris and the child that starts the kernel_thread
returns and exits.
2005-10-13 21:59:13 +00:00
Derrick Brashear
bb33cbb6eb macos-rollup-20051013
incorporating STABLE14-macos104-20051005 STABLE14-macos-cleanup-20051006 macos-cleanup-20051006 macos-cleanup-20051007 from the 1.4.x branch, which needed to be forward-ported to work here, sadly.
2005-10-13 16:12:00 +00:00
Joe Buehler
abde1e6281 linux-rc-wait-for-salvager-20051002
FIXES 21754

rc file hack to wait for salvage to finish
2005-10-03 04:13:26 +00:00
Niklas Edmundsson
9d396c4916 cache-autotune-20050817
This patch tries to implement the afsd default tuning parameters
discussed in the thread starting at
https://www.openafs.org/pipermail/openafs-devel/2005-May/012158.html

I took the liberty of adding chunksize-tuning to the memcache too,
with the motivation that people using large memcaches usually wants
better bulk performance too.

It seems to work for me using both disk cache and memcache of various
sizes.
2005-08-17 17:16:50 +00:00
Jim Rees
23e9aff4c9 reindent-afsd-c-20050816
reindent
2005-08-16 17:59:12 +00:00
Chas Williams
bbe7880568 large-cache-fix-20050815
FIXES 20821

make large caches actually work
2005-08-15 16:39:51 +00:00
Jim Rees
51a587b960 dont-restrict-nfiles-20050607
Let afsd compute cachefiles as cacheblocks/10 instead of limiting it to
50000 in the XLARGE and XXLARGE cases.
2005-06-07 18:37:10 +00:00
Jim Rees
35c9cef27e freebsd60-mount-20050429
Fix new FreeBSD mount vfs op.
Client works now, at least for a little while.
2005-04-29 22:55:58 +00:00
Derrick Brashear
4fa2511a44 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
2005-04-28 23:14:57 +00:00
Niklas Edmundsson
87de2a0c8f aix53-20050424
add param file for aix 53
check for cache partition type
2005-04-24 15:24:57 +00:00
Christopher Allen Wing
21610a43f7 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
2005-04-24 15:16:21 +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
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
Jason McCormick
b0b3b02bd1 linux-afsd-rc-better-defaulting-20050320
FIXES 17630

default to a small cache rather than breaking if the client is ill-configured
2005-03-20 15:00:43 +00:00
Ervin Fenyak
efda40565d afsd-rxpck-switch-20050320
FIXES 17837

add rxpck switch to afsd to allow overrding maxpackets
2005-03-20 14:32:06 +00:00
Harald Barth
54119c1e0e nosettime-20050317
Make -nosettime default for afsd.  Use -settime to get old behavior.
2005-03-17 15:52:54 +00:00
Chas Williams
66735f54b7 solaris-x8664-support-20050216
FIXES 17628

add amd64 support for solaris 10
2005-02-16 19:22:49 +00:00
Chas Williams
2519680a2c sol10-afsd-rc-20050113
FIXES 17036

install an rc file for solaris 10
2005-01-14 01:11:48 +00:00
Derrick Brashear
1307b89188 memcache-no-volitems-20050113
Don't try to open VolumeItems when using memcache
2005-01-13 23:37:21 +00:00
Mike Becher
1c8ad1139c linux-rc-update-20041217
update rc scripts for 2.6
2004-12-17 15:13:19 +00:00
Derrick Brashear
54643e2678 afsd-chunksize-error-20041207
FIXES 16723

based on work from mmokrejs@ribosome.natur.cuni.cz
2004-12-07 18:24:44 +00:00
Phil Holland
08a623793f darwin-rc-script-update-20040728
FIXES 6027

update rc script to support stopping afs
2004-07-29 04:36:53 +00:00
Derrick Brashear
563894500f rx-provide-binding-version-of-init-20040728
i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets
2004-07-29 03:46:48 +00:00
Rainer Schöpf
85a973a7b9 afsd-bitch-about-xfs-not-about-dir-for-memcache-20040708
FIXES 5728

make afsd complain if cache partition is linux
don't complain if no cachedir and we're -memcache.
2004-07-08 05:52:38 +00:00
Jonathan Curley
329f256d42 linux-26-provide-proc-interface-instead-of-syscall-20040507
FIXES 4462

provide /proc file interface to use instead of AFS system call.
doesn't solve the PAG problem.
2004-05-10 05:39:21 +00:00
Chas Williams
f3cd6ca063 linux-26-progress-20040412
FIXES 4027

if you complain about any of it, you better include a patch, or risk being
severely flamed. very much a work in progress
2004-04-12 20:42:19 +00:00
Douglas Engert
90f461c912 hpux-1123-update-20031204
update the hpux 11.23 on ia64 support
don't build libuafs. make kernel modules build. fix afsd.
2003-12-04 16:10:43 +00:00
Ed Moy
e2e93aa892 macos103-20031024
FIXES 2325

support for macos 10.3 for 1.2.10
2003-10-24 07:25:58 +00:00
Derrick Brashear
8f00fdfd5f reindent-again-20030808
FIXES 1774

catch things which crept in. if emacs hadn't started ignoring my code
formatting settings this would suck so much less....
2003-08-08 22:54:30 +00:00
Kris Van Hees
d6eefb7be5 afs-prefer-backup-volumes-on-mountpoints-option-20030808
afsd option (-backuptree) and proc interface code for linux to enable preferring
backup volumes when crossing mountpoints once in a tree of backup volumes.
2003-08-08 20:55:03 +00:00
Derrick Brashear
872bc94f8c reindent-20030715
FIXES 1774

thanks to nneul@umr.edu for providing a script to do this.
gnu indent 2.2.9 options:
-npro -nbad -bap -nbc -bbo -br -ce -cdw -brs -ncdb -cp1 -ncs -di2 -ndj -nfc1
-nfca -i4 -lp -npcs -nprs -psl -sc -nsob -ts8

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

fix subst mistake
2003-07-16 00:28:24 +00:00
Hartmut Reuter
f43c2f4412 aix-51-support-20030701
FIXES 1661

make afs work for aix5.1 64 bit.
some code cleanup
2003-07-01 23:02:58 +00:00
Peter Breitenlohner
88e2d8e292 gcc-warnings-cleanup-20030701
FIXES 1650

add headers, cleanup castings
2003-07-01 20:23:51 +00:00
Nathan Neulinger
244fde00a9 afsd-check-for-bad-partition-type-20030602
FIXES 1455

disallow cache directory of types we know cause problems

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

typo
2003-06-03 05:31:08 +00:00
Alexei Kosut
26ee3fcc39 darwin-mount-and-disk-arbitration-enhancements-20030515
FIXES 1363

* Allow AFS to be mounted multiple times, each mountpoint with its
  own root volume.  This allows usage similar to the Windows client,
  e.g., mounting a drive that contains only the user's home
  directory.  Our users find this much easier to work with than
  having to navigate the entire AFS tree in the Finder or open/save
  dialog.

* Have afsd register /afs with the DiskArbitration system
  when mounting it.  This means that the root afs volume shows up in
  the Finder immediately, and prevents the Finder from getting
  confused by additional AFS volumes later on.

* Add a "-nomount" option to afsd, which prevents afsd from
  mounting /afs.  We use this by default on our Mac OS X client, so
  that AFS doesn't show up in the interface at all unless the user
  explicitly asks for an AFS volume to be mounted.  This is
  especially handy for portable or remote users who don't always
  have a network connection, since there isn't an AFS filesystem
  around to hang the Finder if the AFS servers can't be contacted
  (the cache manager may still hang, but since there are no AFS
  volumes mounted, the rest of the OS doesn't notice).

* Make it so that /afs (mounted by afsd) will not unmount unless
  MNT_FORCE is given.  This prevents the user from accidentally
  ejecting /afs in the Finder, and also works around a DiskArb bug in
  Mac OS X (possibly fixed in 10.2) where autodiskmount would sometimes
  unmount /afs when logging out, even though it's marked as
  non-ejectable.
2003-05-15 16:00:27 +00:00
Alexei Kosut
d4828d3226 darwin-use-perl-instead-of-grep-20030513
FIXES 1361

perl is installed by default. grep isn't. use perl.
2003-05-14 16:06:41 +00:00
Derrick Brashear
3fa5f389b2 move-up-cell-initialization-in-cachemgr-20030323
may be related to an oops at startup
2003-03-23 19:43:47 +00:00
Douglas Engert
6183df9e42 hpux-1122-initial-support-20030213
sys name may yet change and there's some relatively minor cleanup yet to be
done
2003-02-14 00:02:16 +00:00
Jim Rees
fa0eff2261 openbsd-rc-20030131
Get rid of dkload subdir
Get rid of "-chunksize 18 -stat 4800"
Change "fs setcrypt crypt" to "fs setcrypt on" (old CMU syntax)
2003-01-31 21:35:14 +00:00
Nickolai Zeldovich
4fa78ca168 openbsd-32-glue-20030130
Add glue to support OpenBSD 3.2.
2003-01-30 22:03:31 +00:00
Nathan Neulinger
580af44321 makefiles-cflag-cleanup-20030111
move cflags back to makefile.config, more cleanup, dup removal
2003-01-11 07:33:52 +00:00
Jim Rees
04f88387f9 openbsd-20021203
OpenBSD:
Don't include systm.h
#define iodone for 3.2
add rc file
2002-12-03 23:34:31 +00:00
Derrick Brashear
8b141efe96 cachemgr-warn-solaris-users-of-dangers-of-logging-20021122
with feedback from others.
2002-11-22 20:07:27 +00:00
Jim Rees
58c34e103c openbsd-20021030
More small OpenBSD fixes.
Now the module loads, afsd starts, and /afs gets mounted.
2002-10-30 22:56:58 +00:00
Nickolai Zeldovich
f0c7fe9ee1 Change the meaning of the -fakestat switch to only enable fakestat
for cross-cell mountpoints.  The -fakestat-all switch can now be
used to enable fakestat for all mountpoints (old behavior).
2002-10-07 00:00:14 +00:00
Nickolai Zeldovich
629d080654 This is mostly a rewrite of src/afs/afs_cell.c, and associated changes
to other things.  Features of the new cell code:

 * Persistent name-to-cell-number mapping across reboots, to ensure the
   cell numbers in the dcache are meaningful.  Stored in the new cache
   file, /usr/vice/cache/CellInfo.
 * Allow cmdebug to query the cell number to cell name mapping.
 * Allow clients to have an empty CellServDB as long as AFSDB is enabled
   and ThisCell has AFSDB records.
 * The home cell retains the setuid bit even if looked up via AFSDB.
 * Dynroot gets its own cell, rather than piggybacking on cell 1.
 * Cell 1 is no longer special; cell numbers are now semi-opaque.
 * Convert cell traversal code to using GetCellByIndex rather than
   directly poking at CellLRU / afs_xcell.
 * Separate cells from aliases, which shouldn't have been the same
   in the first place.
 * Cleaner code (IMHO).

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

make the arguments afs_CellNumValid takes match the prototype (since it
really is a afs_int32 it looks like)

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

update irix to deal

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

update irix to deal

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


Fix some more references to the now-nonexistant cell->index
2002-08-23 04:31:38 +00:00
Chaskiel M Grundman
89f411e22c darwin-updates-20020821
should be correct support for 10.2. also updates for 10.1
2002-08-21 23:07:52 +00:00