771 Commits

Author SHA1 Message Date
Chas Williams
a58a3c7e77 STABLE14-solaris10-ugly-avoid-ENODEV-hack-20051007
we need to fix this another way but put it here for now


(cherry picked from commit 57e0d7e02d486c76f2004227f2918a92847377cf)
2005-10-07 20:25:13 +00:00
Derrick Brashear
21e512ed0c STABLE14-macos-cleanup-20051007
remove symhint inval
2005-10-07 19:51:35 +00:00
Derrick Brashear
74ed54fcf4 STABLE14-macos-cleanup-20051006
minor cleanup to get things working from the merge

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

remaining bits to make this build

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

add missing installer files
2005-10-07 00:38:13 +00:00
Derrick Brashear
a179e005df STABLE14-macos104-20051005
distill out chaskiel's tiger changes and pull them up. this should be fun.
wonder how broken it is.
2005-10-05 06:58:26 +00:00
Derrick Brashear
a5d8c8dad1 STABLE14-memcache-set-default-write-size-20051002
based on comment from chas williams. set the default write amount as is
done for ufs cache writes


(cherry picked from commit 543e49eaaea2290c4239dd79864384f11adb2607)
2005-10-03 03:55:33 +00:00
Joe Buehler
cb2c1d953e STABLE14-hpux-build-updates-20051002
FIXES 21722

ndir.h has been changed. also, pthreads header doesn't match how we used it


(cherry picked from commit aee18ed884d2af05174594120ba1825bfe76c96a)
2005-10-03 03:46:29 +00:00
Chas Williams
ac1fb2c3de STABLE14-solaris-init-offset-for-write-20050929
passing a random nlen into afs_GetDCache() when in write mode
seems to sometimes trigger overwrites.


(cherry picked from commit f1454a2885c410f5e886fa136a61c70cc06d42df)
2005-09-29 21:35:45 +00:00
Derrick Brashear
263ee5f89f STABLE14-revert-aix-afsdb-20050815
FIXES 20801

revert this until it's corrected.


(cherry picked from commit 4e49cb6fcf340a74c68520476ceec598180b8134)
2005-09-23 15:56:26 +00:00
Joe Buehler
d5e1173c74 STABLE14-aix-export-h-20050920
FIXES 21723

make sure we include our export.h and not the one from nfs.


(cherry picked from commit 664c5f83fea216fe8e1213ba50cf955dd5d768a2)
2005-09-21 01:03:56 +00:00
Stephan Wienczny
3da868115a STABLE14-linux-no-pf-freeze-20050908
FIXES 21424

new enough linux has no PF_FREEZE

sigh
2005-09-19 04:41:31 +00:00
Stephan Wienczny
1f1859b00e STABLE14-linux-no-pf-freeze-20050908
FIXES 21424

new enough linux has no PF_FREEZE

sigh
2005-09-08 19:53:45 +00:00
Chas Williams
be72ae9a8a STABLE14-linux-root-fix-reval-20050907
FIXES 21390

revalidate the root vnode correctly so if we become replicated we don't lose


(cherry picked from commit 6d6789345ecab70c973cea46b5b262e92e153498)
2005-09-07 18:43:25 +00:00
Chas Williams
5d823c8841 STABLE14-linux-root-no-reval-20050905
don't revalidate the root afs vnode, so if root.afs becomes replicated out from under us we don't lose.


(cherry picked from commit 46e69c150286793e0c2238af01b8d4637b95dd54)
2005-09-05 17:29:54 +00:00
Chas Williams
8f351535e8 STABLE14-linux-remove-reval-shortcut-20050903
don't skip revalidation work so we don't end up with bogus directory dates


(cherry picked from commit fed9b0844cbd07717e0af1376573f835eb3aaade)
2005-09-04 05:11:55 +00:00
Chas Williams
1aa8ddfff5 STABLE14-put-inode-speedup-20050815
FIXES 20820

don't bother with credp


(cherry picked from commit e0d9e434bb778a2507c1cd6d96c1faa2071f2b2c)
2005-08-19 18:51:50 +00:00
Chas Williams
002305be3a STABLE14-rmdir-dont-hold-kernel-lock-20050819
potentially fix one of the deadlocks people have been seeing


(cherry picked from commit 49802c76b1a4cc1fb67e704e449325899ae42f0e)
2005-08-19 16:33:28 +00:00
Chas Williams
2a3673230e STABLE14-linux-inactive-in-place-of-remunlink-20050818
FIXES 20912

call afs_InactiveVCache() instead of afs_remunlink()
for unlink, the "inactive" refcount is 1 now instead of 0.


(cherry picked from commit caa4c12b719763c6b35080a6e5f0beaf0d53c406)
2005-08-18 05:12:59 +00:00
Derrick Brashear
4e398e1d1a STABLE14-irix-gop-lookupname-20050817
irix of course won't build when your function doesn't match the prototype


