Commit Graph

1039 Commits

Author SHA1 Message Date
Derrick Brashear
d8faa623f7 darwin-fsref-other-races-20071017
FIXES 41550

not clear this is exactly correct but testing seems to vet it.
2007-10-17 21:32:38 +00:00
Chaskiel M Grundman
49630f2957 darwin-finalizevnode-get-vnode-inside-lock-20071017
FIXES 41550

the ovp initialization should happen while we have the vnode locked, regardless.
2007-10-17 18:16:19 +00:00
Derrick Brashear
eac13cbb48 afs-shutdown-free-resources-20071017
try hard to free resources
2007-10-17 15:32:50 +00:00
Derrick Brashear
30193a043e darwin90-disk-cache-20071016
FIXES 43303

don't break memcache, also
2007-10-17 04:46:19 +00:00
Douglas Engert
62689b0134 translator-sysnamelist-bugfix-20071016
FIXES 74478

fix sysname list support bug when the list is empty
2007-10-16 22:55:38 +00:00
Derrick Brashear
38719a218c darwin-access-avoid-confusing-cp-20071015
FIXES 69363

it wants EPERM; EACCES, and it just retries forever.

"no means no. now go away"
2007-10-15 20:19:03 +00:00
Derrick Brashear
d66f71cc08 darwin-install-fstrace-catalog-20071015
fstrace needs the message catalog to be useful. install it.
2007-10-15 18:23:54 +00:00
Derrick Brashear
63e1761b99 darwin90-disk-cache-20071010
FIXES 43303

support disk cache in darwin90
2007-10-10 18:38:45 +00:00
Derrick Brashear
e4adbbc79b sol10-abstraction-20071005
abstract things as needed
2007-10-05 23:16:36 +00:00
Marc Dionne
127cebfacd linux-2623-support-20071004
FIXES 70773

update for support for 2.6.23
2007-10-05 04:07:27 +00:00
Dale Ghent
4ac01ec1ed solaris10-network-updates-20071004
FIXES 72759

This patch removes use of the non-Public ILL structures by OpenAFS to
gather network interface information in order to make RX packet size
and server locality decisions.
2007-10-05 03:22:11 +00:00
Derrick Brashear
314b3abaff linux-nfs-pag-handling-20070822
don't mishandle pag argument when passed in from e.g. knfs

don't make keyring pag for nfs clients
2007-08-22 20:37:10 +00:00
Derrick Brashear
c31cfea03d linux-module-error-handling-20070821
be more careful about what we call when, and clean up after ourselves
2007-08-22 03:16:26 +00:00
Derrick Brashear
34bbb13160 nfstrans-updates-20070821
FIXES 1480

fix the knfs error from the v/c/o pioctl changes
2007-08-22 03:12:13 +00:00
Derrick Brashear
2a9ef007a3 linux-modparam-269-updates-20070821
be consistent on 2.6.9 about which MODULE parm family used
2007-08-21 22:27:02 +00:00
Derrick Brashear
d0a92c7bde find-dcache-just-hold-the-lock-slightly-longer-20070820
we go out of our way to hold xdcache to protect indexTimes elsewhere... there's
no reason to drop it here just before this...
2007-08-20 18:50:16 +00:00
Derrick Brashear
25ace7c2c7 aix-dont-use-root-vfs-for-anything-20070815
the cache may not be in /; we basically never need rootvfs
2007-08-16 04:51:06 +00:00
Derrick Brashear
a608cd2e24 darwin-avoid-fsref-panic-maybe-20070728
maybe this works.
2007-07-28 15:31:44 +00:00
Derrick Brashear
ed13fac911 md5inum-md5-clobbers-input-20070726 2007-07-26 18:04:21 +00:00
Jeffrey Hutzelman
65c1b37f15 osi-probe-check-readable-20070717
FIXES 63971

avoid potentially reading pges that don't exist
2007-07-17 13:15:19 +00:00
Derrick Brashear
7aa5f7ad8b suser-aix-macro-20070712
can't use ifdefs inside the macro...
2007-07-12 19:10:05 +00:00
Derrick Brashear
28208c9a24 linux-register-fs-deal-with-error-20070709
deal with other people who think they are afs.
2007-07-09 20:58:57 +00:00
Kevin Hildebrand
d987546902 amd64-linux-24-syscall-probe-symbol-change-20070623
FIXES 63763

probe for something else for 2.4 and older

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

i'll spare you
2007-06-27 22:18:59 +00:00
Derrick Brashear
6e2737190a forceallnewconns-prototype-20070627
missed this earlier. linux wants it.
2007-06-27 17:29:35 +00:00
Tom Keiser
5e5bfa6b94 aix53-avoid-wait-crash-20070625
avoid crashing because of unpinned mmemory when doing event handling
2007-06-25 21:22:49 +00:00
Chas Williams
99a61e9762 memcache-alloc-failures-20070623
FIXES 55339

deal with alloc failures in memcache
2007-06-23 16:28:11 +00:00
Derrick Brashear
ec223f850b newuuid-fix-20070622
yeah, i should commit from places with better network if i'm going to need to edit in place, so i can see what i'm typing
2007-06-23 07:21:00 +00:00
Derrick Brashear
5672867638 macos-realtime-ip-updates-20070618
notice and deal with IP address changes
2007-06-18 19:48:33 +00:00
Derrick Brashear
39b027504b avoid-empty-uuid-20070618
avoid issue where uuid can potentially be 0: set one always at AFSOP_GO step
2007-06-18 19:03:00 +00:00
Derrick Brashear
125e4511a9 darwin-afs-syscall-eliminate-needless-vfs-context-hold-20070618
avoid potential deadlock if e.g. SetTokens is called before the kernel module initialization completes
2007-06-18 18:05:05 +00:00
Derrick Brashear
b1bbe33fde newuuid-20070612
add the newuuid command
2007-06-12 19:59:02 +00:00
Marc Dionne
6eabfbd4b9 linux-vfs-flush-3arg-20070612
FIXES 62203

