244 Commits

Author SHA1 Message Date
Andrew Deason
e925aec435 DEVEL15-libuafs-set-fileoffsetbits-20090112
LICENSE IPL10
FIXES 124093

make libuafs work with things which expect to be able to use native file
sizes etc


(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)
2009-01-12 14:11:49 +00:00
Simon Wilkinson
63b635ced8 DEVEL15-linux-truncate-race-20090109
LICENSE IPL10
FIXES 124094

avoid a race during truncation which trips an issue when fsx is run


(cherry picked from commit f49bf1d919b48901533da78c9fe38ca0339b7bca)
2009-01-09 15:09:24 +00:00
Andrew Deason
0925bcfbf9 DEVEL15-ac-verbatim-include-undefs-20090109
LICENSE IPL10
FIXES 124077

the undefs for things which are not ac macros ended up outside the ac verbatim
blob. fix it.


(cherry picked from commit 2d07a62c38fea642d52c20ff86e8f72e3c16bbe0)
2009-01-09 14:50:57 +00:00
Matt Benjamin
7178dd06e8 DEVEL15-amd64-fbsd-20081215
LICENSE IPL10
FIXES 123811

add support for fbsd 7.1, amd64 fbsd


(cherry picked from commit c63e2541e5879fe153238ad1d774f60fa00dc0ee)
2008-12-15 20:38:05 +00:00
Tracy Di Marco White
e9e1f7bb0b DEVEL15-netbsd-acinclude-typo-20081117
LICENSE IPL10
FIXES 123647

fix netbsd version tests for amd64


(cherry picked from commit 122833a44eed58273e73992df815c7718ac6e4f7)
2008-11-17 23:14:16 +00:00
Marc Dionne
e2c1dbad25 DEVEL15-missing-linux-fh-configure-switch-20081113
LICENSE IPL10
FIXES 123620

add missing hunk to acinclude


(cherry picked from commit 117066c481e956f7fea53a500271791db5cb375d)
2008-11-13 13:48:12 +00:00
Marc Dionne
f68f52a2b3 DEVEL15-linux-new-aop-20081108
LICENSE IPL10
FIXES 123580

support for 2.6.28


(cherry picked from commit 041f09e17b7e1760a968c0e38f52d7feac2862ba)
2008-11-08 16:49:42 +00:00
Marc Dionne
8983d3f4f1 DEVEL15-linux-fh-based-cache-20081108
LICENSE IPL10
FIXES 123620

use linux fh (exportfs api) to do cache file access. conditionalize based on
configure switch.


(cherry picked from commit 4eab64ebd81305845d10c4a5fdfd1861bc41520b)
2008-11-08 16:34:40 +00:00
Marc Dionne
856e99dcdf DEVEL15-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.


(cherry picked from commit 18e78d91e78e541fce6c9295919946af0744aa7e)
2008-11-08 16:13:59 +00:00
Marc Dionne
6d113df4d9 DEVEL15-autoconf-262-support-20081020
LICENSE IPL10
FIXES 118058

fix the quoting and remove the tests we shouldn't need anymore


(cherry picked from commit bc9c0a14154639d8e45554a3abeb867af9a8d0b2)
2008-10-20 13:35:13 +00:00
Mike Meffie
1ff2d7329c DEVEL15-linux-alt-builddir-fix-20081014
LICENSE IPL10
FIXES 121650

correct the if test to include missing x


(cherry picked from commit 9be6b92a17ebe1d125e13c1cbd7bce620e7672ce)
2008-10-14 15:38:41 +00:00
Stefaan De Roeck
d4d0c44755 DEVEL15-linux-alternate-kernel-builddir-20081012
LICENSE IPL10
FIXES 121354

add support for KBUILD_OUTPUT=... builds.


(cherry picked from commit 726fc5b8425eb7bbaab4bdde38d977382dc17a9d)
2008-10-12 19:02:18 +00:00
Derrick Brashear
fd2641ccf1 DEVEL15-find-new-xbsa-first-20081007
LICENSE IPL10
FIXES 119162

change test order


(cherry picked from commit af0b03055e8a3244881d8ac3e7c52ed775ae86d1)
2008-10-07 19:51:34 +00:00
Derrick Brashear
e77193e688 DEVEL15-ah-verbatim-section-tweak-20080925
LICENSE IPL10

remove PACKAGE and VERSION


(cherry picked from commit eb875d30340a67af78638cf7f395dfe14c0ed405)
2008-09-25 18:00:06 +00:00
Derrick Brashear
a46d92a6b7 DEVEL15-acfooter-inline-20080925
LICENSE IPL10

based on work by mdw@umich.edu


(cherry picked from commit 9d09de799b6efc1a62e0cf28f1b033fd4132b2e1)
2008-09-25 15:41:26 +00:00
Matt Benjamin
66af1a9d02 DEVEL15-bypasscache-20080922
LICENSE IPL10