(cherry picked from commit 1bc0250ec0793ee28d4cbec3fb5b929d541aa95c)
2005-08-17 20:27:03 +00:00
Niklas Edmundsson
32583b87e4 STABLE14-aix-afsdb-20050815
FIXES 20801

make afsdb work on aix.
use storage as thread-local when it is


(cherry picked from commit e4ca2e597c85ae8667e3963db847aab83aaf0ce2)
2005-08-15 16:52:34 +00:00
Chas Williams
db74ba09fb STABLE14-refrigerator-20050809
FIXES 20728

refrigerator takes void starting in 2.6.13


(cherry picked from commit c9b0955360b34ab1f8775c5ccc55e77037e0d312)
2005-08-10 20:23:17 +00:00
Chas Williams
81aeb3a22c STABLE14-linux26-umount-force-doesnt-work-20050809
this was never finished, just revoke it for now


(cherry picked from commit 0c931ef444c03fc1cc5fcb1a55fec0d32f4dda61)
2005-08-09 14:42:12 +00:00
Derrick Brashear
5a44a9af70 STABLE14-revert-linux-write-dirty-pages-once-20050802
this needs to be revisited


(cherry picked from commit 3e9c1b1f1a1b3d33c6af44d1fe79810ad2a3a0f8)
2005-08-08 16:04:38 +00:00
Rainer Toebbicke
1ff99ae826 STABLE14-client-omit-zero-length-reads-20050804
The attached patch restores the behaviour of the 1.2.x client: writes
appending to a file do not trigger a 0-length read which at best updates the
current status. If another cache manager wrote to the same file in the
meantime, the file status is updated only after the StoreData RPC (and for
the changes the last one wins).
2005-08-04 21:45:14 +00:00
Horst Birthelmer
563d8ac2c3 STABLE14-checkservers-set-back-deadtime-correctly-20050804
the multirx version of this does this wrong. fix it.


(cherry picked from commit b607770bc5d8a3ebe64153e906787a4fdb48eddc)
2005-08-04 21:05:15 +00:00
Chaskiel M Grundman
aad13a5d1a STABLE14-linux-vnode-aliases-20050802
FIXES 18613

you can end up hanging when you end up with multiple aliases for a single direct
ory (dentry) as a result of @sys or multiple mountpoints.

don't end up with multiple aliases, and avoid the situation


(cherry picked from commit f6ff3f769a8e84e9148c3c47c9e82d1bcb7d6f6a)
2005-08-02 20:00:58 +00:00
Derrick Brashear
5d034cb02b STABLE14-linux-fix-refrigerator-calls-20050802
it's CONFIG_PF, not CONFIG_PM


(cherry picked from commit 7ad3929e3c75aa2fabab7f72c79e42759562804f)
2005-08-02 15:04:47 +00:00
Chas Williams
554f7ffb5f STABLE14-linux-4gb-32bit-file-fix-20050802
FIXCES 20560

fix wrapping error on page offset


(cherry picked from commit 893849bdca91df3ec60b0b587c0b56500c04d70d)
2005-08-02 14:47:58 +00:00
Chas Williams
fac9d46352 STABLE14-linux-group-putback-20050802
FIXES 20562

put back reference before discarding group pointer


(cherry picked from commit 82b010d26adac3854507331b3bbbbcc2e07e50ef)
2005-08-02 06:16:33 +00:00
Chas Williams
ed72df47a4 STABLE14-linux-write-dirty-pages-once-20050802
FIXES 20561

also done in afs_linux_write


(cherry picked from commit c893cf0e3ddce6c020a5fb28b6caa35ea3aa83c4)
2005-08-02 06:12:56 +00:00
Chas Williams
6639566b80 STABLE14-linux-4gb-32bit-file-fix-20050802
FIXCES 20560

fix wrapping error on page offset


(cherry picked from commit 4778f1fc153c5164b692866f1460e8ec58012de6)
2005-08-02 06:09:50 +00:00
Jim Rees
40b2927a58 STABLE14-openafs-sleep-20050726
tsleep on "afsslp" in afs_osi_Sleep


(cherry picked from commit 575cbd4a2f231f7bcaaf92a356afa61a4ae170dc)
2005-07-28 22:48:35 +00:00
Hartmut Reuter
202c4ea660 STABLE14-dir-buffers-use-nullidx-as-none-20050721
FIXES 20214

since 0 is a valid number use -1 (NULLIDX)


(cherry picked from commit da5187d4b4093b32f811631d3cc57c746e4b23a3)
2005-07-28 22:33:57 +00:00
Chas Williams
87dbfa307a STABLE14-linux-mmap-cleanup-20050726
FIXES 20391

