244 Commits

Author SHA1 Message Date
Simon Wilkinson
5979cb6a82 linux-byte-range-locks-sensibility-20090526
LICENSE IPL10
FIXES 124766

make our locks work correctly with the linux connectathon lock testing

Change-Id: Ic632c30f597881ae40a8b412a3a1fd99f35ef025
Reviewed-on: http://gerrit.openafs.org/928
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-12-16 22:28:56 -08:00
Marc Dionne
9b37972e61 Linux: 2.6.32 - Adapt to writeback changes
Adapt to the writeback changes in kernel 2.6.32
- Since we define our own backing_dev, it needs to be registered with
the writeback code and attached to the super_block.  Otherwise it
might get ignored when writeback is needed.
- Each backing_dev now gets its own kernel thread.  The name of the
thread is based on the registered name - the openafs one will appear
as "flush-afs".

Reviewed-on: http://gerrit.openafs.org/574
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Change-Id: Ib1403a65991fc7c2cb73099feef7e0dbec02543d
Reviewed-on: http://gerrit.openafs.org/755
2009-10-30 05:21:46 -07:00
Russ Allbery
49094ccfa6 Add automatic sysname detection for ARM Linux
Add arm*-linux* to the case statement that attempts to automatically
determine the AFS sysname, similar to the other Linux sysname
determination cases.

Reviewed-on: http://gerrit.openafs.org/334
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit a59df36211d6bc641eeec6d8fd8876a98ce3600a)
Reviewed-on: http://gerrit.openafs.org/462
2009-09-15 22:40:17 -07:00
Derrick Brashear
76f8d59084 MacOS 10.6 support update
Make things build on MacOS 10.6 again. Don't break 10.5 build.
Fix an error in the MacOS port which was left from previous head.

Reviewed-on: http://gerrit.openafs.org/96
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 1d1ae6195bd03c4348a57914cf892e06b507d855)
Reviewed-on: http://gerrit.openafs.org/355
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-08-27 21:49:47 -07:00
Simon Wilkinson
ac2227aac9 Remove the RCSID macro
The move to git means that we can no longer populate the RCSID
macro in the way that it was used with CVS. This patch simply
removes the macro from every file, except where it contains
information from upstream (and it's in a comment).

Reviewed-on: http://gerrit.openafs.org/14
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 3bb5fa5f1b3dc13ab20ed026c7ea64e11388b9c9)
Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/174
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-07-21 18:02:02 -07:00
Marc Dionne
1ad3a477d7 STABLE14-linux-keyring-export-check-20090701
LICENSE IPL10
FIXES 125001

check for key_type_keyring being exported; only use it if so


(cherry picked from commit 4ca66112c2a012e04619445275507ae9cd6c11da)
2009-07-01 21:57:11 +00:00
Andrew Deason
6257a38048 STABLE14-osol-solookup-20090624
LICENSE IPL10
FIXES 124924

update for new opensolaris solookup function signature


(cherry picked from commit ee72f251049ca361b095e813adce63216343afd8)
2009-06-24 22:38:40 +00:00
Simon Wilkinson
72110be4f1 STABLE14-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:32:08 +00:00
Derrick Brashear
19eb058d38 STABLE14-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:52:13 +00:00
Derrick Brashear
41e3e1d446 STABLE14-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:45:07 +00:00
Derrick Brashear
957fd4ed9e STABLE14-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-22 17:31:43 +00:00
Matt Benjamin
fba9ac7a9c STABLE14-dragonfly-bsd-userland-20090427
LICENSE IPL10
FIXES 124702

add support for dragonflyBSD's userland


(cherry picked from commit 25f13f38064bf38ed89332b38c53c740475db87d)
2009-04-27 19:32:58 +00:00
Marc Dionne
761803469f STABLE14-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:45 +00:00
Derrick Brashear
f3933e252b STABLE14-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:35 +00:00
Marc Dionne
f495ff4e85 STABLE14-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:53 +00:00
Marc Dionne
0dc296c6c3 STABLE14-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)
2009-03-18 12:57:09 +00:00
Marc Dionne
6c9af0dc39 STABLE14-linux-2629-20090115
LICENSE IPL10
FIXES 124115

add 2.6.29 support


(cherry picked from commit 24a5d12bae9a2af393f3641055893824c71a4712)
2009-01-15 13:27:42 +00:00
Andrew Deason
4429ed93ee STABLE14-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:12:03 +00:00
Simon Wilkinson
efd56d611a STABLE14-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:33 +00:00
Andrew Deason
906a2b4d36 STABLE14-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:51:07 +00:00
Matt Benjamin
be8fd231ce STABLE14-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:19 +00:00
Tracy Di Marco White
e108dbbd40 STABLE14-netbsd-acinclude-typo-20081117
LICENSE IPL10
FIXES 123647

fix netbsd version tests for amd64


