5067 Commits

Author SHA1 Message Date
Derrick Brashear
9c4fe8a57b DEVEL153X-linux24-hlist-unhashed-configure-test-fix-20080602
LICENSE IPL10

make the hlist_unhashed test actually work


(cherry picked from commit 79b7b4eaded831a33d85f580e9e4155528fbd35f)
2008-06-03 03:54:22 +00:00
Jeffrey Altman
c0df1b8c6e DEVEL153X-udebug-display-lastyeshost-order-20080510
LICENSE MIT

lastYesHost is already in network byte order.  do not reorder it again
when displaying it.


(cherry picked from commit b5dc1903a4bca5bae099beec0b95840df7282250)
2008-05-25 14:50:50 +00:00
Jeffrey Hutzelman
e35d08f435 DEVEL153X-rx-client-keep-keepalives-20080522
LICENSE IPL10
FIXES 20727

not our bug, but, previous code refactoring broke rx. put back keepalives in cli
ent rx connections while they are turned around.


(cherry picked from commit c34822d6105cef7f68423e4ebbf485b2d11b9635)
openafs-devel-1_5_38
2008-05-23 15:56:02 +00:00
Derrick Brashear
505ea9254d DEVEL153x-openafs-1-5-38-20080523
LICENSE IPL10

make 1.5.38
2008-05-23 15:26:14 +00:00
Simon Wilkinson
5ac287e139 DEVEL153X-disconnected-20080523
LICENSE IPL10

add readonly disconnected support


(cherry picked from commit 18a36a3f624755fbcaee776102177f47e26711b7)
2008-05-23 15:25:32 +00:00
Derrick Brashear
2cf8a980c0 DEVEL153X-darwin-rc-common-does-set-minus-u-20080522
LICENSE IPL10

we need to cope with an unset variable


(cherry picked from commit b26f133a56911c4a20e848cf85d40640aa37253a)
2008-05-22 22:04:04 +00:00
Derrick Brashear
dc41cb12f3 DEVEL153X-dafs-volumestats-conflict-20080521
LICENSE IPL10

avoid symbol conflict in volume.h


(cherry picked from commit 8450a1eb1da3e2b77f9ae86b5adee4aaa7136e14)
2008-05-22 04:52:01 +00:00
Derrick Brashear
e65496354c DEVEL153X-vos-sync-flag-voltype-properly-20080521
LICENSE IPL10

when adding a backup volume to a vldb entry, flag it as such.


(cherry picked from commit dcafea769a1cb70c7b1f8763ae4f7b7744b2a436)
2008-05-21 21:16:39 +00:00
Simon Wilkinson
a252a94da6 DEVEL153X-tweak-regen-20080521
LICENSE IPL10

make regen quieter if you don't want man pages


(cherry picked from commit 1705bda53e4ca198cf78d70ff424fc7af69b1879)
2008-05-21 16:41:22 +00:00
Derrick Brashear
7917ae3093 DEVEL153X-macos-tuning-20080521
LICENSE IPL10

be more aggressive to get better performance


(cherry picked from commit 30f65085f7a53ae073e2c4649a462a3a555ebb61)
openafs-devel-1_5_37
2008-05-21 14:50:32 +00:00
Derrick Brashear
39521c7cd9 DEVEL153X-openafs-1-5-37-20080521
LICENSE IPL10

make 1.5.37
2008-05-21 14:39:26 +00:00
Derrick Brashear
6a613191d0 DEVEL153X-pmtu-and-prefetch-20080520
LICENSE IPL10

try hard to optimize using the wire for high latency connections


(cherry picked from commit 1206e7538be86f073b21cd289266286b60a95d0a)
2008-05-21 05:22:43 +00:00
Derrick Brashear
64b1b62b1b DEVEL153X-linux-hlist-unhashed-opencoding-20080520
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)
2008-05-20 22:03:36 +00:00
Matt Benjamin
d4a7c02ad1 DEVEL153X-rx-connection-clones-20080520
LICENSE IPL10
FIXES 89557

add connection clones to allow more than maxcalls per "connection"


(cherry picked from commit f00df529b79d9df64b77dd7b054eb362a92c279e)
2008-05-20 21:24:55 +00:00
Derrick Brashear
8eb6da424c DEVEL153X-aix-unpin-after-free-20080520
LICENSE IPL10
FIXES 99456

