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
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
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>
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>
LICENSE IPL10
FIXES 125001
check for key_type_keyring being exported; only use it if so
(cherry picked from commit 4ca66112c2a012e04619445275507ae9cd6c11da)
LICENSE IPL10
deal with this in a way which does not trip creation of CML state config files
(cherry picked from commit 0a617e33234f6104fdfb0d45593cf313c961f653)
LICENSE IPL10
FIXES 124804
add configure switches for building docs. generate version files needed.
(cherry picked from commit e452c704c59700496227dccb3161efd34ca709ba)
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)
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)
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)
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)
LICENSE IPL10
FIXES 124094
avoid a race during truncation which trips an issue when fsx is run
(cherry picked from commit f49bf1d919b48901533da78c9fe38ca0339b7bca)
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)
LICENSE IPL10
FIXES 118058
fix the quoting and remove the tests we shouldn't need anymore
(cherry picked from commit bc9c0a14154639d8e45554a3abeb867af9a8d0b2)
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)
LICENSE IPL10
FIXES 88000
no better idea for this, got to do something... push this for now
(cherry picked from commit c7ee4828e0d7c631fcd827d1a4c9af8bebb2fc2d)
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)
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)