add cache bypass support (currently linux only)


(cherry picked from commit 9d63160cccf88d554e47e4bed8e3bbe26f14f8c2)
2008-09-25 12:42:43 +00:00
Niklas Edmundsson
bfd956832e DEVEL15-aix61-initial-support-20080903
LICENSE IPL10
FIXES 113638

aix 6.1 support


(cherry picked from commit 539535cf679d6e70f34b80b74c127efae1f0bba2)
2008-09-03 19:27:02 +00:00
Derrick Brashear
8b5faafec6 DEVEL15-namei-by-default-on-sol10-20080816
LICENSE IPL10

default to namei, not inode, on solaris 10 except by request


(cherry picked from commit 03982bd54839f81cdc691ad83e946fac8f8789b7)
2008-08-16 22:37:39 +00:00
Marc Dionne
64ae64e972 DEVEL15-linux-2-6-27-20080816
LICENSE IPL10
FIXES 111634

add support for 2.6.27, which removes asm/semaphore.h


(cherry picked from commit d7a5619e5bd8241dd13611a4be37f04f3aa4ed27)
2008-08-16 20:42:56 +00:00
Russ Allbery
78cf0bdeb0 DEVEL15-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.


(cherry picked from commit af5e519e8e72c37b732474e08b6648bbdf458e95)
2008-07-19 07:56:47 +00:00
Russ Allbery
f651bc62ee DEVEL15-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.


(cherry picked from commit 2b7d9ab5d7c7947b1a45974d9a3252ce7e203a3b)
2008-07-14 05:06:08 +00:00
Todd DeSantis
71408881a0 DEVEL15-butc-xbsa-update-20080711
LICENSE IPL10

update xbsa support for current tsm


(cherry picked from commit 5baf817a31e72d85415222af5c3dee70ed1f6bd3)
2008-07-11 10:50:37 +00:00
Simon Wilkinson
5bd6750436 DEVEL15-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.


(cherry picked from commit 1c96127e37c0ec41c7a30ea3e4aa68f3cc8a24f6)
2008-07-01 23:51:51 +00:00
Marc Dionne
9b0a1a9f9a DEVEL15-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)


(cherry picked from commit daf6b1cf282c895bb7cd3cb090e5bee06648cd16)
2008-07-01 04:35:18 +00:00
Marc Dionne
b4141034be DEVEL15-linux-2626-support-20080608
LICENSE IPL10
FIXES 101091

add 2.6.26 support


(cherry picked from commit bed3e31ca4da711649d6c6b9ab828515cd3418fc)
2008-06-09 04:39:14 +00:00
Derrick Brashear
e938d4f80a DEVEL15-linux24-hlist-unhashed-configure-test-fix-20080602
LICENSE IPL10

make the hlist_unhashed test actually work


(cherry picked from commit 79b7b4eaded831a33d85f580e9e4155528fbd35f)
2008-06-03 03:54:05 +00:00
Simon Wilkinson
73e3d41e33 DEVEL15-disconnected-20080523
LICENSE IPL10

add readonly disconnected support


(cherry picked from commit 18a36a3f624755fbcaee776102177f47e26711b7)
2008-05-23 15:57:31 +00:00
Derrick Brashear
149b3fa69e DEVEL15-pmtu-and-prefetch-20080520
LICENSE IPL10

try hard to optimize using the wire for high latency connections


(cherry picked from commit 1206e7538be86f073b21cd289266286b60a95d0a)
2008-05-21 05:22:27 +00:00
Derrick Brashear
39530a0ee5 DEVEL15-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) w
ork around it.


(cherry picked from commit c761f248397334400f8b4bb71cc4d01d3e4fc6ff)
2008-05-20 22:03:20 +00:00
Simon Wilkinson
d494b7def2 DEVEL15-linux-fc9-20080419
LICENSE IPL10

add in needed changes for fc9 kernels


(cherry picked from commit 0caa578a05150451c706c2ec6c3d095c671a7043)
2008-04-19 22:55:44 +00:00
Marc Dionne
4d7406d4d7 DEVEL15-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


(cherry picked from commit c7ee4828e0d7c631fcd827d1a4c9af8bebb2fc2d)
2008-04-07 04:49:00 +00:00
Steven Jenkins
984774fba8 DEVEL15-pthreaded-ubik-20080402
LICENSE IPL10

add pthreaded ubik and various binaries


(cherry picked from commit 9fbbc3f50cc6f04796a8a444bc06acc66a9c55a6)
2008-04-02 21:06:31 +00:00
Chaskiel M Grundman
334cd2be12 DEVEL15-hpux1123-sysname-detection-20080317
LICENSE IPL10
FIXES 89125

add the 11.23 sysname


(cherry picked from commit 7ffe6a97ff0453c2cae8b15a9d7e2084e3a864d4)
2008-03-17 18:07:48 +00:00
Derrick Brashear
fae8aedd3c DEVEL15-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?


