Commit Graph

293 Commits

Author SHA1 Message Date
Marc Dionne
18e78d91e7 linux-disable-readahad-20081108
LICENSE IPL10
FIXES 123604

The code has long contained a backing_dev_info structure, but it
was never attached to anything.  Initialize its use properly with
bdi_init, and attach it to i_mapping for every newly filled inode.
bdi_init and bdi_destroy are needed for proper initialization of
some percpu counters, otherwise we get some oopses.
2008-11-08 16:09:25 +00:00
Marc Dionne
bc9c0a1415 autoconf-262-support-20081020
LICENSE IPL10
FIXES 118058

fix the quoting and remove the tests we shouldn't need anymore
2008-10-20 13:34:58 +00:00
Mike Meffie
9be6b92a17 linux-alt-builddir-fix-20081014
LICENSE IPL10
FIXES 121650

correct the if test to include missing x
2008-10-14 15:38:30 +00:00
Stefaan De Roeck
726fc5b842 linux-alternate-kernel-builddir-20081012
LICENSE IPL10
FIXES 121354

add support for KBUILD_OUTPUT=... builds.
2008-10-12 19:01:58 +00:00
Derrick Brashear
af0b03055e find-new-xbsa-first-20081007
LICENSE IPL10
FIXES 119162

change test order
2008-10-07 19:51:25 +00:00
Derrick Brashear
eb875d3034 ah-verbatim-section-tweak-20080925
LICENSE IPL10

remove PACKAGE and VERSION
2008-09-25 17:59:52 +00:00
Derrick Brashear
9d09de799b acfooter-inline-20080925
LICENSE IPL10

based on work by mdw@umich.edu
2008-09-25 15:41:02 +00:00
Matt Benjamin
9d63160ccc bypasscache-20080922
LICENSE IPL10

add cache bypass support (currently linux only)
2008-09-25 12:42:02 +00:00
Niklas Edmundsson
539535cf67 aix61-initial-support-20080903
LICENSE IPL10
FIXES 113638

aix 6.1 support
2008-09-03 19:26:29 +00:00
Derrick Brashear
03982bd548 namei-by-default-on-sol10-20080816
LICENSE IPL10

default to namei, not inode, on solaris 10 except by request
2008-08-16 22:37:29 +00:00
Marc Dionne
d7a5619e5b linux-2-6-27-20080816
LICENSE IPL10
FIXES 111634

add support for 2.6.27, which removes asm/semaphore.h
2008-08-16 20:42:34 +00:00
Russ Allbery
af5e519e8e always-wrap-vos-ctime-20080718
LICENSE MIT

When calling ctime on an afs_int32, always use a wrapper that assigns the
variable to a time_t before passing it in rather than conditionally doing
so on hosts with a large time_t.  This eliminates a configure test,
removes a bunch of warnings in vos.c on platforms with 32-bit time_t, and
will make no difference in generated code with any decent compiler.
2008-07-19 07:41:06 +00:00
Russ Allbery
2b7d9ab5d7 autoconf-help-text-20080713
LICENSE IPL10

Use AS_HELP_STRING for every AC_ARG_WITH invokation and add proper quoting
to all of them.  Based heavily on a patch by Simon Wilkinson, but with
less indentation and more quoting.
2008-07-14 05:05:46 +00:00
Todd DeSantis
5baf817a31 butc-xbsa-update-20080711
LICENSE IPL10

update xbsa support for current tsm
2008-07-11 10:49:33 +00:00
Simon Wilkinson
1c96127e37 linux-packaging-module-build-20080701
LICENSE IPL10

Add --with-linux-kernel-packaging configure flag which disables building
multiple kernels for different MP flavors, sets the kernel module name to
openafs.ko with no version, and installs the modules into the standard
Linux location.
2008-07-01 23:44:14 +00:00
Marc Dionne
daf6b1cf28 linux-nfstrans-updates-20080630
LICENSE IPL10
FIXES 105109

exportfs - NFS translator:

- The exportfs code is updated for the new export ops. The changes are made
conditional on a new configure test that detects the new ops. fh_to_dentry()
basically replaces decode_fh and uses our own get_dentry function instead of the
now defunct find_exported_dentry.
- A check for fh_len=4 is removed - in testing this value is always 6, possibly
because of changes in the kernel code.
- The check for authtab in osi_nfssrv.c assumes that an undefined weak symbol is
0. On my system, an unresolved weak symbol in a loaded module gets the value
0xfffffffe (-2 or -ENOENT) - again, probably a change on the kernel side. Check
that the pointer is not an error constant using IS_ERR().
- In osi_vfsops.c, only use the export_ops bits if building the translator

