Commit Graph

5377 Commits

Author SHA1 Message Date
Derrick Brashear
9f8865744e bypasscache-fix-linux24-20081009
LICENSE IPL10

no f_mapping in 2.4.x
2008-10-09 13:55:19 +00:00
Jeffrey Altman
32977eadf1 windows-build-do-not-mix-pthread-and-lwp-20081008
LICENSE MIT

The rx library is built in lwp and pthread forms.  The methods used to
export data symbols are incompatible between the two.  The ubik library
is built with rx headers but only in the lwp form.  As a result it is
not possible to link the ubik libs without also including the lwp rx
lib.  We have pthreaded servers that require linking to the pthreaded
rx and ubik.  To fix the problem all of the macros that assigned values
to variables and were used by ubik have been converted to functions
(but only for Windows.)
2008-10-08 22:14:52 +00:00
Jeffrey Altman
e7b06ab695 windows-cell-name-trailing-dot-removal-20081008
LICENSE MIT
FIXES 120318

Lookups of cell names that have a trailing dot should have the dot removed
otherwise there is a risk of duplicate cell entries since "foo" and "foo."
will not match but both will resolve to the same AFSDB record in DNS.
2008-10-08 18:43:03 +00:00
Jeffrey Altman
ab2d343c31 windows-libafsrpc-20081007
LICENSE MIT

export missing symbols necessary for tbutc and performance testing.
2008-10-07 23:28:40 +00:00
Jeffrey Altman
b8b3bd8d1b windows-tbutc-20081007
LICENSE MIT

do not link to both pthread and lwp rx libs
2008-10-07 23:25:14 +00:00
Derrick Brashear
967cbd2628 darwin-fake-more-disk-free-20081007
LICENSE IPL10

placate finder. this time for sure
2008-10-07 22:30:23 +00:00
Derrick Brashear
b3bf4b89e3 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.
2008-10-07 20:00:31 +00:00
Derrick Brashear
af0b03055e find-new-xbsa-first-20081007
LICENSE IPL10
FIXES 119162

change test order
2008-10-07 19:51:25 +00:00
Derrick Brashear
fe0186dccd 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.
2008-10-07 18:43:57 +00:00
Derrick Brashear
1e3674cafe 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
2008-10-07 16:34:53 +00:00
Derrick Brashear
2cfe5d555e 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.
2008-10-07 04:40:49 +00:00
Jeffrey Altman
061634bfc9 rx-varargs-20081003
LICENSE MIT

call va_start on Windows
2008-10-04 05:59:32 +00:00
Hans-Werner Paulsen
5158e8c7af kdump-rx-stats-20081003
LICENSE IPL10
FIXES 118700

add change to kdump also
2008-10-03 21:39:43 +00:00
Jeffrey Altman
b8caeee989 rx-windows-dpf-20081003
LICENSE MIT

dpf on windows is conditional on rxdebug_active, not rx_debugFile
2008-10-03 15:35:15 +00:00
Jeffrey Altman
a3154fbfc1 rx-prototypes-20081003
LICENSE MIT

remove EXT from the function prototype definitions in rx_globals.h
because they result in conflicts with the actual function declarations
and the prototypes in rx_prototypes.h.
2008-10-03 15:33:19 +00:00
Jeffrey Altman
82fc110302 rx-vaargs-20081003
LICENSE MIT

define va_list ap where it will be defined on all platforms
2008-10-03 15:31:59 +00:00
Jeffrey Altman
97176bc65a windows-client_exp-makefile-20081003
LICENSE MIT

define UNICODE
2008-10-03 15:29:37 +00:00
Jeffrey Altman
0d368d7c0d windows-update-makefile-20081003
LICENSE MIT

add missing reference to cm_nls.obj
2008-10-03 15:28:07 +00:00
Jeffrey Altman
38800039a7 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().
2008-10-02 13:12:23 +00:00
Jeffrey Altman
1e72039404 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.
2008-10-02 12:51:48 +00:00
Simon Wilkinson
6acd68f0e8 linux-nfstrans-libafs-tree-20080926
LICENSE IPL10

add missing files needed for nfs variants
2008-09-26 11:16:36 +00:00
Simon Wilkinson
3853c32615 disconn-prototypes-20080926
LICENSE IPL10

add a prototype we need for disconnected
2008-09-26 09:23:48 +00:00
Simon Wilkinson
3f11790f6a pthread-ubik-volser-stupidity-20080925
LICENSE IPL10

make volserver build again for not pthreaded ubik
2008-09-25 22:40:25 +00:00
Simon Wilkinson
3a5e912230 rx-dpf-clarify-20080924
LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues
ddddddddddddd
AUTHOR
LICENSE IPL10
2008-09-25 21:19:33 +00:00
Jeffrey Altman
8b50c9d9e3 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.
2008-09-25 21:17:22 +00:00
Jeffrey Altman
b84da58492 rx-packet-allocation-debug-20080925
LICENSE IPL10