avoid the vma close business, we don't need to do this to track maps


(cherry picked from commit b58c1f103ee2d2b615b9b78f594bb8285e05b3c1)
2005-07-26 18:40:36 +00:00
Chas Williams
7d9121e4b8 STABLE14-linux-largefile-fix-20050726
FIXES 20396

use the generic read/write functions, but set the superblock up correctly.

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

make work with old 2.4


(cherry picked from commit eff25c1899fd0a96199764ff26ef1084228f48cd)
2005-07-26 15:11:42 +00:00
Sabin Iacob
3022a380af STABLE14-linux-refrigerator-check-20050721
FIXES 20209

don't call refrigerator unless we have a kernel which supports it


(cherry picked from commit bd1eba7f4091b7e2ef4264476d3ed3e54cc228f4)
2005-07-25 19:14:40 +00:00
Chas Williams
7ea06a4e71 STABLE14-unlink-fix-20050721
fill in parent after processFS


(cherry picked from commit 724b6e639afee800663cb6ce9dbb9717cdca2b70)
2005-07-21 17:31:34 +00:00
Chas Williams
b217d652e4 STABLE14-checksysname-stack-usage-20050721
FIXES 20227

fix misuse of MAXSYSNAME for MAXNUMSYSNAMES


(cherry picked from commit f00e35f7a23c6caeba58dc77ab53334514b9d31e)
2005-07-21 05:49:18 +00:00
Derrick Brashear
522809c75a STABLE14-pt-util-no-cmd-seek-20050715
i guess someone was dumb at some point and failed to completely remove bogus options


(cherry picked from commit 0c678579113a84be09c8f734352f8a681751ba8e)
2005-07-15 20:19:35 +00:00
Zach Schimke
dddaa8e8bd STABLE14-freevclist-static-20050711
these are static now, make it so


(cherry picked from commit 2d5bb80889f877fcacec02cc229a0960b9852081)
2005-07-12 18:49:45 +00:00
Chas Williams
b2abbb4a31 STABLE14-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.


(cherry picked from commit 652f3bd9cb7a5d7833a760ba50ef7c2c67214bba)
2005-07-11 20:29:54 +00:00
Jim Rees
aa7e695328 STABLE14-freebsd60-20050708
Fixes for FreeBSD 6.0 snap5.
Builds and runs but has locking issues.


(cherry picked from commit fbbb6db84c85061bd010df068485927b1a3a628f)
2005-07-11 20:27:27 +00:00
Pascal Terjan
960ed96198 STABLE14-coda-xfs-header-defines-fun-20050706
make this better, we should never have been doing it as we were before


(cherry picked from commit f829393c716330b65a96d5cc0c33b2c83e9b4bc4)
2005-07-11 20:13:47 +00:00
Chas Williams
180dde15f4 STABLE14-linux-change-dentry-cleanup-20050619
try to make this work in 2.4 also


(cherry picked from commit f43f102c71f69a1b0bd6d4ea7cb7f0c74e67b083)
2005-06-21 21:22:44 +00:00
Derrick Brashear
4e8a7e3987 STABLE14-revert-splitdcache-20050621
revert this for 1.4 series
2005-06-21 21:13:48 +00:00
Tony D'Amato
05bca488f5 STABLE14-sgi-afs-rename-decl-fix-20050610
achar -> char


(cherry picked from commit 72de37a9c45f7d1184ef0c23465d2b79dbfe93c5)
2005-06-10 22:11:49 +00:00
Derrick Brashear
455f752565 STABLE14-split-dcache-fixes-20050604
based on discussions with jhutz@cmu.edu and chas@cmf.nrl.navy.mil


(cherry picked from commit edb1f92a67c5875b6be11621fe1b519c01877e8f)
2005-06-05 16:34:49 +00:00
Chas Williams
efe0399ec2 STABLE14-linux26-clear-inode-locking-20050603
respect i_state flag

(works for my test case, if it works more broadly i will pull up)


(cherry picked from commit dcb55704f990790898780fc7a280b1a378440b9c)
2005-06-05 16:34:42 +00:00
Chas Williams
fed6818641 STABLE14-d-reval-one-more-20050531
last try
2005-05-31 22:12:51 +00:00
Derrick Brashear
784bccfa89 STABLE14-merge-cleanup-20050529
minor dinking from unclean merge.
2005-05-30 06:28:19 +00:00
Chas Williams
181a4c6b97 STABLE14-memcache-dont-dump-buffer-20050529
FIXES 18944

don't bother dumping what may not be a readable buffer while tracing when using memcache


(cherry picked from commit b56513ffd69bbcd94afb2b1e1509aae63fa438fc)
2005-05-30 05:36:58 +00:00