afspag: the problem here was dealing with unresolved symbols

- afs_showflags is redefined in afs_pag_call.c so it's available for the afspag
module
- A new source file afs_warn.c gets the afs_warn* functions from afs_util.c.
This allows the afspag module to get the afs_warnuser function without dragging
in too many symbols. The new file is attached separately.

other:

- d_path() now takes a struct path argument - includes a new configure test
- osi_vfsmnt -> osi_vfsmount in osi_misc.c Looked like a typo?
- reorder the remove_proc_entry() calls - we need to remove the children before
the parent (introduced with my earlier patch)
2008-07-01 04:33:38 +00:00
Marc Dionne
bed3e31ca4 linux-2626-support-20080608
LICENSE IPL10
FIXES 101091

add 2.6.26 support
2008-06-09 04:38:58 +00:00
Derrick Brashear
79b7b4eade linux24-hlist-unhashed-configure-test-fix-20080602
LICENSE IPL10

make the hlist_unhashed test actually work
2008-06-03 03:53:54 +00:00
Simon Wilkinson
18a36a3f62 disconnected-20080523
LICENSE IPL10

add readonly disconnected support
2008-05-23 15:57:18 +00:00
Derrick Brashear
1206e7538b pmtu-and-prefetch-20080520
LICENSE IPL10

try hard to optimize using the wire for high latency connections
2008-05-21 05:22:13 +00:00
Derrick Brashear
c761f24839 linux-hlist-unhashed-opencoding-20080520
LICENSE IPL10
FIXES 93871

if we can't use hlist_unhashed (which is dumb) or we don't have it (less dumb) work around it.

====================
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.
====================
LICENSE IPL10
FIXES 93871

if we can't use hlist_unhashed (which is dumb) or we don't have it (less dumb) w
ork around it.
2008-05-20 22:02:49 +00:00
Simon Wilkinson
0caa578a05 linux-fc9-20080419
LICENSE IPL10

add in needed changes for fc9 kernels
2008-04-19 22:55:02 +00:00
Marc Dionne
c7ee4828e0 linux-no-syscall-probe-with-no-init-mm-20080406
LICENSE IPL10
FIXES 88000

no better idea for this, got to do something... push this for now
2008-04-07 04:48:45 +00:00
Steven Jenkins
9fbbc3f50c pthreaded-ubik-20080402
LICENSE IPL10

add pthreaded ubik and various binaries
2008-04-02 20:47:27 +00:00
Chaskiel M Grundman
7ffe6a97ff hpux1123-sysname-detection-20080317
LICENSE IPL10
FIXES 89125

add the 11.23 sysname
2008-03-17 18:07:36 +00:00
Derrick Brashear
cadbebc2e5 linux-2625-20080310
LICENSE IPL10

adapted from marc dionne's patch, but works more directly like the darwin port,
further, i'm guessing iget_locked will go away evewntually. maybe this is
too conservative?
2008-03-10 18:50:47 +00:00
Simon Wilkinson
b7fb842b1c keyring-updated-20080310
LICENSE IPL10

revise keyring patch to avoid detection problems with keyring_type_key
2008-03-10 16:44:16 +00:00
Simon Wilkinson
737c03a75c configure-enable-warnings-20080228
LICENSE IPL10

add a switch to turn on warnings when using gcc
2008-02-29 15:07:08 +00:00
Simon Wilkinson
9751c68faa linux-keytype-exports-20080130
LICENSE IPL10

try to work even if key_type_keyring isn't exported
2008-01-30 17:30:23 +00:00
Derrick Brashear
a0fd168db5 revert-linux-2624-rc5-updates-20080127
LICENSE IPL10
FIXES 83716

the generic 2.6.24 patch should address all this.
2008-01-28 19:29:49 +00:00
Matt Benjamin
8569f67aee linux-2624-rc5-updates-20080110
LICENSE IPL10
FIXES 80463


Include linux/key-type.h in osi_groups.c, if it exists. Fix
do_sync_read test for recent kbuild (maybe break it for [some older 2.6]).
2008-01-10 16:58:30 +00:00
Derrick Brashear
ea3d49eaea emulate-vsyslog-20071213
LICENSE IPL10

aix 5.3 lacks vsyslog. the fixed buffer is poor, but...
2007-12-13 22:41:11 +00:00
Tracy Di Marco White
1daa2c0b4f nbsd-new-version-20071201
LICENSE IPL10
FIXES 75602

