2970 Commits

Author SHA1 Message Date
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
Chaskiel M Grundman
36b5ae8ba5 STABLE14-darwin-lost-wakeups-20051223
FIXES 24492

rewrite for tiger to avoid losing wakeups


(cherry picked from commit 856f5288e761e9dfaf720eb38a9bd4e7a053cb0d)
2005-12-24 00:10:02 +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
Jeffrey Altman
3765a95183 STABLE14-windows-no-fds-20051217
when collecting rx statistics in response to an RPC query, the rx library
attempts to enumerate the number file descriptors in use.  This is fine
except that file descriptors are a C Run Time Library concept on Windows
and are not related to networking.  In Visual Studio 8, the run time library
will assert() if an invalid file descriptor is passed to fstat() which is
the test used to determine if a file descriptor is valid.

This patch simply returns 0 for the number of file descriptors in use
because that is what would have been returned anyway with the existing
code.  What we probably want to return is the number of open socket
handles.


(cherry picked from commit 8c3cf4b89445d969c9f85e929d5e030f53773f81)
2005-12-17 17:28:31 +00:00
Jeffrey Altman
bc0c902792 STABLE14-viced-multiple-ports-per-client-20051208
this patch replaces the single address in the Interface structure
with an AddrPort structure.  This enables the servers to send
messages to the correct port if the port on the Interface does not
match the port stored in the client itself.


(cherry picked from commit 71f9628a437e0ac7b9b9754d71c06ca5c3408061)
2005-12-16 13:29:38 +00:00
Jeffrey Hutzelman
a1c8cad6ef STABLE14-vos-restore-parent-id-patch-20051215
avoid making broken readonlies when when you restore them


(cherry picked from commit e5c8042e72a077bfcb05232c918995e9e965b7c2)
2005-12-16 04:26:40 +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
Tom Keiser
348aaa7128 STABLE14-freedatabufs-mark-free-20051215
avoid an error with marking data packets free


(cherry picked from commit 914ac9204801982e1b1b9e827a92cd519ef18bfd)
2005-12-16 03:33:08 +00:00
Tom Keiser
e1af3105de STABLE14-multibreak-rework-avoiding-race-20051215
avoid a potential race finding the correct connection during
MultiBreakCallBack_r


(cherry picked from commit b34223345b07b16008e3b4253c2572bea25fca55)
2005-12-16 03:29:18 +00:00
Rainer Toebbicke
4ac384dde6 STABLE14-rx-osi_alloc-prototype-20051215
FIXES 24267

must provide prototype for osi_Alloc() on systems with 64-bit pointers
and 32-bit int


(cherry picked from commit d00359b24139753b8f6a62c6a9137c8f8ccd3b7e)
2005-12-15 15:16:45 +00:00
Rainer Toebbicke
98feefa7ab STABLE14-rx-osi_alloc-prototype-20051214
FIXES 24267

include rx.h in order to safely include rx_prototypes.h in order
to obtain a prototype for osi_Alloc() in order to prevent pointer
truncation on systems with 64-bit pointers and 32-bit int.


(cherry picked from commit f75b0075a79807eaae4e071ea4d0f3bd60d7f547)
2005-12-15 05:57:12 +00:00
Jeffrey Altman
f9c98f804e STABLE14-windows-rpc-warning-20051214
If osi_InitDebug() fails due to RPC_S_NO_PROTSEQS, log to the afsd_init.log
file a warning indicating that the registry should be examined for a
misconfiguration of Windows.


(cherry picked from commit 8204b5968c0181e094f8369b94c5a4cf1a9de04a)
2005-12-14 05:33:46 +00:00
Jeffrey Altman
9e7ae6f02d STABLE14-windows-fs-setserverpref-vldb-20051214
prevent a panic condition if "fs setserverprefs -vlserver" is executed
more than once before the vlserver is associated with a cell.


(cherry picked from commit b99bd38da60f374a03382090fdaae906a00c8428)
2005-12-14 05:30:53 +00:00
Tracy Di Marco White
8fe768d5be STABLE14-netbsd-statvfs-20051211
FIXES 22905

NetBSD 2.1 doesn't have statvfs, but the version numbering scheme changed
so the test was getting this wrong.


(cherry picked from commit cd6e2b99298bbb12d09b92b6b86de7f811f4e803)
2005-12-11 19:00:19 +00:00
Jim Rees
31f8e23349 STABLE14-libafssetpag-bsd-20051101
bsd only:
make a real syscall.o (but with no code)
build libafssetpag


(cherry picked from commit eb39935d4b3bdad5ee64afa0b50deea09a18333c)
2005-12-11 06:34:33 +00:00
Chas Williams
35fabe1f37 STABLE14-linux-srcdir-mapfile-20051210
FIXES 23317

Look for the shared library mapfile in ${srcdir} on Linux to allow for out
of srcdir builds.


(cherry picked from commit 77d0369d3bdeab78b02f306644ddb6133e1a1484)
2005-12-10 18:45:39 +00:00
Jeffrey Altman
61f9832c38 STABLE14-windows-afsd-service-20051121
improvements to VNOVNODE fix
2005-12-07 12:02:41 +00:00
Derrick Brashear
c106b5ffe6 STABLE14-linux-26-390x-update-20051201
add linux26 version for symlinks


(cherry picked from commit 78bc041fe6349136bf186e90a727566892584210)
2005-12-01 15:19:38 +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
13592e7fc6 STABLE14-macos-103-packaging-20051201
fix packaging script for 10.3


(cherry picked from commit 72e221c0c164557d4eac98d982370ca925085f96)
2005-12-01 05:19:49 +00:00
Russ Allbery
083d886768 STABLE14-shlibafssetpag-20051015
FIXES 18745

