Commit Graph

5604 Commits

Author SHA1 Message Date
Russ Allbery
d476340465 man-page-salvager-fixes-20090201
LICENSE BSD

Fix the -parallel example in the main description text: "5all" should be
"all5".  Reword the description a bit to hopefully make it clearer that
there are two separate values set here.  Note under the option description
of -parallel that multiple partitions on the same device are normally
processed serially.
2009-02-02 01:19:00 +00:00
Russ Allbery
f204e4e37f man-page-vos-examine-copy-date-20090201
LICENSE BSD

Document the Copy field of vos examine output.
2009-02-02 01:12:02 +00:00
Jeffrey Altman
7f371c5309 windows-tests-torture-enforce-querypath-info-errors-20090201
LICENSE BSD

change nb_qpathinfo() 'Flag' to a thread local storage variable
'EnforcePathInfoErrors'.

Add new 'Type' values that permit the enforcement to be turned on and off
as needed by the test script.

Populate the IoBuffer with the low byte of the pid value.

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

Verified the state of every file's existence at every Query Path Info
call in the script.  Added 'Type' == 1 (Does not Exist) as needed.
Removed the use of 'Type' == 1111 to disable enforcement part way through.
2009-02-01 21:57:10 +00:00
Jeffrey Altman
652c361054 windows-tests-torture-scripts-20090131
LICENSE MIT

Add some additional example scripts
2009-02-01 00:26:40 +00:00
Jeffrey Altman
3769240ac4 windows-tests-torture-source-20090131
LICENSE MIT

Do not unload afsrpc.dll as it cannot clean up after itself and
become safe to reload.

Instead of reporting that the AFS client is off-line, report the
path that is unreachable.
2009-02-01 00:18:26 +00:00
Jeffrey Altman
5981379dea windows-tests-torture-20090131
LICENSE MIT

rename torture.exe to wintorture.exe to match the name expected by stress.exe

increase length of "Locker" to permit longer paths

do not strip \\afs unc server name.  treat all unc paths equal

add GetLastError values to logged error messages

clarify error messages when missing input params

print all errors on a single line.  quote paths and command strings

fix the initialization of the IoBuffer for writes.  initialize the
whole buffer not just the sizeof(pointer)

remove the static declaration of Flag in nb_qpathinfo()

obtain real HANDLEs for directories.  Do not fake them.
2009-01-31 17:05:02 +00:00
Jeffrey Altman
1e01bdc8e1 windows-tests-20090130
LICENSE BSD

build all of the tests
2009-01-31 06:42:39 +00:00
Jeffrey Altman
7c4ceecbd9 windows-tests-torture-20090130
LICENSE MIT

Port to Win64

Integrate with OpenAFS build environment

Build without warnings

Add nb_flush() implementation
2009-01-31 06:39:48 +00:00
Jeffrey Altman
e01ffce669 windows-tests-largefiles-20090130
LICENSE BSD

permit the largefiles test to build under the openafs build system
2009-01-31 03:42:29 +00:00
Jeffrey Altman
b557da03d5 windows-test-winflock-20090130
LICENSE BSD

permit winflock to build under the openafs build system
2009-01-31 03:37:18 +00:00
Asanka Herath
a9bc4bf32c windows-tests-nm-20090130
LICENSE BSD

A test application that produces verifiable random test files.

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

make it build in the openafs build tree
2009-01-31 03:08:55 +00:00
Simon Wilkinson
175393288d linux-vmtruncate-20090130
LICENSE IPL10
FIXES 124128

use linux's vmtruncate feature instead of doing a somewhat-right internal version
2009-01-30 14:36:13 +00:00
Tom Keiser
ff795a12c5 dafs-vnode-close-race-20090129
LICENSE IPL10
FIXES 124223

address race between VCloseVnodeFiles_r and VGetFreeVnode_r
2009-01-29 17:06:41 +00:00
Derrick Brashear
47e99e36fd discon-diskslot-linux-20090129
LICENSE IPL10

build in the linux case on non-disconnected
2009-01-29 16:05:05 +00:00
Derrick Brashear
df139845e9 discon-remove-fix-20090128
LICENSE IPL10

fix my own error
2009-01-28 22:39:04 +00:00
Jeffrey Altman
35cc76c21e rx-no-more-register-20090128
LICENSE BSD

kill off use of register in rx
2009-01-28 22:33:17 +00:00
Jeffrey Altman
226cf894b6 rx-pthread-mutex-protects-threadcount-20090128
LICENSE BSD