(cherry picked from commit cadbebc2e50aedea01475620a3add4c315c13faa)
2008-03-10 18:52:50 +00:00
Simon Wilkinson
f9cc4315d6 DEVEL15-keyring-updated-20080310
LICENSE IPL10

revise keyring patch to avoid detection problems with keyring_type_key


(cherry picked from commit b7fb842b1cd11ceaa492201ad9a38052e424f6a8)
2008-03-10 16:47:16 +00:00
Simon Wilkinson
20136421a0 DEVEL15-configure-enable-warnings-20080228
LICENSE IPL10

add a switch to turn on warnings when using gcc


(cherry picked from commit 737c03a75c62b3cd0ec92b33aea84d33dc39c2e7)
2008-02-29 15:13:04 +00:00
Simon Wilkinson
f5dcf2aa13 DEVEL15-linux-keytype-exports-20080130
LICENSE IPL10

try to work even if key_type_keyring isn't exported


(cherry picked from commit 9751c68faaff4ab5e4fae7aaad082073ca4daebf)
2008-01-30 17:30:38 +00:00
Derrick Brashear
c2243623e4 DEVEL15-revert-linux-2624-rc5-updates-20080127
LICENSE IPL10
FIXES 83716

the generic 2.6.24 patch should address all this.


(cherry picked from commit a0fd168db5e24fca5f08ccf67d53f58c6f05fa35)
2008-01-28 19:30:06 +00:00
Matt Benjamin
6434311442 DEVEL15-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]).


(cherry picked from commit 8569f67aee8ee0de26259397818ab3af69f18007)
2008-01-10 17:00:16 +00:00
Derrick Brashear
6337cbab32 DEVEL15-emulate-vsyslog-20071213
LICENSE IPL10

aix 5.3 lacks vsyslog. the fixed buffer is poor, but...


(cherry picked from commit ea3d49eaea3d825e5b328e0fbb4382fe5b0249cd)
2007-12-13 22:41:53 +00:00
Tracy Di Marco White
69e90d92fe DEVEL15-nbsd-new-version-20071201
LICENSE IPL10
FIXES 75602

add support for new version(s) of netbsd


(cherry picked from commit 1daa2c0b4fd25f959f6436a9d9eb9a45b7cab379)
2007-12-01 05:42:42 +00:00
Marc Dionne
edd56e701a DEVEL15-linux-2624-20071123
FIXES 77370

support linux 2.6.24


(cherry picked from commit af7cf697ef8c0a416251d3fbfd516738e14c290b)
2007-11-23 13:40:36 +00:00
Kevin McBride
bddb2fcf69 DEVEL15-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.


(cherry picked from commit 8593c52c2787587110865287937750e51c48afa5)
2007-11-12 18:28:30 +00:00
Anders Kaseorg
b6899bf362 DEVEL15-linux-splice-support-20071106
support splice in kernels new enough to support it (sendfile is deprecated)


(cherry picked from commit 1951d7d6c773aead0ea6e9d120e23d15fee4a29f)
2007-11-06 18:32:37 +00:00
Simon Wilkinson
d063e4b7ef DEVEL15-linux-nfstrans-20071024
FIXES 75233

better track changes so we can build an nfstranslator module for new linux kernels


(cherry picked from commit d78b844133549b530273fc7ad1ea376d582985d9)
2007-10-24 16:45:01 +00:00
Simon Wilkinson
638bdf7e80 DEVEL15-fssync-poll-interface-20071022
FIXES 74708

support a poll interface

otherwise, the fd setsize can screw with us


(cherry picked from commit d0285a2193de9868024eb0f432a495bd1802663f)
2007-10-22 18:29:49 +00:00
Marc Dionne
72f790f180 DEVEL15-linux-2623-support-20071004
FIXES 70773

update for support for 2.6.23


(cherry picked from commit 127cebfacdaf84292fc1ecfd64c0e8d259aba474)
2007-10-05 04:09:55 +00:00
Marc Dionne
2cd9c5f158 DEVEL15-linux-vfs-flush-3arg-20070612
FIXES 62203

3rd arg for passing lock owner id. add configure gunk also


(cherry picked from commit 6eabfbd4b969d9efcc1eef646899af28a5077f0f)
2007-06-12 19:34:16 +00:00
Marc Dionne
db8553387d DEVEL15-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


(cherry picked from commit 37a0b14e016af74176d714cc1b25a2af00275d56)
2007-06-12 06:44:00 +00:00
Derrick Brashear
4e0f39a9fb DEVEL15-linux-posix-lock-file-has-wait-arg-now-20070517
FIXES 58590

hopefully this works, i can't actually try it now


(cherry picked from commit ad98eacdadf6b9e079d1606f40cfc352450650a1)
2007-05-17 19:36:01 +00:00