811 Commits

Author SHA1 Message Date
Chaskiel M Grundman
07cef953c3 STABLE14-remove-dead-prototype-20060116
remove dead prototype for osi_iput()


(cherry picked from commit 8d158c1b615ec2625756b8f124a9eaff94a67799)
2006-01-17 03:33:41 +00:00
Chas Williams
a74a50e10a STABLE14-linux-clean-up-stupidity-20060111
get some of an inadvertant misapplied patch, and get rid of a redundant check


(cherry picked from commit 3e8b96cfc4596c3e9c6c3802c1bdca1784f86271)
2006-01-11 21:38:30 +00:00
Chaskiel M Grundman
a699f8d3c1 STABLE14-macos-avoid-ref-leak-20060110
FIXES 25302

fix for the earlier fix


(cherry picked from commit ab7cfe62ec128b1205193ede1c769ddb369cc563)
2006-01-11 04:26:44 +00:00
Chaskiel M Grundman
8dcdef73e4 STABLE14-macos-reclaim-20060110
FIXES 25165

avoid a vnode cleaning pnaic during recycle


(cherry picked from commit 29924c8302431a25d4889ef4500fc5f0eeb97b2e)
2006-01-11 04:24:39 +00:00
Derrick Brashear
fb0850a382 STABLE14-remove-vnop-mem-leak-20060110
avoid leaking mvid when we use .__afsXXXX renaming in remove


(cherry picked from commit 8a1d347b2e129a6085fb605f706917d88aa054b7)
2006-01-10 15:11:08 +00:00
Derrick Brashear
43de10c9cb STABLE14-remove-vnop-lock-order-20060110
FIXES 25118

finegrained dcache lock order not obeyed


(cherry picked from commit 39b23a0dc16f2e26abf3b7df53bfadb98377748d)
2006-01-10 15:04:40 +00:00
Derrick Brashear
76c8adf14b STABLE14-macos-104-change-access-enforcement-20060105
don't improperly enforce read attribute restriction on child instead of parent
when it's a directory

avoid screwing ourselves on mode 0 files, also


(cherry picked from commit e07a781b20272a629f73cf8b2377ee8e3bd6cd99)
2006-01-06 03:03:26 +00:00
Chaskiel M Grundman
7d81ee9430 STABLE14-macos-vnode-get-fixes-20060105
The afs_pioctl.c change should fix a real crash (panic), but fs flushv isn't
that common an operation.
Other changes:
don't GUNLOCK() around vnode_get(). we weren't consistent about it, and it
doesn't appear to be strictly required.
handle vnode_get() failures in more cases
darwin_vn_hold will panic if vnode is terminating rather than mess up the
refcounts.


(cherry picked from commit 8b015a5e325b52969203d0647f67945ab7e402cc)
2006-01-05 05:57:55 +00:00
Chas Williams
d3babf4aa8 STABLE14-solaris-uniqtime32-20051223
FIXES 24445

afs really wants the 32 bit timeval/uniqtime stuff


(cherry picked from commit 5a238125533fc826e3e39250fbc02e59bf352ec4)
2005-12-24 01:09:52 +00:00
Chaskiel M Grundman
cc05eea7a0 STABLE14-darwin-dnlc-cache-purge-20051223
FIXES 22644

cache_purge() to hint to darwin that we changed something instead of letting it cache invalid data


(cherry picked from commit 518bebb032c410a520a8923a16263e605370d60c)
2005-12-24 00:29:11 +00:00
Chaskiel M Grundman
48d58aa4a6 STABLE14-tiger-fixes-20051215
potential reclaim in progress fix, and per Chaskiel,
"I don't remember why I put it there, but the fact that
it gets triggered means that we're leaking a vcache object lock. It looks
like the "rename to .__afsXXXX" codepath is responsible (as afsrename does
not use the fact that adp (or aodp) is locked by afs_remove, and locks it
again. I'm surprised it's not deadlocking)" so i coded up a fix

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

chaskiel says
The RHS shouldn't be a double negative...
       There's no bug (other than the assert itself)


