5547 Commits

Author SHA1 Message Date
Jeffrey Altman
df93cf79d0 DEVEL15-windows-version-20081007
LICENSE MIT

1.5.5400.0 == 1.5.54
2008-10-07 22:56:55 +00:00
Jeffrey Altman
a6a26a8645 DEVEL15-windows-notes-20081007
LICENSE MIT

1.5.54
2008-10-07 22:54:18 +00:00
Derrick Brashear
8fd0c47f0e DEVEL15-openafs-1-5-54-20081007
LICENSE IPL10

make 1.5.54
2008-10-07 22:31:47 +00:00
Derrick Brashear
28269a02d2 DEVEL15-darwin-fake-more-disk-free-20081007
LICENSE IPL10

placate finder. this time for sure


(cherry picked from commit 967cbd2628c02060870c2381bd6fca3480f5711a)
2008-10-07 22:30:33 +00:00
Derrick Brashear
23c0ac8ec9 DEVEL15-linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007
LICENSE IPL10
FIXES 113558

avoid case where revalidate saw a mountpoint which hadn't been rewritten yet
and failed to handle it, exposing ENOENT where the entry existed.


(cherry picked from commit b3bf4b89e345b991984a416d97e3f9aeacc0e159)
2008-10-07 20:00:42 +00:00
Derrick Brashear
fd2641ccf1 DEVEL15-find-new-xbsa-first-20081007
LICENSE IPL10
FIXES 119162

change test order


(cherry picked from commit af0b03055e8a3244881d8ac3e7c52ed775ae86d1)
2008-10-07 19:51:34 +00:00
Derrick Brashear
b3aa9986d8 DEVEL15-ubik-notruncate-dont-pollute-fd-cache-20081007
LICENSE IPL10

issue suggested by Chaskiel Grundman; while it should not have been an issue
we now behave usefully in the notruncate recovery code.


(cherry picked from commit fe0186dccd4e4d16c0610f211d454a90b0841a83)
2008-10-07 18:44:13 +00:00
Derrick Brashear
9454601664 DEVEL15-vldb-check-fix-more-kinds-of-corruption-20081007
LICENSE IPL10

work harder to ferret out corruption; still reruns itself so if 2 hash chains
are comingled they get split back out correctly without having to flush state
continuously


(cherry picked from commit 1e3674cafe3c3feea0840c531cc0461d358f87c6)
2008-10-07 16:38:29 +00:00
Derrick Brashear
21a1bebfeb DEVEL15-linux-fakestat-revalidate-to-validity-20081006
LICENSE IPL10

we had something which fakestat was faking, but the inode had no ops, so
we ended up ENOTDIRing. oops.


(cherry picked from commit 2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1)
2008-10-07 04:41:02 +00:00
Jeffrey Altman
0be25bed37 DEVEL15-rx-varargs-20081003
LICENSE MIT

call va_start on Windows


(cherry picked from commit 061634bfc96e70e3c02ce93319f1f269e5c16a44)
2008-10-04 06:05:20 +00:00
Hans-Werner Paulsen
f2034c7e52 DEVEL15-kdump-rx-stats-20081003
LICENSE IPL10
FIXES 118700

add change to kdump also


(cherry picked from commit 5158e8c7aff8f0385edbebb688b6c79b19c604c3)
2008-10-03 21:39:56 +00:00
Jeffrey Altman
853b65ec15 DEVEL15-rx-windows-dpf-20081003
LICENSE MIT

dpf on windows is conditional on rxdebug_active, not rx_debugFile


(cherry picked from commit b8caeee989fcc096a1846c87b088263d3db130d9)
2008-10-03 15:57:19 +00:00
Jeffrey Altman
ec14218f72 DEVEL15-rx-vaargs-20081003
LICENSE MIT

define va_list ap where it will be defined on all platforms


(cherry picked from commit 82fc110302a7f1b7e7971285777658bdce3735ac)
2008-10-03 15:56:10 +00:00
Simon Wilkinson
7ccdc35252 DEVEL15-rx-varargs-20080924
LICENSE IPL10

make rx use varargs instead of a large fixed set of parms