add support for new version(s) of netbsd
2007-12-01 05:40:51 +00:00
Marc Dionne
af7cf697ef linux-2624-20071123
FIXES 77370

support linux 2.6.24
2007-11-23 13:37:24 +00:00
Kevin McBride
8593c52c27 autoconf-strip-debug-options-sanity-20071112
To prevent stripping, specify the '--disable-strip-binaries' option on
the ./configure command line. fileserver and volserver are never stripped.

When --enable-debug is specified, binaries will not be stripped by default.
2007-11-12 18:25:54 +00:00
Anders Kaseorg
1951d7d6c7 linux-splice-support-20071106
support splice in kernels new enough to support it (sendfile is deprecated)
2007-11-06 18:30:19 +00:00
Simon Wilkinson
d78b844133 linux-nfstrans-20071024
FIXES 75233

better track changes so we can build an nfstranslator module for new linux kernels
2007-10-24 16:44:26 +00:00
Simon Wilkinson
d0285a2193 fssync-poll-interface-20071022
FIXES 74708

support a poll interface

otherwise, the fd setsize can screw with us
2007-10-22 18:29:28 +00:00
Marc Dionne
127cebfacd linux-2623-support-20071004
FIXES 70773

update for support for 2.6.23
2007-10-05 04:07:27 +00:00
Marc Dionne
6eabfbd4b9 linux-vfs-flush-3arg-20070612
FIXES 62203

3rd arg for passing lock owner id. add configure gunk also
2007-06-12 19:32:19 +00:00
Marc Dionne
37a0b14e01 linux-2-6-22-updates-20070611
FIXES 61767

1 - task_struct loses thread_info, which is now accessible through the
task_thread_info() macro. A configure test is added to deal with this.

2 - the SLAB_CTOR_VERIFY flag is gone
2007-06-12 06:41:06 +00:00
Derrick Brashear
ad98eacdad linux-posix-lock-file-has-wait-arg-now-20070517
FIXES 58590

hopefully this works, i can't actually try it now
2007-05-17 19:28:10 +00:00
Arkadi Shishlov
9352435f1c linux-sparc-arch-detection-20070517
FIXES 60288

use arch to figure out if we are sparc64
2007-05-17 07:50:02 +00:00
Derrick Brashear
59eb3de5ea linux-posix-lock-file-has-wait-arg-now-20070517
FIXES 58590

hopefully this works, i can't actually try it now
2007-05-17 07:34:15 +00:00
Christopher Allen Wing
2d18bd1777 linux-symlink-handling-avoid-crash-20070418
Background: OpenAFS is vulnerable to crashing in the linux kernel symlink
code when running on kernel versions between 2.6.10 to 2.6.12.  This also
includes all RHEL4 kernels, because RHEL4 includes the code from 2.6.10. The
problem is that the symlink text caching API, page_follow_link() et al, is
unsuitable for network filesystems where the page cache may be invalidated
in parallel with a path lookup.

This crash can be triggered easily by doing a bunch of path lookups
involving symlinks (e.g., stat() on various files pointed to through links),
while simultaneously running 'fs flushvol' on the volume containing the
symlinks.

The simplest way to fix this problem is to disable the use of symlink text
caching when the kernel does not provide a usable symlink API.
2007-04-18 19:18:35 +00:00
Marc Dionne
f1a6107e08 linux-2621-20070222
FIXES 54645

configure support for new sysctl api
2007-02-22 21:46:13 +00:00
Derrick Brashear
00c5dbfd04 tasklist-export-check-20070208
work around tasklist lock export harder
2007-02-09 01:30:00 +00:00
Derrick Brashear
a4d52ee772 use-unix-sockets-20070208
option to use unix socket for fssync
2007-02-08 23:59:16 +00:00
Jeffrey Hutzelman
b0425c4e7f linux-lock-tracking-20070208
FIXES 31818

avoid a potential leaked lock when closing firefox.
2007-02-08 22:37:41 +00:00
Chaskiel M Grundman
fd1c37ebe7 linux-and-locks-cleanup-20070202
fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid useless panic
2007-02-03 03:23:16 +00:00
Jeffrey Hutzelman
c88ab63663 linux-kbuild-test-fixes-20070119
fixes to build for linux when doing objdir builds
2007-01-19 19:31:05 +00:00
Marcus Watts
182a18931a linux-kbuild-configure-20070104
FIXES 40604

Test whether Linux kernel builds work at all before going into specific
builds so that we can fail earlier with a better error message.  Try to
put more errors from the kernel build into config.log.
2007-01-04 20:05:20 +00:00
Dale Ghent
a537d3ae96 add-solaris-11-support-v2-20061228
FIXES 50343