add field to track allocated packets
2008-09-25 20:54:44 +00:00
Jeffrey Altman
230dcebcd6 rx-change-packet-allocation-calculation-20080925
LICENSE IPL10

don't alloc ourselves to death; try harder to manage growth
2008-09-25 20:34:41 +00:00
Jeffrey Altman
559ea99b1e rx-flag-all-packets-20080925
LICENSE IPL10

flag packets for all queues, and when they are currentPacket somewhere
2008-09-25 19:59:33 +00:00
Jeffrey Altman
939e070c86 rx-global-lock-macro-correction-20080925
LICENSE IPL10

refer to the same macro everyone else does
2008-09-25 18:26:23 +00:00
Jeffrey Altman
a72eea6bb1 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.
2008-09-25 18:21:15 +00:00
Jeffrey Altman
7a4041f940 rename-rx-stats-20080925
LICENSE IPL10

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

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

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

====================
LICENSE IPL10

avoid using the same name for the struct and the global so the windows debugger
works usefully
2008-09-25 18:15:41 +00:00
Jeffrey Altman
883683fc31 rx-readproc32-avoid-losing-currentpacket-20080925
LICENSE IPL10

when currentPacket is empty, avoid leaking it and instead free and NULL it
2008-09-25 18:06:24 +00:00
Derrick Brashear
eb875d3034 ah-verbatim-section-tweak-20080925
LICENSE IPL10

remove PACKAGE and VERSION
2008-09-25 17:59:52 +00:00
Derrick Brashear
9d09de799b acfooter-inline-20080925
LICENSE IPL10

based on work by mdw@umich.edu
2008-09-25 15:41:02 +00:00
Jeffrey Altman
8871c545e3 rx-windows-mutex-is-mine-lwp-20080925
LICENSE MIT

mutex is mine for lwp on windows
2008-09-25 13:29:50 +00:00
Jeffrey Altman
3be628e8fc rx-user-prototype-20080925
LICENSE MIT

fix prototype for rx_getAllAddr() on Windows
2008-09-25 13:04:46 +00:00
Jeffrey Altman
ec6dcda473 rx-prototypes-20080925
LICENSE MIT

fix errors introduced in rx-prototypes-20080924 on Windows
2008-09-25 12:58:45 +00:00
Jeffrey Altman
db15c2f1cb rx-windows-mutex-is-mine-20080925
LICENSE MIT

Add MUTEX_IS_MINE for Windows
2008-09-25 12:49:10 +00:00
Matt Benjamin
9d63160ccc bypasscache-20080922
LICENSE IPL10

add cache bypass support (currently linux only)
2008-09-25 12:42:02 +00:00
Derrick Brashear
84b423e932 disconnected-fix-ifdefing-20080925
LICENSE IPL10

make disconnected code not be compiled in (and break) when you don't have it enabled
2008-09-25 10:02:23 +00:00
Max Cohan
b5a6e4bf36 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
2008-09-25 09:57:39 +00:00
Steven Jenkins
1659861640 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.
2008-09-25 08:50:01 +00:00
Jeffrey Altman
f52f24d6f0 windows-remove-entraneous-commit-20080924
LICENSE MIT

remove extraneous commit.  maybe later.
2008-09-24 23:47:59 +00:00
Jeffrey Altman
dd05bd3ba7 windows-vlserver-updates-20080924
LICENSE MIT

if a vlserver returns a ubik error, skip the server and retry
2008-09-24 23:40:44 +00:00
Simon Wilkinson
8aa9d07e35 rx-varargs-20080924
LICENSE IPL10

make rx use varargs instead of a large fixed set of parms
2008-09-24 22:38:19 +00:00
Simon Wilkinson
17d45aa884 rx-prototypes-20080924
LICENSE IPL10

cut down by a few thousand the warnings we get
2008-09-24 22:36:29 +00:00
Simon Wilkinson
af4d05c3a4 generic-inline-20080924
LICENSE IPL10

move static_inline macro to generic location
2008-09-24 22:34:19 +00:00
Simon Wilkinson
2d5987ea2b rx-dpf-clarify-20080924
LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues
2008-09-24 22:31:54 +00:00
Dragos Tatulea
433afd4779 disconnected-rw-20080922
LICENSE IPL10
FIXES 114605 114606 114607

add read-write disconnected support
2008-09-22 14:36:16 +00:00
Derrick Brashear
41d5a5f7e3 macos-panic-decoder-format-fix-20080921
LICENSE IPL10

handle new panic format
2008-09-21 14:03:20 +00:00