(cherry picked from commit 97ebc776712b455b1e85df598b61ba6c847ca0a6)
2005-12-24 00:21:45 +00:00
Björn Torkelsson
701b5e043e STABLE14-linux-writepage-rename-20051218
The ocfs2 patch renames WRITEPAGE_ACTIVE to AOP_WRITEPAGE_ACTIVE, and
Ubuntu has applied that patch to their version of the kernel.  Allow for
either.


(cherry picked from commit 37147a406e5a44d762c976773d7f3bd01154460a)
2005-12-19 03:29:58 +00:00
Chas Williams
a28a2ba052 STABLE14-linux-dentry-multiple-mounts-20051215
avoid triggering BUG() when a volume is multiply mounted


(cherry picked from commit 1fe17bc36513fffe745df2445754a19d3c0f9863)
2005-12-16 03:37:23 +00:00
Derrick Brashear
cfe30b16fa STABLE14-macos-103-20051201
last fixes i swear


(cherry picked from commit 49f0f7bb0ee04b6f80a4f84dbfd00dbf8f274ac2)
2005-12-01 07:37:21 +00:00
Derrick Brashear
9c5b505ed9 STABLE14-macos103-20051201
one more fix


(cherry picked from commit 3cccddb31f04deefbc20a52f95aabfa9e12853e5)
2005-12-01 05:43:14 +00:00
Derrick Brashear
ae198065fc STABLE14-volume-callback-fix-20051201
fix rainer toebbicke's callbacks vanishing issue. this was probably my fault merging


(cherry picked from commit 05db09ada10f83666a8d46e734d26656e99397f2)
2005-12-01 05:10:55 +00:00
Derrick Brashear
4618c84535 STABLE14-macos103-update-20051129
make the kernel module work too


(cherry picked from commit d94337feafeabe053d8fa4c6296ef776e4fd2597)
2005-11-29 06:54:46 +00:00
Derrick Brashear
7009f356ca STABLE14-macos-103-update-20051128
roll up fixes for 10.3


(cherry picked from commit efeedc4ac12632c619d1d4d719beac22478e14cc)
2005-11-29 05:02:24 +00:00
Chas Williams
9ec9079040 STABLE14-solaris-sparc32-largefile-20051128
FIXES 23296


readd largefile support for solaris sparc32


(cherry picked from commit 003667acda60ed5ec9397a4a1c02a37d51dc74e4)
2005-11-29 04:13:29 +00:00
Chas Williams
6fb5796889 STABLE14-linux-afs-put-inode-dont-race-20051128
FIXES 23318

hold lock across refcount check. oops


(cherry picked from commit bb7b7cef7916787f55f51a6dc070e1fa4ca08021)
2005-11-29 03:20:28 +00:00
Chaskiel M Grundman
b2ab9e472c STABLE14-deadvnode-locking-update-20051118
FIXES 22870

change how we do vnode locking to avoid locking on ourselves


(cherry picked from commit 73e126c4c4f44f20e67d8ced8a89558746e87a90)
2005-11-19 04:35:39 +00:00
Chaskiel M Grundman
1b55df7d51 STABLE14-macos-allow-cached-stat-access-20051118
FIXES 23257

allow cached stat info to be accessed for directories where a user has only "l"


(cherry picked from commit 54ad6e769e1362ad5a81c0ef91c49babad9a37f1)
2005-11-19 03:59:08 +00:00
Derrick Brashear
820bcc4fc4 STABLE14-hpux-store-fd-sooner-in-iopen-20051107
do this a little differently, it may change out from under us


(cherry picked from commit dc28ad2b6526faf697346e3ef8bc34e02c199758)
2005-11-07 23:43:32 +00:00
Jeffrey Hutzelman
0fe67fa05c STABLE14-linux-ia32-offsets-include-change-20051101
include these correctly


(cherry picked from commit c558c12d2b93d6ff664542ea4a667f97c4368588)
2005-11-02 00:28:17 +00:00
Jeffrey Altman
e2a22edd2a STABLE14-vnop-attrs-fix-20051023
FIXES 22568

fix code broken in mac merge


(cherry picked from commit e6e293bb899cb027648908d23848ce13901a7503)
2005-10-23 07:31:23 +00:00
Chas Williams
d7886b0ba2 STABLE14-linux-write-dirty-pages-once-20051015
FIXES 20561

this time for sure, only write back once