initial 5.11 support
2006-12-28 21:57:24 +00:00
Marc Dionne
064926fd1b linux-2620-rc1-update-20061228
FIXES 49890

updates for linux 2.6.20-rc1
2006-12-28 21:28:31 +00:00
Russ Allbery
40976a1f88 param-common-fix-20061120
Rather than setting AFS_PARAM_COMMON as part of the sysname guessing code,
guess the sysname first and then sent AFS_PARAM_COMMON in a separate case
statement based on the results.  Otherwise, it isn't set when
--with-afs-sysname is used explicitly, resulting in a broken Linux build.
2006-11-20 23:50:42 +00:00
Chas Williams
789bf060d2 linux-blkbits-20061109
FIXES 42671

set blkbits if we have it
2006-11-10 00:06:44 +00:00
Marc Dionne
c12c958feb linux-statfs-dentry-20061109
FIXES 42788

statfs changed in recent linux kernels. cope.
2006-11-09 23:40:20 +00:00
Chas Williams
ee8ae61a4d linux-config-h-died-20061109
FIXES 42662

config.h vanished. deal.
2006-11-09 23:10:51 +00:00
Tracy Di Marco White
04b51cc8df netbsd-30-20061006
FIXES 40782

add support for netbsd 3.0, netbsd 4.0(ish)
2006-10-06 15:55:35 +00:00
Chas Williams
775ea6f1b7 linux-2619-aio-and-read-write-changes-20061006
changes to support 2.6.19
2006-10-06 14:27:44 +00:00
Chas Williams
361751cbf4 linux-i-blksize-test-20060919
this was missed in the configure test conversions
2006-09-19 22:33:10 +00:00
Derrick Brashear
1c8080fe9d namei-emulate-flock-20060913
FIXES 39797

lockf when not locking and unlocking the whole file is fraught with peril
2006-09-16 00:23:18 +00:00
Derrick Brashear
94ff5651cb suse-kernel-source-path-update-20060912
no one can ever agree on anything
2006-09-12 19:57:17 +00:00
Chas Williams
2ec7ad2af0 linux-param-generator-20060831
FIXES 36888

not yet pulling up
2006-08-31 06:15:15 +00:00
Marc Dionne
7ee5149103 get-sbdev-configure-test-20060828
FIXES 38736

the autoconf glue was missed before
2006-08-28 20:11:31 +00:00
Derrick Brashear
3017c8dc54 linux-gpl-only-tests-20060813
don't try to use gpl-only kernel symbols
2006-08-13 17:45:48 +00:00
Derrick Brashear
7c76320e8b linux-updates-20060811
fix for current fc kernels, and clean up linux nfs translator
2006-08-11 22:38:41 +00:00
Chas Williams
43f1bcf65a linux-keyring-pags-20060804
ok, well, first try
2006-08-04 16:55:21 +00:00
Chas Williams
a901d2b8ad linux-kernel-updates-20060804
updates for new stuff in linux kernels
2006-08-04 16:46:59 +00:00
Chas Williams
51799f7cc0 linux-try-kbuild-20060804
FIXES 34561

the real reason i upgraded auto*
2006-08-04 16:42:55 +00:00
Russ Allbery
5fc2674bb8 death-to-more-dux-20060802
Delete more DUX configure machinery that we no longer care about since we
have no DUX client and don't care about fs_conv_DUX.
2006-08-02 19:14:44 +00:00
Russ Allbery
2b20e5e61a no-pam-for-irix-20060802
Don't try to build PAM on IRIX; IRIX PAM is almost but not entirely unlike
what we expect.
2006-08-02 18:42:54 +00:00
Russ Allbery
83b6575648 kopenafs-20060802
Add a shared libkopenafs that provides k_hasafs, k_setpag, k_unlog, and
k_pioctl (in other words, enough for a PAM session module that calls an
external aklog).
2006-08-02 17:47:29 +00:00
Russ Allbery
b405868ca0 death-to-package-20060801
Remove package, mpp, and wsadmin, along with the remainder of configure
support for obsolete programs and the corresponding documentation.
2006-08-01 23:27:20 +00:00
Russ Allbery
46574ccb91 death-to-sia-20060801
Drop the SIA code (PAM for Digital Unix).
2006-08-01 22:49:36 +00:00
Chaskiel M Grundman
ed9a218121 openlog-consistency-20060607
open logs consistently so assert logging is appended
2006-06-07 05:25:38 +00:00
Christof Hanke
811b7f89e8 pam-configure-optmz-20060426
FIXES 30659