add protection of previously unprotected thread count variables
2009-01-28 21:34:33 +00:00
Simon Wilkinson
7cd7bcdc4c discon-avoid-looping-on-replay-20090128
LICENSE IPL10
FIXES 124203

don't defer based on a shadow copy
2009-01-28 21:13:58 +00:00
Simon Wilkinson
cc2f0d2bc5 disconnected-reply-no-locking-yet-20090128
LICENSE IPL10
FIXES 124202

don't lock files before replaying changes yet
2009-01-28 21:02:16 +00:00
Jeffrey Altman
1cca08960b rx-atomic-macros-and-variables-20090127
LICENSE BSD

adds macros to support accessing some variables as atomics, when atomic
support is available; otherwise falls back to mutex-protected access.
2009-01-28 20:35:50 +00:00
Derrick Brashear
af61732e4a disconnected-deal-with-unlink-while-open-20090127
LICENSE IPL10
FIXES 124178

treat something as unlinked until a rename suceeds, then let that win
2009-01-28 15:52:42 +00:00
Jeffrey Altman
50d57f6c7b rx-windows-debugging-20090127
LICENSE MIT

separate rx debugging from cache manager debugging.
assign bit 5 of the TraceOption registry value to activation of
rx debug output via DebugOutputString().
2009-01-27 17:49:05 +00:00
Jeffrey Altman
306a7761b3 windows-libafsrpc-20090127
LICENSE MIT

confirmed that rx_ReadvProc, rx_WritevProc, and rx_WritevAlloc are
properly implemented for Windows.  Add them to the public export list.

Add rx_ReadProc32 and rx_WriteProc32 to the public export list.
2009-01-27 17:09:22 +00:00
Jeffrey Altman
bc558c75dc windows-dcache-20090127
LICENSE MIT

Use the optimized rx_Read32 call instead of the slower rx_Read when
reading 32-bit integer values.
2009-01-27 17:06:05 +00:00
Mike Meffie
72d502be69 dafs-vol-offline-race-20090127
LICENSE IPL10
FIXES 124215

avoid race when taking volumes offline in dafs
2009-01-27 14:24:23 +00:00
Jeffrey Altman
a4f63a818e rx-windows-xmit-20090126
LICENSE MIT

The WinSock API does not include the Posix recvmsg/sendmsg interfaces.
Beginning with XP/2003 Microsoft began to support WSARecvMsg which is
a mostly compatible implementation of recvmsg.  In Vista/2008 Microsoft
began to support WSASendMsg a mostly compatible implementation of sendmsg.

Neither are part of the WinSock API and therefore they must be loaded
at runtime via a WSAIoctl() call to obtain the function pointers.
When the functions are available it is now possible to avoid a large
number of memcpy() calls.

This patch also enables UDP port unreachable messages on XP and above.
2009-01-27 06:04:32 +00:00
Jeffrey Altman
6e8039e8a5 rx-slow-write-packet-20090126
LICENSE MIT

In rx_SlowWritePacket the use of RX_MAXWVECS was incorrect.  The
niovecs field is allocated as [RX_MAXWVECS+1] with the 0th element
reserved for the rx header.  niovecs[RX_MAXWVECS] is therefore a
valid data buffer and the comparison should be (i <= RX_MAXWVECS).

This error has most likely not been noticed previously because
nothing in the OpenAFS source tree uses this function.
2009-01-26 22:53:48 +00:00
Simon Wilkinson
8552f84b8e discon-allow-saving-vcaches-on-shutdown-20090126
LICENSE IPL10
FIXES 124211

restructure so we can save info necessary to keep dirty changes across offline
shutdown
2009-01-26 19:33:06 +00:00
Jeffrey Altman
e42a066da1 windows-btree-dir-enum-20090126
LICENSE MIT

Modify the cm_BPlusDirEnum interface:

* add the cm_scache_t * of the directory being enumerated to the
  cm_direnum_t object

* remove the cm_scache_t * from the cm_BPlusDirEnumBulkStat call
  now that it is part of the cm_direnum_t object

* maintain a reference to the cm_scache_t for the life of the
  cm_direnum_t object.  This ensures that the object cannot be
  recycled while the enumeration is in use.
2009-01-26 15:50:46 +00:00
Simon Wilkinson
7a01a35adf disconnected-lseek-extension-20090126
LICENSE IPL10
FIXES 124200