3rd arg for passing lock owner id. add configure gunk also
2007-06-12 19:32:19 +00:00
Simon Wilkinson
a6294ee79a linux-sysctl-update-20070612
FIXES 61906

2.6.21.1 introduces an additional .parent pointer in the middle of
the structure. As the OpenAFS code just initialises the structure
with a list, this causes it to assign the value intended
for .proc_handler to .parent
2007-06-23 07:32:56 +00:00
Marc Dionne
37a0b14e01 linux-2-6-22-updates-20070611
FIXES 61767

1 - task_struct loses thread_info, which is now accessible through the
task_thread_info() macro. A configure test is added to deal with this.

2 - the SLAB_CTOR_VERIFY flag is gone
2007-06-12 06:41:06 +00:00
Derrick Brashear
18484f0fc6 linux-kmem-destroy-fix-20070609
don't destroy if create failed
2007-06-10 06:39:15 +00:00
Derrick Brashear
ad98eacdad linux-posix-lock-file-has-wait-arg-now-20070517
FIXES 58590

hopefully this works, i can't actually try it now
2007-05-17 19:28:10 +00:00
Derrick Brashear
59eb3de5ea linux-posix-lock-file-has-wait-arg-now-20070517
FIXES 58590

hopefully this works, i can't actually try it now
2007-05-17 07:34:15 +00:00
Chaskiel M Grundman
1b1c0eda5a getdcache-no-slowpass-enforcement-on-dynroot-20070514
don't enforce slowpass restriction on dynroot vcaches (and don't do unneeded work)

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

oops, another change slipped in
2007-05-14 22:36:22 +00:00
Christopher Allen Wing
2d18bd1777 linux-symlink-handling-avoid-crash-20070418
Background: OpenAFS is vulnerable to crashing in the linux kernel symlink
code when running on kernel versions between 2.6.10 to 2.6.12.  This also
includes all RHEL4 kernels, because RHEL4 includes the code from 2.6.10. The
problem is that the symlink text caching API, page_follow_link() et al, is
unsuitable for network filesystems where the page cache may be invalidated
in parallel with a path lookup.

This crash can be triggered easily by doing a bunch of path lookups
involving symlinks (e.g., stat() on various files pointed to through links),
while simultaneously running 'fs flushvol' on the volume containing the
symlinks.

The simplest way to fix this problem is to disable the use of symlink text
caching when the kernel does not provide a usable symlink API.
2007-04-18 19:18:35 +00:00
Chaskiel M Grundman
9943fe1fd7 vmalloc-no-glock-20070418
Based on Chris Wing's analysis which stated in part:
GFP_NOFS tells the allocator not to recurse back into the filesystem if it's
necessary to free up memory.  However, vmalloc() does not have such an
option.  Therefore, calling osi_Alloc() to request more than a page of
memory may end up recursing back into AFS to try to free unused inodes or
dentries.

In this case, what happened was that osi_Alloc() is called within an
AFS_GLOCK(); osi_Alloc() calls vmalloc() which tries to free dentry objects,
which then calls back into the AFS module.  Unfortunately, AFS_GLOCK() is
already held and we deadlock.
2007-04-18 19:01:31 +00:00
Peter Breitenlohner
9c592530b1 move-tasklist-lock-extern-outside-func-20070403
FIXES 53441

make tasklist-lock extern with pragma weak possibly work right
2007-04-03 19:52:44 +00:00
Neale Ferguson
74e22e2190 s390x-syscall-patch-fix-20070326
make s390x syscall table patching work correctly
2007-03-27 04:21:09 +00:00
Chas Williams
c2fb9440f3 darwin-remunlink-20070320
FIXES 55280

make reumlink work the way it's supposed to
2007-03-20 19:29:41 +00:00
Douglas Engert
ff81d7e77a nfs-gc-fix-20070320
FIXES 56459

avoid issue with nfs gc handler and mismatched types
2007-03-20 19:20:24 +00:00
Chaskiel M Grundman
29951ff73c linux-task-pointer-safety-20070320
hold applicable locks while futzing with task list
2007-03-20 18:45:58 +00:00
Chaskiel M Grundman
97d8703809 keyring-pag-finduser-requires-glock-20070320
identical to the fix from chas@cmf.nrl.navy.mil
2007-03-20 18:41:02 +00:00
Derrick Brashear
c4183dbc1f no-default-setuid-20070319
FIXES 54713

disable default setuid for localcell
2007-03-20 01:13:06 +00:00
Derrick Brashear
226c1ee8f9 java-lock-fix-200702310
make it portable. ugh.
2007-03-10 07:11:09 +00:00
Chaskiel M Grundman
9d5de311a6 forcenewconns-even-with-one-interface-20070226
otherwise we don't discard vlserver connections when a server is "down"
2007-02-26 22:13:33 +00:00
Derrick Brashear
844f045692 md5-inum-round-down-20070223
make our computed md5-style inode numbers be actually 32 bit
2007-02-23 00:42:46 +00:00