(cherry picked from commit 8aa9d07e35c132ba5bbc1704fc9c0ba289b277fd)
2008-10-03 15:55:12 +00:00
Jeffrey Altman
392a606bc5 DEVEL15-windows-smb_dir_watch_lock-20081003
LICENSE MIT

re-order the lock hierarchyfor smb_Dir_Watch_Lock so that the
lock does not have to be dropped when sending notifications
within smb_NotifyChange().


(cherry picked from commit 38800039a7039c3fa832718799667557a5e24f66)
2008-10-02 13:14:02 +00:00
Jeffrey Altman
b8f0b2279f DEVEL15-rx-current-packet-double-free-20081003
LICENSE MIT

in rxi_WriteProc() make sure that rx_call currentPacket is
set to NULL after the rx_packet is added to a queue or
passed to rx_freePacket().  Otherwise we will panic when
we attempt to call rx_freePacket twice on the same packet.


(cherry picked from commit 1e7203940456e783aad215e939c04ed01dd45599)
2008-10-02 12:53:18 +00:00
Simon Wilkinson
713ef30274 DEVEL15-linux-nfstrans-libafs-tree-20080926
LICENSE IPL10

add missing files needed for nfs variants


(cherry picked from commit 6acd68f0e88ffa40891be4b908b70af784b397a2)
2008-09-26 11:17:17 +00:00
Jeffrey Altman
20f45ce835 DEVEL15-windows-version-20080925
LICENSE MIT

1.5.53 == 1.5.5300.0
2008-09-25 21:39:31 +00:00
Jeffrey Altman
059fe081b5 DEVEL15-windows-notes-20080925
LICENSE MIT

1.5.53
2008-09-25 20:24:24 +00:00
Jeffrey Altman
4ccb974a3c DEVEL15-windows-release-notes-20080925
LICENSE MIT

1.5.53
2008-09-25 20:19:04 +00:00
Simon Wilkinson
a019871782 DEVEL15-disconn-prototypes-20080926
LICENSE IPL10

add a prototype we need for disconnected


(cherry picked from commit 3853c326155d58613bb1711a10123ac88acce002)
openafs-devel-1_5_53
2008-09-26 09:24:00 +00:00
Derrick Brashear
9d4ed9c8c6 DEVEL15-openafs-1-5-53-20080925
LICENSE IPL10

make 1.5.53
2008-09-25 22:42:01 +00:00
Simon Wilkinson
848902bad1 DEVEL15-pthread-ubik-volser-stupidity-20080925
LICENSE IPL10

make volserver build again for not pthreaded ubik


(cherry picked from commit 3f11790f6ab999be828fb0868b64ea00b98a5ea4)
2008-09-25 22:40:44 +00:00
Simon Wilkinson
5c97c4724d DEVEL15-rx-dpf-clarify-20080924
LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues


(cherry picked from commit 3a5e912230fd09c72c1a27d7f7d4e4ac78f9323b)
2008-09-25 21:19:57 +00:00
Jeffrey Altman
18bc1f8c2e DEVEL15-rx-clear-queues-correctly-20080925
LICENSE IPL10

don't potentially leak packets by leaving them behind and initing queues;
in fact, if you are cleaning up there is no need to init queues anyway.


(cherry picked from commit 8b50c9d9e3d181f749d0982f57410a5b4906627c)
2008-09-25 21:17:54 +00:00
Jeffrey Altman
918b68629d DEVEL15-rx-packet-allocation-debug-20080925
LICENSE IPL10

add field to track allocated packets


(cherry picked from commit b84da5849261867b201646e957c014e933a2c17f)
2008-09-25 20:55:16 +00:00
Jeffrey Altman
38b9b1be68 DEVEL15-rx-change-packet-allocation-calculation-20080925
LICENSE IPL10

don't alloc ourselves to death; try harder to manage growth


(cherry picked from commit 230dcebcd61064cc9aab6d20d34ff866a5c575ea)
2008-09-25 20:36:34 +00:00
Jeffrey Altman
ea3a99038b DEVEL15-rx-flag-all-packets-20080925
LICENSE IPL10

flag packets for all queues, and when they are currentPacket somewhere