(cherry picked from commit 7d0647d5ee9ae0d9b003f0e0c765522aa1433d23)
2005-10-15 16:52:13 +00:00
Niklas Edmundsson
910db4047e STABLE14-aix-warning-cleanup-20051015
FIXES 21066

clean up aix warnings. hint that large file support works


(cherry picked from commit 7c8cf708a06d810bba065e2a49d6ed80e754e1a9)
2005-10-15 15:24:24 +00:00
Peter Somogyi
f02539a879 STABLE14-newvcache-can-fail-now-20051014
FIXES 22260

allow newvcache to fail without ooping

sort of nasty, if you want more vcaches, say so.


(cherry picked from commit ee1435d516a31e8ec2d07ec9021bf032ac12f9cd)
2005-10-15 03:33:09 +00:00
Derrick Brashear
e544e34a91 STABLE14-hpux11-no-kthread-iface-20051014
11.0 lacks this header.


(cherry picked from commit 410514dc6da0f9ff810668b5c75174e1ed6e4912)
2005-10-15 03:05:03 +00:00
Chas Williams
1caa2b8e47 STABLE14-solaris10-fs-find-afs-vnode-20051014
find the real vnode so cheating on solaris 10 will work


(cherry picked from commit 012f413e4e35fce33a3039df7611c3ea3b66aeca)
2005-10-15 02:43:30 +00:00
Derrick Brashear
fa50077afc STABLE14-macos-cleanup-20051006
minor cleanup to get things working from the merge
2005-10-13 21:50:10 +00:00
Chas Williams
483184b737 STABLE14-vc-hashing-be-less-expensive-20050728
pullup the rest of this
2005-10-13 19:53:39 +00:00
Niklas Edmundsson
ad05a43d96 STABLE14-cache-autotune-20050817
This patch tries to implement the afsd default tuning parameters
discussed in the thread starting at
https://www.openafs.org/pipermail/openafs-devel/2005-May/012158.html

I took the liberty of adding chunksize-tuning to the memcache too,
with the motivation that people using large memcaches usually wants
better bulk performance too.

It seems to work for me using both disk cache and memcache of various
sizes.


(cherry picked from commit 9d396c4916fdac64fcface30e6637ca6e2911203)
2005-10-13 19:46:04 +00:00
Chas Williams
7ea209ba27 STABLE14-large-cache-fix-20050815
roll up change for 1.4.1


(cherry picked from commit bbe78805681ec8303ab198288693586e8bfdb7f3)
2005-10-13 19:42:27 +00:00
Loïc Tortay
9de661a261 STABLE14-solaris10-nfs-really-20051013
FIXES 22318

fix array size so this all works


(cherry picked from commit f49876b8cb2acb94accda10d190c6cfe41a16b81)
2005-10-13 19:31:28 +00:00
Chas Williams
fdf87f2b6d STABLE14-vc-hashing-be-less-expensive-20050728
use an afs_q so this is less expensive to deal with
2005-10-13 19:08:39 +00:00
Jim Rees
563f1ed734 STABLE14-openbsd38-20050812
With thanks to "Todd T. Fries" <todd@fries.net>
OpenBSD 3.8.
Introduce HAVE_STRCASESTR.


(cherry picked from commit c8db31cc2bf9b59d8b8cf7e5310079ff6c9e4a96)
2005-10-13 18:55:32 +00:00
Chas Williams
25fab01622 STABLE14-solars-sparc32-largefile-20051011
readd largefile support for solaris sparc32


(cherry picked from commit b5f47e6d1574a6b267ece2d35f9d8d5a08414d7b)
2005-10-13 16:16:58 +00:00
Chas Williams
730909c1b7 STABLE14-solaris10-ugly-avoid-ENODEV-hack-20051011
fix this a better way,  rolling bsack earlier change


(cherry picked from commit 981b6352250d3bd279cf9bacda4045ca673efa60)
2005-10-12 07:10:53 +00:00
Derrick Brashear
5d4ceca03a STABLE14-solaris10-nfs-trans-update-20051007
partial nfs translatlor update for solaris 10


(cherry picked from commit 4a2c3ed5ed878350199350598614bb5f82cf965b)
2005-10-07 20:31:51 +00:00
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