in order that cleanup be safe we need to do it this way


(cherry picked from commit 3edb97360b7d971750e54471037584d7a9a74993)
2008-05-20 20:52:29 +00:00
Derrick Brashear
cefdead992 DEVEL153X-server-meltdown-avoidance-20080509
LICENSE IPL10

if the server is melting down or otherwise unable to reply with data, it will
cut itself off.


(cherry picked from commit c26dc0e6aaefedc55ed5c35a5744b5c01ba39ea1)
2008-05-20 20:33:22 +00:00
Derrick Brashear
1c8b9f624d DEVEL15-openafs-1-5-36-20080508
LICENSE IPL10

make 1.5.36
BP-openafs-devel-1_5_3x openafs-devel-1_5_36
2008-05-09 02:06:27 +00:00
Derrick Brashear
fc7e786f16 DEVEL15-rx-retain-windowing-per-peer-20080508
LICENSE IPL10

we learned about the peer in a previous connection... retain the information
and keep using it. widen the available window.

makes rx perform better over high latency wans. needs to be present in both
sides for maximal effect.


(cherry picked from commit 3feee9278bc8d0a22630508f3aca10835bf52866)
2008-05-08 22:25:58 +00:00
Jeffrey Altman
2a8bf34ce7 DEVEL15-viced-avoid-infinite-loop-with-altaddr-unset-20080508
LICENSE IPL10

if we return leaving a non HOSTDELETED host while it does not have ALTADDR set,
a loop can happen. avoid it by simply setting ALTADDR again when we're done,
if we believe some addresses are still good this is fine.


(cherry picked from commit e6c818f070022529c362e42dfed340f54b2fd26e)
2008-05-08 22:18:56 +00:00
Jeffrey Altman
caaf868614 DEVEL15-windows-buf-invalidate-on-vnovnode-20080507
LICENSE MIT

Once we know that an attempt to stablize a buffer has failed due to
VNOVNODE, stop trying to Stablize future buffers and just invalidate
all of them belonging to the same FID.


(cherry picked from commit ef619db804d471fda3bf3f77d55e8cd4e4699b29)
2008-05-08 06:27:14 +00:00
Derrick Brashear
8eb2997dd0 DEVEL15-viced-large-more-threads-20080506
LICENSE IPL10

fileserver -L should imply -p 128, not -p 12


(cherry picked from commit c847fb4964c0ec24c404cf1fb353b08af81b5eac)
2008-05-06 16:03:07 +00:00
Jeffrey Altman
abdcbffef6 DEVEL15-windows-server-retry-20080502
LICENSE MIT

do not retry if there is no server available for the current attempt


(cherry picked from commit 98e658b7821f5020c67c05503f9e2c61c945554a)
2008-05-02 20:28:18 +00:00
Derrick Brashear
6b4dfeeb34 DEVEL15-butc-xbsa-lwp-protoize-damage-20080501
LICENSE IPL10

make xbsa variant work again


(cherry picked from commit abff169b58764380650e6e162707be68d3aa9bf1)
2008-05-02 01:59:38 +00:00
Derrick Brashear
ccc2361a45 DEVEL15-uuid-corrected-duplicate-check-20080501
LICENSE IPL10

apply check to chain, not input


(cherry picked from commit 7915302f28091dd0a6547f0f58fa5ceb581cc21a)
2008-05-01 20:00:10 +00:00
Derrick Brashear
4de3c373c0 DEVEL15-client-idledeadtime-support-20080430
LICENSE IPL10

in the event a server is "melting down" and not responding with data to RPCs
this adds the ability to time out the calls rather than letting keepalives
effectively hang the client forever.  does not mark the server down since...
it's not down.

Side effect: adds similar tracking for authentication errors so tokens need
not be discarded if one server's clock has drifted.


(cherry picked from commit 0a2c144307d2471450c0660e141906a1f7b1ea36)
2008-04-30 20:08:04 +00:00
Derrick Brashear
0984e23365 DEVEL15-ubik-recovery-swap-in-new-fd-20080428
LICENSE IPL10

when recovery is done, forcibly invalidate the old fd


(cherry picked from commit 888bc28b1886e994d430ddc61657e60a910208a6)
2008-04-28 22:48:11 +00:00
Hans-Werner Paulsen
79543fafcc DEVEL15-tbutc-wrong-lp-getrwindex-20080428
LICENSE IPL10
FIXES 96575