(cherry picked from commit 559ea99b1e6e6e82ec6a77541ef9844ccc764de8)
2008-09-25 19:59:45 +00:00
Jeffrey Altman
6ff5821db4 DEVEL15-rx-global-lock-macro-correction-20080925
LICENSE IPL10

refer to the same macro everyone else does


(cherry picked from commit 939e070c869b46abc707bbd916d4dfbe1e66a55e)
2008-09-25 18:26:35 +00:00
Jeffrey Altman
dfcb05e00b DEVEL15-rx-clear-queues-correctly-20080925
LICENSE IPL10

don't potentially leak packets by leaving them behind and initing queues;
in fact, if you are cleaning up there is no need to init queues anyway.


(cherry picked from commit a72eea6bb1758678d25528cd1ab9b439ade2f844)
2008-09-25 18:21:33 +00:00
Jeffrey Altman
572f3b29f7 DEVEL15-rename-rx-stats-20080925
LICENSE IPL10

avoid using the same name for the struct and the global so the windows debugger
works usefully


(cherry picked from commit 7a4041f9404ff27f3e446d7b523086e0938dc6b9)
2008-09-25 18:15:56 +00:00
Jeffrey Altman
37ef5fd585 DEVEL15-rx-readproc32-avoid-losing-currentpacket-20080925
LICENSE IPL10

when currentPacket is empty, avoid leaking it and instead free and NULL it


(cherry picked from commit 883683fc317c5196f2eea1c1baed3b510771f001)
2008-09-25 18:06:36 +00:00
Derrick Brashear
e77193e688 DEVEL15-ah-verbatim-section-tweak-20080925
LICENSE IPL10

remove PACKAGE and VERSION


(cherry picked from commit eb875d30340a67af78638cf7f395dfe14c0ed405)
2008-09-25 18:00:06 +00:00
Derrick Brashear
a46d92a6b7 DEVEL15-acfooter-inline-20080925
LICENSE IPL10

based on work by mdw@umich.edu


(cherry picked from commit 9d09de799b6efc1a62e0cf28f1b033fd4132b2e1)
2008-09-25 15:41:26 +00:00
Jeffrey Altman
72fab0ba6a DEVEL15-rx-windows-mutex-is-mine-lwp-20080925
LICENSE MIT

mutex is mine for lwp on windows


(cherry picked from commit 8871c545e3b6785b9f10a5b173c4701813269eae)
2008-09-25 13:30:52 +00:00
Jeffrey Altman
a7e6f80bd3 DEVEL15-rx-user-prototype-20080925
LICENSE MIT

fix prototype for rx_getAllAddr() on Windows


(cherry picked from commit 3be628e8fc34c2a047187ce3852c56734f9cfc0a)
2008-09-25 13:07:49 +00:00
Jeffrey Altman
2191cf8c83 DEVEL15-rx-prototypes-20080925
LICENSE MIT

fix errors introduced in rx-prototypes-20080924 on Windows


(cherry picked from commit ec6dcda473f4699454b3870994f147799044fb80)
2008-09-25 13:00:03 +00:00
Jeffrey Altman
9eaee9fa59 DEVEL15-rx-windows-mutex-is-mine-20080925
LICENSE MIT

Add MUTEX_IS_MINE for Windows


(cherry picked from commit db15c2f1cb6cf02ddf79e3539b6f202c439b92e0)
2008-09-25 12:50:58 +00:00
Matt Benjamin
66af1a9d02 DEVEL15-bypasscache-20080922
LICENSE IPL10

add cache bypass support (currently linux only)


(cherry picked from commit 9d63160cccf88d554e47e4bed8e3bbe26f14f8c2)
2008-09-25 12:42:43 +00:00
Derrick Brashear
d1e56bf524 DEVEL15-disconnected-fix-ifdefing-20080925
LICENSE IPL10

make disconnected code not be compiled in (and break) when you don't have it ena
bled


(cherry picked from commit 84b423e932e05bd6ffb64729900f518091f26ef1)
2008-09-25 10:02:56 +00:00
Max Cohan
bcb482c975 DEVEL15-dafs-vol-offline-status-20080925
LICENSE IPL10
FIXES 117499

