262 Commits

Author SHA1 Message Date
Andrew Deason
eb252cea4a DEVEL15-osol-solookup-20090624
LICENSE IPL10
FIXES 124924

update for new opensolaris solookup function signature


(cherry picked from commit ee72f251049ca361b095e813adce63216343afd8)
2009-06-24 22:38:27 +00:00
Simon Wilkinson
027676ba87 DEVEL15-linux-allow-disabling-syscall-probing-20090602
LICENSE IPL10

give a configure switch to allow disabling syscall probing


(cherry picked from commit 091139b3e2160e1f56b11820d59589de9ccd9c40)
2009-06-02 19:31:57 +00:00
Derrick Brashear
cc5faad5dc DEVEL15-vfsck-conditional-for-namei-20090602
LICENSE IPL10

make build fly again on solaris when namei and not inode is in play


(cherry picked from commit be47f4de0595dd044053695de3cdcedb2ec2a113)
2009-06-02 18:39:43 +00:00
Derrick Brashear
b475c194fd DEVEL15-xml-versioning-take-two-20090601
LICENSE IPL10

deal with this in a way which does not trip creation of CML state config files


(cherry picked from commit 0a617e33234f6104fdfb0d45593cf313c961f653)
2009-06-01 18:51:56 +00:00
Derrick Brashear
fb88450783 DEVEL15-xml-doc-building-glue-20090527
LICENSE IPL10
FIXES 124804

add configure switches for building docs. generate version files needed.


(cherry picked from commit e452c704c59700496227dccb3161efd34ca709ba)
2009-05-27 20:44:48 +00:00
Simon Wilkinson
4ffdd7d045 DEVEL15-linux-byte-range-locks-sensibility-20090526
LICENSE IPL10
FIXES 124766

make our locks work correctly with the linux connectathon lock testing


(cherry picked from commit 49b7bbdd3b45df694fadbef48f9ed99d9bfe07b9)
2009-05-27 01:47:51 +00:00
Derrick Brashear
864dd3b2ed DEVEL15-ukernel-use-fsblkcnt-20090513
LICENSE IPL10
FIXES 124681

blkcnt_t doesn't exist on fbsd, macos 10.3, and isn't really the right type.
this is the right type, but also can be missing. test appropriately.


(cherry picked from commit 070f02923cfa4e01ccb754928cdd4d02bec48720)
2009-05-13 22:35:08 +00:00
Marc Dionne
7f5b86916d DEVEL15-linux-fh-based-cache-20090511
LICENSE IPL10
FIXES 123620

rework previous fh-based cache support. now allows use of
arbitrarily large file handles, and build correctly for UKERNEL.

we now just use this if there's no iget, instead of providing a configure
switch.

because this relies on the somewhat invasive patch from 124184 it is not
currently pulled up to 1.4.x


(cherry picked from commit 326ffcc108e1db32fa2071b66ac9dbf2321ae71d)
2009-05-11 14:40:23 +00:00
Matt Benjamin
611868a378 DEVEL15-dragonfly-bsd-userland-20090427
LICENSE IPL10
FIXES 124702

add support for dragonflyBSD's userland


(cherry picked from commit 25f13f38064bf38ed89332b38c53c740475db87d)
2009-04-27 19:31:52 +00:00
Marc Dionne
5eaf9017bd DEVEL15-linux-2630-maybe-20090331
LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released


(cherry picked from commit d0a166bdffce2d2498cab54cc458d9489d05c299)
2009-03-31 13:16:30 +00:00
Derrick Brashear
563ffa4766 DEVEL15-sig-t-exclude-multiple-20090321
LICENSE IPL10

disallow multiple typedefs of sig_t


(cherry picked from commit 4bf68765b6d2a04c388ae9a5e6f134c0505a785b)
2009-03-21 15:39:14 +00:00
Derrick Brashear
70572e538f DEVEL15-aix51-pag-header-20090320
LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2


(cherry picked from commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd)
2009-03-20 22:45:20 +00:00
Marc Dionne
d53e0310b3 DEVEL15-linux-key-alloc-changes-20090318
LICENSE IPL10
FIXES 124507

Fix the old configure test for key_alloc for the task argument - we
can't just rely on the number of arguments anymore. Wish this could be
done without using -Werror.
Add an additional test for the struct cred argument


(cherry picked from commit bf9dc554b366b08ce0bef62ce242c94371938000)
2009-03-19 04:02:32 +00:00
Derrick Brashear
1195efd83b DEVEL15-socklen-t-check-20090316
LICENSE IPL10

verify we have socklen_t and if not, get it


(cherry picked from commit 2d683a880bf5f30db22862f0f6add14142dbcf9a)
2009-03-16 16:14:21 +00:00
Derrick Brashear
50a0217397 DEVEL15-irix-no-sig-t-20090316
LICENSE IPL10

correct the sig_t checking macro


(cherry picked from commit 7815171a8d300d550dd61c2db0f329b19390cf16)
2009-03-16 15:48:32 +00:00
Derrick Brashear
50cfc3240f DEVEL15-irix-lacks-sig-t-20090315
LICENSE IPL10

sig_t is missing on irix


(cherry picked from commit 61dadb6458ec95b5bf4bd4250520453630fbbe4c)
2009-03-16 03:44:47 +00:00
Simon Wilkinson
555bf5c3df DEVEL15-linux-nfstrans-test-20090123
LICENSE IPL10

test for nfs translator before enabling


(cherry picked from commit 9093f0cf1594c72d9849ed6d4d9ab1532d0185c5)
2009-01-23 14:31:43 +00:00
Marc Dionne
1f41be5168 DEVEL15-linux-2629-20090115
LICENSE IPL10
FIXES 124115

add 2.6.29 support


(cherry picked from commit 24a5d12bae9a2af393f3641055893824c71a4712)
2009-01-15 13:27:27 +00:00
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