get rid of hardcoded optimize flags
2006-04-26 16:36:21 +00:00
Derrick Brashear
5a1bd817b8 build-system-updates-20060323
config.sub config.guess and some other scripting updates
2006-04-05 01:11:15 +00:00
Pedro Perez
3f061cc2c3 configure-help-clarity-20060319
Change "AFSDB RR" to "AFSDB DNS RR" for people who don't speak DNS.
2006-03-20 04:45:06 +00:00
Tom Keiser
51ec267011 dafs-20060317
FIXES 26648

demand attach/fast restart fileserver
2006-03-17 19:54:26 +00:00
Jim Rees
d451a366fb openbsd39-20060309
Changes for OpenBSD 3.8 and 3.9.
Based on ports by ober@linbsd.org and todd@fries.net.
Untested.
2006-03-09 15:27:17 +00:00
Ed Moy
9f94892f8d darwin-x86-and-leopard-20060309
updates for darwin x86, and pre-leopard
2006-03-09 06:35:14 +00:00
Chas Williams
6e7d51187c linux-updates-20060309
FIXES 27590

add missing variable test

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

update for new mutexes
2006-03-09 06:05:46 +00:00
Derrick Brashear
21e0734259 linux-inode-i-mutex-20060214
new (2.6.16) kernerls have i_mutex instead of i_sem

====================
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 i_sem become i_mutex
2006-02-15 21:01:49 +00:00
Jim Rees
5790bf7cd0 host-cpu-20060120
Introduce @HOST_CPU@ and use it to find correct headers for FreeBSD build.
2006-01-20 16:40:24 +00:00
Jim Rees
bb0d0e7df0 fbsd-build-path-20051111
set default BSD_KERNEL_BUILD for FreeBSD >= 5.0.
2005-11-11 20:32:22 +00:00
Ervin Fenyak
cfa7b866c8 add-volupdate-counter-20051015
FIXES 18349

add a volume update counter. danger will robinson. see ticket for details.

====================
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 configure gunk

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

add configure gunk

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

make this happy in libadmin on e.g. solaris

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

make this work on Windows
2005-10-23 20:05:40 +00:00
Derrick Brashear
0f422eae19 default-largefile-on-20051015
turn on largefile fileserver by default
2005-10-15 16:40:14 +00:00
Chas Williams
4f5ab395d6 darwin-x86-20051015
FIXES 20130

add support for x86 darwin
2005-10-15 15:42:17 +00:00
Tracy Di Marco White
1c990adad6 nbsd20-amd64-20051015
FIXES 21562

add amd64 netbsd 2.0 support
2005-10-15 15:16:07 +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
aee18ed884 hpux-build-updates-20051002
FIXES 21722

ndir.h has been changed. also, pthreads header doesn't match how we used it
2005-10-03 03:44:42 +00:00
Jim Rees
cdb51cf261 automate-freebsd-systype-20050815
Determine freebsd systype automatically too.
Thanks to "Todd T. Fries" <todd@fries.net>
2005-08-15 21:36:53 +00:00
Todd Fries
8ea5ed2c2b auto-obsd-version-20050813
Determine openbsd version automatically.
2005-08-13 21:49:00 +00:00
Jim Rees
c8db31cc2b openbsd38-20050812
With thanks to "Todd T. Fries" <todd@fries.net>
OpenBSD 3.8.
Introduce HAVE_STRCASESTR.
2005-08-12 22:26:09 +00:00
Chas Williams
c9b0955360 refrigerator-20050809
FIXES 20728

refrigerator takes void starting in 2.6.13
2005-08-10 20:21:27 +00:00
Chas Williams
652f3bd9cb linux-dynamic-inodes-20050710
i slipped a rollback on the linux 2.4 dentry stuff for osi_UFS* in here
at the same time. this patch lets us use kernel inodes instead of our own pool.
2005-07-11 19:45:47 +00:00
Derrick Brashear
2695a18459 vos-ctime-help-20050705
FIXES 6031

kept looking at this backwards, fix is obvious
2005-07-07 02:31:05 +00:00
Derrick Brashear
dbd69d19e4 objdir-20050622
FIXES 19341

try harder to make builds work in cases where you're building into an alternate directory with old autoconf (mkdir vs mkdir -p)
2005-06-22 18:35:20 +00:00
Ken Hornstein
bcdb5a184e more-aklog-fixes-20050618
Fixup aklog so it will compile (at least on MacOS X).  Include basic
autoconf glue.
2005-06-19 02:06:21 +00:00