implement {sh,}libafssetpag
2005-12-01 05:16:31 +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
a81e9b0ecc STABLE14-macos10-fstrace-catalog-20051130
package the fstrace catalog correctly for osx


(cherry picked from commit 8887021eee01111f10e57db19885ace53ad46850)
2005-12-01 04:14:33 +00:00
Derrick Brashear
282f0b6204 STABLE14-openafs-1-4-1-rc2-20051130
make 1.4.1-rc2
2005-12-01 04:09:30 +00:00
Mike Garrison
fedfedcdfa STABLE14-files-per-subdir-math-error-20051130
FIXES 23811

use a bitshift instead of xor(!)


(cherry picked from commit 9c3c2428250a8fd78af66fe8d5d6c467e8599b1d)
2005-12-01 04:03:30 +00:00
Tom Keiser
5f00e54cfa STABLE14-freepackets-cbuf-leak-20051130
FIXES 23143

at least i'm guessing it fixes that one
fix memory leak for multilevel packet queue stuff


(cherry picked from commit 421e063d9b6500299b5e02b999b22c01dcc7c496)
2005-12-01 04:00:39 +00:00
Jeffrey Altman
ade038725e STABLE14-windows-release-notes-20051130
A very rough set of updates for 1.4.1 RC2
2005-11-30 07:12:55 +00:00
Jeffrey Altman
92ca46bdb4 STABLE14-windows-version-20051130
version 1.4.0092 for 1.4.1-rc2
2005-11-30 06:41:53 +00:00
Jeffrey Altman
eca5d04d53 STABLE14-windows-afskfw-20051130
correct the construction of the client name (with realm) when krb524
is being used.


(cherry picked from commit eeee5a9e14a693538a62565483db8f1b3d46cc99)
2005-11-30 06:40:53 +00:00
Jeffrey Altman
ef7490695b STABLE14-rx-lock-leak-20051128
Fix a lock leak introduced when adding thread local packet queues.


(cherry picked from commit ae2f1d3f68266a47d04b62fab577ada30990732c)
2005-11-29 07:01:50 +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
Chaskiel M Grundman
f37d169624 STABLE14-h-enumerate-r-safety-20051128
FIXES 23336

needs further testing, configure a low number of callbacks and hit the server.


(cherry picked from commit 390fd697a05fc51ddc5e7789b210736838780da4)
2005-11-29 03:41:48 +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
Jeffrey Altman
bbe760a385 STABLE14-windows-locks-uninit-20051122
Initialize 'code' to non-zero at the top of each loop to avoid
setting the last updated timestamp on skipped locks


(cherry picked from commit 030ecf1af9773c0e058ded784dd096fc886fd6d8)
2005-11-23 05:02:11 +00:00
Jeffrey Altman
bfb0b1a28e STABLE14-windows-drivemap-renewal-20051121
When afscreds.exe performs a drive map renewal it should not delete
all existing drive mappings.  This undoes the efforts of the AFS
logon network provider and any persistent mappings created with the
explorer shell.   This patch extends the interface to provide a mode
in which DoMapShareChange does not remove unknown drive mappings.


(cherry picked from commit 5ce322c9f13522cf96addaf09804021c6d78b22f)
2005-11-22 00:37:48 +00:00
Jeffrey Altman
fe5cd430d3 STABLE14-windows-date-representation-20051121
change date representation to yyyy-MM-dd HH:mm:ss so that it sorts
properly


(cherry picked from commit 81365856ce91121c82969f97c1e79d34d30da648)
2005-11-22 00:32:41 +00:00
Jeffrey Altman
d009e36f84 STABLE14-windows-afsd-service-20051121
add logic to process VNOVNODE in cm_Analyze.  Force re-evaluation of symlink
strings and flush the stat cache entry.

force the use of new rx_connections when the server is marked down.

prevent server objects from being freed if user preferences are set.
2005-11-22 00:30:01 +00:00
Jeffrey Altman
47f4fb26c6 STABLE14-windows-wix-update-20051121
Wix 2.0.2419.0 changes the way that RadioButton values are specified.


(cherry picked from commit d99995ccfe30bff1f45f5f2e37beee7ac3566f3b)
2005-11-21 15:53:12 +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
Jeffrey Altman
9dbe65fcc6 STABLE14-windows-release-locks-at-shutdown-20051108
remember to release all of the locks we obtained from the file server
at shutdown.


(cherry picked from commit 685ba16a0b9db8cf5df2e875ff9a6e5b72d6539c)
2005-11-09 03:05:33 +00:00
Jeffrey Altman
9398a1a9c6 STABLE14-windows-config-20051108
restore missing AFSPRODUCT_VER_MAJOR
2005-11-08 17:46:09 +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
Rainer Toebbicke
49b231e31c STABLE14-cellconfig-make-nkeys-littleendian-20051107
cellconfig-check-for-corrupt-keyfile-20051007 should convert at least nkeys
to host byte order before checking anything - fails on little endians
otherwise.


(cherry picked from commit ce80f99d7f905ae0928983b6a560f9b8b82c34b7)
2005-11-07 19:54:10 +00:00
Derrick Brashear
2668bc9740 STABLE14-hpux11i-64bit-iops-20051102
hpux 11i has 64 bit inodes


(cherry picked from commit 14a985b93f053896c6cd7b2dce1ed07cbff7df73)
2005-11-02 05:31:39 +00:00
Tom Keiser
2560315f69 STABLE14-fpq-bulk-free-math-error-20051101
fix a math error here


(cherry picked from commit e2c497b0368b13e84e6a6404c3761e28d40f2119)
2005-11-02 05:23:54 +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