This patch makes several alterations to the DAFS volserver. The two
major changes are:

* a potential information leak whereby random heap contents could be
exported over the four listvolume rpc variants is corrected

* volume online/offline reporting correctly reports in several additional
corner cases (see the comments in FillVolInfo() in src/volser/volprocs.c
for the complete list of cases):

VOL_STATE_SALVSYNC_REQ:
exclusive state while a fileserver is busy requesting a demand
salvage over the SALVSYNC protocol

V_needsSalvaged():
volume disk header field which is asserted when the fileserver
detects that a volume needs to be salvaged

pending volume operation with command code FSYNC_VOL_OFF:
this command code indicates that a volume utility requires
exclusive access to the volume

pending volume operation and VVolOpLeaveOnline_r returned false:
this indicates that a volume operation is in-progress, and the
internal function VVolOpLeaveOnline_r has decided that the volume
cannot be served concurrently with this volume transaction


(cherry picked from commit b5a6e4bf36dbb2099f17318ae09ff38a25687c5f)
2008-09-25 09:58:22 +00:00
Steven Jenkins
117e018adb DEVEL15-dafs-drop-volheaders-20080925
LICENSE IPL10
FIXES 117470

Under certain demand salvage scenarios, it is possible for a stale header
to remain cached with the needsSalvaged flag asserted. Although this will
not affect clients accessing the volume over afsint, it is an issue for
volser clients. VAttachVolumeByName in volser will always attempt to pull
the header over FSSYNC before doing a disk read, under the assumption that
a cached entry in the fileserver will be more current than what is on
disk. This patch causes the fileserver to aggresively invalidate disk
header cache entries when a salvage is in-progress.


(cherry picked from commit 1659861640035f5405429194e72665839cff3720)
2008-09-25 08:50:16 +00:00
Jeffrey Altman
5af9e7f186 DEVEL15-windows-remove-entraneous-commit-20080924
LICENSE MIT

remove extraneous commit.  maybe later.


(cherry picked from commit f52f24d6f0027be06d444c1dd7e0d35163b16ef6)
2008-09-24 23:58:32 +00:00
Dragos Tatulea
12f47e39d0 DEVEL15-disconnected-rw-20080922
LICENSE IPL10
FIXES 114605 114606 114607

add read-write disconnected support


(cherry picked from commit 433afd4779b077a1d0f4b842335e38625e124dcc)
2008-09-24 23:46:17 +00:00
Jeffrey Altman
1ef154f7f3 DEVEL15-windows-vlserver-updates-20080924
LICENSE MIT

if a vlserver returns a ubik error, skip the server and retry


(cherry picked from commit dd05bd3ba7be90a6348b144eb1c0a6ac1c5f43ba)
2008-09-24 23:42:53 +00:00
Simon Wilkinson
a133341d3b DEVEL15-rx-prototypes-20080924
LICENSE IPL10

cut down by a few thousand the warnings we get


(cherry picked from commit 17d45aa8843c6608d6f98e5defbf0db5aefce66b)
2008-09-24 22:36:49 +00:00
Simon Wilkinson
a9d3f2c081 DEVEL15-generic-inline-20080924
LICENSE IPL10

move static_inline macro to generic location


(cherry picked from commit af4d05c3a44d5b51dd6ae48e79c135af7efc530f)
2008-09-24 22:34:33 +00:00
Simon Wilkinson
28cbb94268 DEVEL15-rx-dpf-clarify-20080924
LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues


(cherry picked from commit 2d5987ea2bd96285899f1e5a141dcdaed8008e7e)
2008-09-24 22:32:08 +00:00
Derrick Brashear
4dd5308143 DEVEL15-macos-panic-decoder-format-fix-20080921
LICENSE IPL10

handle new panic format


(cherry picked from commit 41d5a5f7e30b5933408394db6aa107b8de966d33)
2008-09-21 14:03:31 +00:00
Asanka Herath
90f33e2f77 DEVEL15-macos-installer-images-20080921
LICENSE IPL10

revised images for the installer and package
2008-09-21 14:00:29 +00:00