make extending a file by lseek make the extension-created parts as cache
chunks
2009-01-26 13:42:01 +00:00
Simon Wilkinson
d2960e5442 disconnected-symlink-support-20090125
LICENSE IPL10
FIXES 124177

allow creation of symlinks while disconnected
2009-01-25 14:52:37 +00:00
Simon Wilkinson
58ab0e7c58 disconnected-clear-cstatd-on-reconnect-20090125
LICENSE IPL10
FIXES 124180

don't treat any information we forged as being valid while offline as valid
2009-01-25 14:48:14 +00:00
Simon Wilkinson
b690aa8f81 linux24-update-20090123
LICENSE IPL10

make things work on linux 2.4 again
2009-01-23 15:20:32 +00:00
Simon Wilkinson
c93e751599 disconnected-allow-larger-directories-20090123
LICENSE IPL10
FIXES 124182

allow directories larger than a chunk
2009-01-23 14:44:31 +00:00
Simon Wilkinson
9093f0cf15 linux-nfstrans-test-20090123
LICENSE IPL10

test for nfs translator before enabling
2009-01-23 14:31:22 +00:00
Matt Benjamin
6742f2054a fbsd-ustrategy-20090122
LICENSE IPL10

make freebsd ustrategy correct
2009-01-22 21:49:03 +00:00
Mike Meffie
85fa1b132a hpux-readdir2-prototype-20090123
LICENSE IPL10
FIXES 124187

fix typo in prototype
2009-01-22 21:42:28 +00:00
Matt Benjamin
6784222ac1 fbsd-ignore-sigsys-20090123
LICENSE IPL10
FIXES 123867

wrong but a step forward
2009-01-22 21:38:45 +00:00
Matt Benjamin
35a760632d obsd44-pass1-20090123
LICENSE IPL10
FIXES 123830

first pass at openbsd 4.4
2009-01-22 21:28:29 +00:00
Derrick Brashear
db15872a7e klog-krb5-link-order-20090122
LICENSE IPL10

match the (bad) link order used elsewhere
2009-01-22 21:19:47 +00:00
Derrick Brashear
90f9073dde disconnected-no-inline-on-irix-20090122
LICENSE IPL10

make this compile on irix
2009-01-22 20:19:51 +00:00
Derrick Brashear
396b573b12 disconnected-call-makedir-with-correct-casting-20090122
LICENSE IPL10

another find by the irix compiler.
2009-01-22 20:11:45 +00:00
Derrick Brashear
d6c5d0bbb0 bcdb-listdumps-argument-fix-20090122
LICENSE IPL10

prototype caught this. oops.
2009-01-22 19:33:04 +00:00
Derrick Brashear
92cf4d996f volserver-manage-inuse-better-20090122
LICENSE IPL10
FIXES 124142

V_PEEK/V_SECRETLY should not change inUse. servertype based inUse should not
leak past giving back a volume.
2009-01-22 19:12:40 +00:00
Jeffrey Altman
1d70f4e14e bucoord-ubik_call-no-more-20090122
LICENSE MIT

replace ubik_Call(RPC, ...) with ubik_RPC(...)
2009-01-22 15:40:07 +00:00
Jeffrey Altman
d4b17a6e2e ubik_Call-no-more-20090122
LICENSE MIT

remove more ubik_Call(RPC, ...) calls and replace them with ubik_RPC(...)
2009-01-22 15:28:54 +00:00
Peter Tripician
69bab4cc6e util-volparse-20090122
LICENSE IPL10
FIXES 84846

avoid some infinite loops on bad input

ensure that all partition ids are within the legal limit

provide prototypes for strlcat and strlcpy when the openafs
implementations are being used.
2009-01-22 15:15:55 +00:00
Marc Dionne
f11480748c salvager-sensible-chdirlessness-20090122
LICENSE IPL10
FIXES 124154

make salvager look for and create headers in the right place.
2009-01-22 14:28:27 +00:00
Simon Wilkinson
81e1d54034 disconnected-linux-dont-inactive-while-disconnected-20090121
LICENSE IPL10
FIXES 124175

possibly not the ultimate right fix but it will make things work for now
2009-01-21 21:33:32 +00:00
Simon Wilkinson
0593374e2d disconnected-pioctl-error-recovery-20090121
LICENSE IPL10
FIXES 124174

make reconnection possible by doing error recovery
2009-01-21 21:27:42 +00:00