(cherry picked from commit 122833a44eed58273e73992df815c7718ac6e4f7)
2008-11-17 23:14:27 +00:00
Marc Dionne
4d1e520c91 STABLE14-linux-new-aop-20081108
LICENSE IPL10
FIXES 123580

support for 2.6.28


(cherry picked from commit 041f09e17b7e1760a968c0e38f52d7feac2862ba)
2008-11-08 16:49:57 +00:00
Marc Dionne
be0deafca0 STABLE14-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:27 +00:00
Mike Meffie
2ca1a5cdeb STABLE14-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:51 +00:00
Stefaan De Roeck
377b27bb64 STABLE14-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:35 +00:00
Derrick Brashear
797645eb78 STABLE14-find-new-xbsa-first-20081007
LICENSE IPL10
FIXES 119162

change test order


(cherry picked from commit af0b03055e8a3244881d8ac3e7c52ed775ae86d1)
2008-10-07 19:51:45 +00:00
Derrick Brashear
e89dfb2e8b STABLE14-acinclude-protos-20081002
LICENSE IPL10

add missing acinclude templates
2008-10-02 15:01:20 +00:00
Derrick Brashear
ac75e89d71 STABLE14-ah-verbatim-section-tweak-20080925
LICENSE IPL10

remove PACKAGE and VERSION


(cherry picked from commit eb875d30340a67af78638cf7f395dfe14c0ed405)
2008-09-25 18:00:17 +00:00
Derrick Brashear
607d4beeb3 STABLE14-acfooter-inline-20080925
LICENSE IPL10

based on work by mdw@umich.edu


(cherry picked from commit 9d09de799b6efc1a62e0cf28f1b033fd4132b2e1)
2008-09-25 15:44:03 +00:00
Niklas Edmundsson
cf4ddc21f6 STABLE14-aix61-initial-support-20080903
LICENSE IPL10
FIXES 113638

aix 6.1 support


(cherry picked from commit 539535cf679d6e70f34b80b74c127efae1f0bba2)
2008-09-03 19:27:37 +00:00
Derrick Brashear
3926d28f8c STABLE14-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:51 +00:00
Marc Dionne
05ec17077a STABLE14-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:43:13 +00:00
Todd DeSantis
8f94ec4482 STABLE14-butc-xbsa-update-20080711
LICENSE IPL10

update xbsa support for current tsm


(cherry picked from commit 5baf817a31e72d85415222af5c3dee70ed1f6bd3)
2008-07-15 11:33:57 +00:00
Marc Dionne
7b066c21a3 STABLE14-linux-2626-support-20080608
LICENSE IPL10
FIXES 101091

add 2.6.26 support


(cherry picked from commit bed3e31ca4da711649d6c6b9ab828515cd3418fc)
2008-06-09 04:39:42 +00:00
Derrick Brashear
6114ed092b STABLE14-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:34 +00:00
Derrick Brashear
345ffd3735 STABLE14-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:04:02 +00:00
Simon Wilkinson
2df69d3595 STABLE14-linux-fc9-20080419
LICENSE IPL10

add in needed changes for fc9 kernels


(cherry picked from commit 0caa578a05150451c706c2ec6c3d095c671a7043)
2008-04-19 22:56:06 +00:00
Marc Dionne
08c9069ac1 STABLE14-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:12 +00:00
Derrick Brashear
cb973c5a36 STABLE14-enable-linux-flock-20080324
LICENSE IPL10
FIXES 53457

enable flock again in 1.4; it's been on without complaint in 1.5 since the original ticket was filed
2008-03-24 20:46:40 +00:00
Chaskiel M Grundman
73681e858e STABLE14-hpux1123-sysname-detection-20080317
LICENSE IPL10
FIXES 89125

add the 11.23 sysname


(cherry picked from commit 7ffe6a97ff0453c2cae8b15a9d7e2084e3a864d4)
2008-03-17 18:08:00 +00:00
Derrick Brashear
1b065bec14 STABLE14-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 19:05:28 +00:00
Simon Wilkinson
8b8c54b822 STABLE14-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:48:55 +00:00
Simon Wilkinson
1243f7c981 STABLE14-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:28:31 +00:00
Simon Wilkinson
1c55ca9534 STABLE14-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:55 +00:00
Derrick Brashear
cd14e748d0 STABLE14-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:22 +00:00
Matt Benjamin
bf720401ff STABLE14-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 18:50:16 +00:00
Derrick Brashear
55ae530857 STABLE14-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:43:55 +00:00
Tracy Di Marco White
cd98b2eb3b STABLE14-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:44:28 +00:00
Marc Dionne
14e237cc30 STABLE14-linux-2624-20071123
FIXES 77370

support linux 2.6.24


(cherry picked from commit af7cf697ef8c0a416251d3fbfd516738e14c290b)
2007-11-23 13:44:57 +00:00