The pthread butc crashes with SIGSEGV, when I restore to a volume
which already exists. This does happen with OpenAFS 1.4.7pre4 on
i386_linux26.
Looking into the code I think butc is using the wrong function
Lp_GetRwIndex (at volser/vsprocs.c:4394). It uses the one in the
library lib/libvosadmin.a, but should use the function defined
in volser/lockprocs.c.


(cherry picked from commit 668cd5331e4857a73ba1d849446e0dfcae97eadf)
2008-04-28 17:15:06 +00:00
Jeffrey Altman
ad7ca82422 DEVEL15-udebug-64bit-time_t-vs-printf-20080428
LICENSE MIT

64-bit time_t values cannot be passed to printf() for evaluation
by a %d variable.  To avoid the problem we cast the value to int.


(cherry picked from commit 25d9dbb6be970d54c4711890b2085c153eda15fa)
2008-04-28 16:20:41 +00:00
Jeffrey Altman
0e8a595294 DEVEL15-windows-rx-idle-timeout-20080428
LICENSE MIT

Add "IdleDeadTimeout" registry value and call rx_SetConnIdleDeadTime()
with it when creating new rx connections.   This forces the Rx stack
to return RX_CALL_TIMEOUT if the file server has returned VBUSY for
longer than the IdleDeadTimeout.

When RX_CALL_TIMEOUT is received, the cache manager will now attempt to
find another server for the object that might be less busy.


(cherry picked from commit 2f2d5fd8a7e80802fead9ee944e33c1a0c818abd)
2008-04-28 16:06:14 +00:00
Chaskiel M Grundman
87370df6cf DEVEL15-kdump-install-fixups-20080427
LICENSE IPL10
FIXES 96465

The install rule:
- installs the empty 'kdump-build' file instead of the binary on all
platforms except irix
- overwrites the selection script with the binary on linux and hpux
- doesn't have an alpha_linux branch
- installs the wrapper script as kdump32 and the binary as kdump on
solaris (instead of vice-versa)

The dest rule:
- overwrites the selection script with the binary on alpha_linux and hpux


(cherry picked from commit 7a6751c08800da5d49bf3def9175174499f6337e)
2008-04-28 04:45:15 +00:00
Derrick Brashear
af0652a001 DEVEL15-redhat-cellservdb-update-20080423
LICENSE IPL10

take update from upstream


(cherry picked from commit c8f4d9f0079b7eeacf831061a0c39310aafaa045)
2008-04-27 05:00:22 +00:00
Derrick Brashear
dbc6e42361 DEVEL15-zero-uio-len-when-trimming-20080426
LICENSE IPL10

make it match ufsread case. should change this later.


(cherry picked from commit 2aa615fed2b801a7ed3abf7da5aaa293a4f783bf)
2008-04-27 04:54:14 +00:00
Derrick Brashear
f6f30da9a5 DEVEL15-vos-move-avoid-spurious-unlock-20080424
LICENSE IPL10

lightly modified from what Bren Mills submitted; the second unlock call after mfail may be entirely useless.


(cherry picked from commit b87935a4c5f26357e29f1db46eff8b1cf9185f3b)
2008-04-24 23:45:47 +00:00
Jeffrey Altman
34ea58d1ea DEVEL15-windows-buf-refcount-20080424
LICENSE MIT

Implement DEBUG_REFCOUNT refcount tracking code to debug refcount issues
in the cm_buf module.

Fix a refcount leak caused by buf_IncrSyncer() incorrectly removing cm_buf_t
objects from the dirty list.

Fix the dumping of the dirty list to actually dump the dirty list.


(cherry picked from commit 088eb9158bf553d5b3dcea8f37d3bec439419d44)
2008-04-24 17:22:44 +00:00
Jeffrey Hutzelman
f7d3165415 DEVEL15-windows-cellservdb-20080423
LICENSE IPL

latest greatest CellServDB


(cherry picked from commit 6143f2eb5c85f5c428578b60b3b8892321f7fbe1)
2008-04-24 04:08:31 +00:00
Dan Hyde
e3e6e8e0e7 DEVEL15-vol-setaside-one-fd-per-thread-20080423
LICENSE IPL10
FIXES 87977

kids these days share badly. give each one their own fd otherwise they fight.


(cherry picked from commit 6809ba29fadbd0d84ff6a9bf2ccd909b2f54b186)
2008-04-23 19:57:13 +00:00
Simon Wilkinson
948f59946d DEVEL15-linux-fedora9-packaging-updates-20080422
LICENSE IPL10

make build system able to cope with fedora 9


(cherry picked from commit d18f5104f57152dfb6d1125a2d3a8bf17a266f44)
2008-04-22 13:50:38 +00:00
Derrick Brashear
e73cf80d0c DEVEL15-openafs-1-5-35-20080421
LICENSE IPL10

make 1.5.35
openafs-devel-1_5_35
2008-04-21 20:48:41 +00:00
Derrick Brashear
807f90e5ae DEVEL15-libadmin-vos-irix-fixes-20080421
LICENSE IPL10

irix is cranky about missing prototypes


(cherry picked from commit 8bf142ae2a979447b259b0945187379812883bee)
2008-04-21 20:40:01 +00:00
Derrick Brashear
6bcddf862e DEVEL15-ppc64-linux-26-thread-info-20080418
LICENSE IPL10

thread_info is dead


(cherry picked from commit 2a0f8bfda8b00de429cb15481e3e20d5d140a81c)
2008-04-21 19:59:34 +00:00
Derrick Brashear
bfc5c05eec DEVEL15-dafs-irix-prec99-20080421
LICENSE IPL10

unless/until we build c99, irix needs this


(cherry picked from commit 92b5087b42653d5358433c06d60f3adc67a11015)
2008-04-21 19:55:48 +00:00
Jeffrey Altman
ae0cd3cf55 DEVEL15-windows-readme-20080421
LICENSE MIT

update the build instructions
2008-04-21 17:03:50 +00:00
Jeffrey Altman
5ebbd9d58b DEVEL15-windows-notes-20080421
LICENSE MIT

1.5.35
2008-04-21 16:51:28 +00:00
Jeffrey Altman
05e4363d02 DEVEL15-windows-release-notes-20080421
LICENSE MIT

no changes.  just version number increase to 1.5.35
2008-04-21 16:44:06 +00:00
Jeffrey Altman
4ddf9f1a96 DEVEL15-windows-cache-version-20080421
LICENSE MIT

increase the cache version because the cm_volume_t data structure was modified.


(cherry picked from commit a6ef7fed731628a5e5b8af62f7e986d6f7ccf444)
2008-04-21 16:36:49 +00:00
Jeffrey Altman
10898bf79c DEVEL15-windows-version-20080421
LICENSE MIT

1.5.3500.0 == 1.5.35
2008-04-21 16:27:55 +00:00
Simon Wilkinson
d494b7def2 DEVEL15-linux-fc9-20080419
LICENSE IPL10

add in needed changes for fc9 kernels


(cherry picked from commit 0caa578a05150451c706c2ec6c3d095c671a7043)
2008-04-19 22:55:44 +00:00
Derrick Brashear
169d94b968 DEVEL15-klog-deal-with-aix-stupidity-20080418
LICENSE IPL10

aix krb5 is broken. deal.


(cherry picked from commit 194067be89293d2f3ee4e791515c3ac020d3a551)
2008-04-18 21:49:58 +00:00
Jeffrey Altman
a03cad17d8 DEVEL15-windows-volume-status-20080418
LICENSE MIT

A problem was discovered with cm_Analyze when serverRef instances are
marked offline.  cm_CheckOfflineVolume() was not resetting the serverRef
state.  cm_Analyze was also waiting in sleep calls when it was it is
clear that waiting would not result in a change of state.

cm_CheckOfflineVolume() was updated to always reset the serverRef state
and indicate that the volume should be considered online for the purpose
of retrying when the serverRef state is reset to srv_not_busy.

The problems identified in the MIT dev.mit.edu stress test environment
are resolved by these changes.


(cherry picked from commit c3eb805fc0309efca059a26b946eb4350417867e)
2008-04-18 17:46:07 +00:00
Derrick Brashear
6a64ca8122 DEVEL15-lwp-fix-protoize-20080418
LICENSE IPL10

make this cast correct.


(cherry picked from commit 8ea0eef2d6807d2ad51d29853335f115439e616c)
2008-04-18 14:57:13 +00:00