Mike Meffie [Tue, 3 Feb 2009 19:44:27 +0000]
upclient-cleanup-temp-files-
20090203
LICENSE IPL10
FIXES 124221
remove tempfiles in the event of a fetching error
Simon Wilkinson [Tue, 3 Feb 2009 19:42:14 +0000]
rename-internal-gettimeofday-refs-
20090203
LICENSE IPL10
FIXES 124259
switch to using fasttime, instead of wrapper
Simon Wilkinson [Tue, 3 Feb 2009 19:37:41 +0000]
redhat-packaging-non-stable-branches-
20090203
LICENSE IPL10
FIXES 124273
make rpm stuff work for other than 1.4.x
Simon Wilkinson [Tue, 3 Feb 2009 19:34:10 +0000]
redhat-packaging-updates-
20090203
LICENSE IPL10
FIXES 124272
adds fc10, fc11 support
Russ Allbery [Mon, 2 Feb 2009 01:19:00 +0000]
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.
Russ Allbery [Mon, 2 Feb 2009 01:12:02 +0000]
man-page-vos-examine-copy-date-
20090201
LICENSE BSD
Document the Copy field of vos examine output.
Jeffrey Altman [Sun, 1 Feb 2009 21:57:10 +0000]
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.
Jeffrey Altman [Sun, 1 Feb 2009 00:26:40 +0000]
windows-tests-torture-scripts-
20090131
LICENSE MIT
Add some additional example scripts
Jeffrey Altman [Sun, 1 Feb 2009 00:18:26 +0000]
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.
Jeffrey Altman [Sat, 31 Jan 2009 17:05:02 +0000]
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.
Jeffrey Altman [Sat, 31 Jan 2009 06:42:39 +0000]
windows-tests-
20090130
LICENSE BSD
build all of the tests
Jeffrey Altman [Sat, 31 Jan 2009 06:39:48 +0000]
windows-tests-torture-
20090130
LICENSE MIT
Port to Win64
Integrate with OpenAFS build environment
Build without warnings
Add nb_flush() implementation
Jeffrey Altman [Sat, 31 Jan 2009 03:42:29 +0000]
windows-tests-largefiles-
20090130
LICENSE BSD
permit the largefiles test to build under the openafs build system
Jeffrey Altman [Sat, 31 Jan 2009 03:37:18 +0000]
windows-test-winflock-
20090130
LICENSE BSD
permit winflock to build under the openafs build system
Asanka Herath [Sat, 31 Jan 2009 03:08:55 +0000]
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
Simon Wilkinson [Fri, 30 Jan 2009 14:36:13 +0000]
linux-vmtruncate-
20090130
LICENSE IPL10
FIXES 124128
use linux's vmtruncate feature instead of doing a somewhat-right internal version
Tom Keiser [Thu, 29 Jan 2009 17:06:41 +0000]
dafs-vnode-close-race-
20090129
LICENSE IPL10
FIXES 124223
address race between VCloseVnodeFiles_r and VGetFreeVnode_r
Derrick Brashear [Thu, 29 Jan 2009 16:05:05 +0000]
discon-diskslot-linux-
20090129
LICENSE IPL10
build in the linux case on non-disconnected
Derrick Brashear [Wed, 28 Jan 2009 22:39:04 +0000]
discon-remove-fix-
20090128
LICENSE IPL10
fix my own error
Jeffrey Altman [Wed, 28 Jan 2009 22:33:17 +0000]
rx-no-more-register-
20090128
LICENSE BSD
kill off use of register in rx
Jeffrey Altman [Wed, 28 Jan 2009 21:34:33 +0000]
rx-pthread-mutex-protects-threadcount-
20090128
LICENSE BSD
add protection of previously unprotected thread count variables
Simon Wilkinson [Wed, 28 Jan 2009 21:13:58 +0000]
discon-avoid-looping-on-replay-
20090128
LICENSE IPL10
FIXES 124203
don't defer based on a shadow copy
Simon Wilkinson [Wed, 28 Jan 2009 21:02:16 +0000]
disconnected-reply-no-locking-yet-
20090128
LICENSE IPL10
FIXES 124202
don't lock files before replaying changes yet
Jeffrey Altman [Wed, 28 Jan 2009 20:35:50 +0000]
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.
Derrick Brashear [Wed, 28 Jan 2009 15:52:42 +0000]
disconnected-deal-with-unlink-while-open-
20090127
LICENSE IPL10
FIXES 124178
treat something as unlinked until a rename suceeds, then let that win
Jeffrey Altman [Tue, 27 Jan 2009 17:49:05 +0000]
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().
Jeffrey Altman [Tue, 27 Jan 2009 17:09:22 +0000]
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.
Jeffrey Altman [Tue, 27 Jan 2009 17:06:05 +0000]
windows-dcache-
20090127
LICENSE MIT
Use the optimized rx_Read32 call instead of the slower rx_Read when
reading 32-bit integer values.
Mike Meffie [Tue, 27 Jan 2009 14:24:23 +0000]
dafs-vol-offline-race-
20090127
LICENSE IPL10
FIXES 124215
avoid race when taking volumes offline in dafs
Jeffrey Altman [Tue, 27 Jan 2009 06:04:32 +0000]
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.
Jeffrey Altman [Mon, 26 Jan 2009 22:53:48 +0000]
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.
Simon Wilkinson [Mon, 26 Jan 2009 19:33:06 +0000]
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
Jeffrey Altman [Mon, 26 Jan 2009 15:50:46 +0000]
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.
Simon Wilkinson [Mon, 26 Jan 2009 13:42:01 +0000]
disconnected-lseek-extension-
20090126
LICENSE IPL10
FIXES 124200
make extending a file by lseek make the extension-created parts as cache
chunks
Simon Wilkinson [Sun, 25 Jan 2009 14:52:37 +0000]
disconnected-symlink-support-
20090125
LICENSE IPL10
FIXES 124177
allow creation of symlinks while disconnected
Simon Wilkinson [Sun, 25 Jan 2009 14:48:14 +0000]
disconnected-clear-cstatd-on-reconnect-
20090125
LICENSE IPL10
FIXES 124180
don't treat any information we forged as being valid while offline as valid
Simon Wilkinson [Fri, 23 Jan 2009 15:20:32 +0000]
linux24-update-
20090123
LICENSE IPL10
make things work on linux 2.4 again
Simon Wilkinson [Fri, 23 Jan 2009 14:44:31 +0000]
disconnected-allow-larger-directories-
20090123
LICENSE IPL10
FIXES 124182
allow directories larger than a chunk
Simon Wilkinson [Fri, 23 Jan 2009 14:31:22 +0000]
linux-nfstrans-test-
20090123
LICENSE IPL10
test for nfs translator before enabling
Matt Benjamin [Thu, 22 Jan 2009 21:49:03 +0000]
fbsd-ustrategy-
20090122
LICENSE IPL10
make freebsd ustrategy correct
Mike Meffie [Thu, 22 Jan 2009 21:42:28 +0000]
hpux-readdir2-prototype-
20090123
LICENSE IPL10
FIXES 124187
fix typo in prototype
Matt Benjamin [Thu, 22 Jan 2009 21:38:45 +0000]
fbsd-ignore-sigsys-
20090123
LICENSE IPL10
FIXES 123867
wrong but a step forward
Matt Benjamin [Thu, 22 Jan 2009 21:28:29 +0000]
obsd44-pass1-
20090123
LICENSE IPL10
FIXES 123830
first pass at openbsd 4.4
Derrick Brashear [Thu, 22 Jan 2009 21:19:47 +0000]
klog-krb5-link-order-
20090122
LICENSE IPL10
match the (bad) link order used elsewhere
Derrick Brashear [Thu, 22 Jan 2009 20:19:51 +0000]
disconnected-no-inline-on-irix-
20090122
LICENSE IPL10
make this compile on irix
Derrick Brashear [Thu, 22 Jan 2009 20:11:45 +0000]
disconnected-call-makedir-with-correct-casting-
20090122
LICENSE IPL10
another find by the irix compiler.
Derrick Brashear [Thu, 22 Jan 2009 19:33:04 +0000]
bcdb-listdumps-argument-fix-
20090122
LICENSE IPL10
prototype caught this. oops.
Derrick Brashear [Thu, 22 Jan 2009 19:12:40 +0000]
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.
Jeffrey Altman [Thu, 22 Jan 2009 15:40:07 +0000]
bucoord-ubik_call-no-more-
20090122
LICENSE MIT
replace ubik_Call(RPC, ...) with ubik_RPC(...)
Jeffrey Altman [Thu, 22 Jan 2009 15:28:54 +0000]
ubik_Call-no-more-
20090122
LICENSE MIT
remove more ubik_Call(RPC, ...) calls and replace them with ubik_RPC(...)
Peter Tripician [Thu, 22 Jan 2009 15:15:55 +0000]
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.
Marc Dionne [Thu, 22 Jan 2009 14:28:27 +0000]
salvager-sensible-chdirlessness-
20090122
LICENSE IPL10
FIXES 124154
make salvager look for and create headers in the right place.
Simon Wilkinson [Wed, 21 Jan 2009 21:33:32 +0000]
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
Simon Wilkinson [Wed, 21 Jan 2009 21:27:42 +0000]
disconnected-pioctl-error-recovery-
20090121
LICENSE IPL10
FIXES 124174
make reconnection possible by doing error recovery
Simon Wilkinson [Wed, 21 Jan 2009 21:17:09 +0000]
disconnected-shadow-directory-fixes-
20090121
LICENSE IPL10
FIXES 124173
fix bugs in disconnected's directory shadowing
Simon Wilkinson [Wed, 21 Jan 2009 21:14:48 +0000]
disconnected-replay-fixes-
20090121
LICENSE IPL10
FIXES 124172
updates to fix bugs in disconnected change replays
Jeffrey Altman [Wed, 21 Jan 2009 21:04:11 +0000]
windows-avoid-rwevent-collision-part-two-
20090121
LICENSE MIT
don't leave out the size of the buffer.
Jeffrey Altman [Wed, 21 Jan 2009 21:00:59 +0000]
windows-avoid-rwevent-collision-
20090121
LICENSE MIT
Prevent multiple smb_Server threads from sharing the same EVENT
object when they are each waiting for their own packet requests
to complete.
Simon Wilkinson [Wed, 21 Jan 2009 20:09:07 +0000]
rename-conn-to-afs-conn-
20090121
LICENSE IPL10
FIXES 124116
based on patch from daleg@elemental.org. rename to avoid conflict with opensolaris
====================
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
FIXES 124116
based on patch from daleg@elemental.org. rename to avoid conflict with opensolar
is
====================
LICENSE IPL10
FIXES 124116
based on patch from daleg@elemental.org. rename to avoid conflict with opensolar
is
Simon Wilkinson [Wed, 21 Jan 2009 14:32:27 +0000]
darwin-no-vprintf-
20090121
LICENSE IPL10
restore old behavior for mac client
Jeffrey Altman [Wed, 21 Jan 2009 14:32:08 +0000]
windows-installer-wix-
20090121
LICENSE MIT
remove man page files that no longer exist on the head
Jeffrey Altman [Tue, 20 Jan 2009 04:35:53 +0000]
windows-smb-parse-ascii-block-
20090119
LICENSE MIT
smb_ParseASCIIBlock() may be called with more than just data
type ASCII (0x4). If the type is 2, 3, or 4 the data field is
a null terminated string. If the type is 1 or 5 the data field
is a counted string. if the type is 2 the data field is never
Unicode.
In any case, if the type is unrecognized smb_ParseASCIIBlock()
will return NULL and all of the callers must be prepared to handle
it. If the return is NULL, the smb request will fail with
CM_ERROR_BADSMB.
Steven Jenkins [Tue, 20 Jan 2009 03:29:01 +0000]
undo-rename-residency-from-mrafs-to-osd-
20090119
LICENSE IPL10
FIXES 124130
restore the mr-afs names until such time as the pioctl registrations
are addressed.
Jason Edgecombe [Mon, 19 Jan 2009 23:02:36 +0000]
man-page-pts-membership-fixes-
20090119
FIXES 124157
LICENSE BSD
More wording and typo fixes for the pts membership man page.
Derrick Brashear [Mon, 19 Jan 2009 20:53:42 +0000]
linux-init-script-uses-bash-
20090119
LICENSE IPL10
FIXES 124056
note the script uses bash
Simon Wilkinson [Mon, 19 Jan 2009 19:42:32 +0000]
disconnected-extend-truncation-
20090119
LICENSE IPL10
FIXES 124094
implement extending truncation so disconnected works
Simon Wilkinson [Mon, 19 Jan 2009 19:39:12 +0000]
abstract-reset-vcache-
20090119
LICENSE IPL10
FIXES 124147
abstract vcache resetting code so disconnected can reuse it
Simon Wilkinson [Mon, 19 Jan 2009 19:27:00 +0000]
afs-q-improvements-
20090119
LICENSE IPL10
FIXES 124134
simplify afs_q macros and allow further reuse in disconnected
Simon Wilkinson [Mon, 19 Jan 2009 18:47:52 +0000]
disconnected-flush-before-shadowing-
20090119
LICENSE IPL10
FIXES 124149
make
touch a
fs discon offline
rm -f a
fs discon online
work
Steven Jenkins [Mon, 19 Jan 2009 18:09:06 +0000]
rename-residency-from-mrafs-to-osd-
20090119
LICENSE IPL10
FIXES 124130
rename mrafs commands into their equivalent osd versions; structures etc are the same.
Simon Wilkinson [Mon, 19 Jan 2009 17:29:08 +0000]
linux-disconnected-avoid-ls-hang-
20090119
LICENSE IPL10
FIXES 124152
avoid allowing a non-CStatd vcache to make its way into a readdir which causes an infinite loop
Derrick Brashear [Mon, 19 Jan 2009 03:25:10 +0000]
krb5-klog-link-rule-
20090118
LICENSE IPL10
this was just wrong
Derrick Brashear [Mon, 19 Jan 2009 03:19:01 +0000]
volser-setflags-clear-callptr-
20090118
LICENSE IPL10
make things calling SetFlags not error
Russ Allbery [Mon, 19 Jan 2009 03:09:52 +0000]
man-page-pts-membership-privilege-
20090118
FIXES 124151
LICENSE BSD
Add system:ptsviewers to the privilege documentation of pts membership and
try to clarify the privilege required by being less verbose and hopefully
more direct.
Marc Dionne [Thu, 15 Jan 2009 13:26:55 +0000]
linux-2629-
20090115
LICENSE IPL10
FIXES 124115
add 2.6.29 support
Chaskiel M Grundman [Thu, 15 Jan 2009 13:12:58 +0000]
osi-probe-check-result-cope-with-enoent-
20090115
LICENSE IPL10
in order for probing to work right
Jeffrey Altman [Wed, 14 Jan 2009 06:34:08 +0000]
rx-afs-kmutex-kcondvar-
20090113
LICENSE BSD
The rx_pthread.h defines afs_kcondvar_t and afs_kmutex_t but
their use throughout the rx library is inconsistent. Sometimes
they are used, other times pthread_cond_t and pthread_mutex_t.
This commit ensures that afs_kmutex_t and afs_kcondvar_t are
used consistently.
Simon Wilkinson [Tue, 13 Jan 2009 19:37:03 +0000]
linux-truncate-cleanup-
20090113
LICENSE IPL10
fix the patch to actually be applicable
Jeffrey Altman [Tue, 13 Jan 2009 16:19:11 +0000]
rx-make-rxdebug-optional-
20090113
LICENSE BSD
Permit the rx library to be built without the RXDEBUG preprocessor
definition. When RXDEBUG is not defined all of the debugging functions
either become stubs or log a message indicating that the library was
built without RXDEBUG so that there will be no surprises. There
are no changes to the export list. By default RXDEBUG is defined.
Eventually the definition of RXDEBUG can become a configuration option
to the build system.
Jeffrey Altman [Mon, 12 Jan 2009 20:22:24 +0000]
rx-finer-grained-locking-
20090112
LICENSE MIT
fix typo in rx-finer-granded-locking-
20090112
Matt Benjamin [Mon, 12 Jan 2009 14:33:09 +0000]
freebsd-cleanup-
20090112
LICENSE IPL10
FIXES 124107
minor freebsd cleanup
Marc Dionne [Mon, 12 Jan 2009 14:18:58 +0000]
linux-i-size-
20090112
LICENSE IPL10
FIXES 124106
use i_size_read macro correctly
Andrew Deason [Mon, 12 Jan 2009 14:11:36 +0000]
libuafs-set-fileoffsetbits-
20090112
LICENSE IPL10
FIXES 124093
make libuafs work with things which expect to be able to use native file
sizes etc
Marc Dionne [Mon, 12 Jan 2009 13:28:42 +0000]
linux24-no-backing-dev-
20090112
LICENSE IPL10
FIXES 124100
backing_dev_info isn't in 2.4
Rainer Toebbicke [Mon, 12 Jan 2009 13:24:13 +0000]
fetch64-fstrace-typo-
20090112
LICENSE IPL10
FIXES 124113
move l to correct side of % for type printing
Jeffrey Altman [Sun, 11 Jan 2009 05:53:36 +0000]
rx-statistics-active-flag-
20090110
LICENSE MIT
Permit rx statistics gathering to be disabled by setting the
new rx_stats_active variable to 0. This avoids grabbing the
rx_stats_mutex throughout the execution of the requests and
permits greater concurrency thoughout the library.
Jeffrey Altman [Sun, 11 Jan 2009 05:27:01 +0000]
rx-finer-grained-locking-
20090110
LICENSE MIT
not everything should be under the rx_stats_mutex. doing so
results in too much lock contention. add new mutexes:
rx_quota_mutex, rx_waiting_mutex, rx_pthread_mutex, and rx_packets_mutex.
Each new mutex protects an associated group of variables.
Jeffrey Altman [Sun, 11 Jan 2009 04:24:37 +0000]
rx-user-socket-buffer-sizes-
20090110
LICENSE MIT
if the socket buffer size specified by the configuration is too large
to be applied, do not drop down immediately to 32766 bytes. Instead
try increasingly smaller values trying to find the largest one that
works. use the same value for the send buf size as well.
Jeffrey Altman [Sun, 11 Jan 2009 04:00:07 +0000]
rx-rwlocks-no-more-
20090110
LICENSE MIT
remove the use of rwlock and restore the use of mutexes.
the rwlocks are actually slower in performance testing.
Simon Wilkinson [Fri, 9 Jan 2009 15:09:14 +0000]
linux-truncate-race-
20090109
LICENSE IPL10
FIXES 124094
avoid a race during truncation which trips an issue when fsx is run
Andrew Deason [Fri, 9 Jan 2009 14:50:48 +0000]
ac-verbatim-include-undefs-
20090109
LICENSE IPL10
FIXES 124077
the undefs for things which are not ac macros ended up outside the ac verbatim
blob. fix it.
Derrick Brashear [Tue, 6 Jan 2009 13:40:04 +0000]
netrestrict-no-wildcard-
20090106
LICENSE IPL10
don't misadvertise network wildcard support
Jeffrey Altman [Mon, 5 Jan 2009 23:12:54 +0000]
rx-do-not-race-current-packet-
20090105
LICENSE MIT
Throughout rx_rdwr.c functions allocate a register variable 'cp'
which is used to optimize access to call->currentPacket.
Unfortunately, if the call->lock is dropped (for example, CV_WAIT)
the synchronization between the two is lost. This delta re-syncs
'cp' and call->currentPacket after each location where the call->lock
may be dropped.
Jeffrey Altman [Mon, 5 Jan 2009 18:16:44 +0000]
windows-license-smgl2rtf-
20090105
LICENSE MIT
Ensure that the input string is nul terminated and then instruct
WideCharToMultiByte to compute the length itself instead of passing
in a value that is very likely to be wrong.
Jeffrey Altman [Mon, 5 Jan 2009 16:20:08 +0000]
windows-afsd-freelance-
20090105
LICENSE MIT
Bring a bit more sanity to the Freelance code:
1. Add functions cm_FreelanceFetchMountPointString and
cm_FreelanceFetchFileType to cm_freelance.c. These functions
permit the MountPointString and FileType to be obtained within
cm_GetSCache without requiring knowledge of data structures
that should be private to cm_freelance.c
2. Enforce the rule that odd vnode values are directory objects.
The root directory is 1 and everything else must be a multiple
of two.
3. Use the unique field as an index into the localMountPoints
array.
4. Fix cm_GetCallback to process freelance data refreshes on
all objects in the freelance volume not just the root directory.
If this is not done, an access to \\afs\foo prior to \\afs\all
being evaluated will cause an unnecessary attempt to send a
fetch status request to a file server and produce an alldown
error.
Jeffrey Altman [Mon, 5 Jan 2009 00:00:08 +0000]
rx-packet-count-debugging-
20090104
LICENSE MIT
change C preprocessor symbol required for packet count debugging
to RXDEBUG_PACKET
Jeffrey Altman [Sun, 4 Jan 2009 19:19:31 +0000]
windows-client-config-manifest-
20090104
LICENSE MIT
FIXES 123889
reverse change from
20081226. removing the auto-generated manifest
removes the manifest binding to the run time library. The reason
two manifests are specified is that we are merging them.
Jeffrey Altman [Mon, 29 Dec 2008 22:36:32 +0000]
rx-packet-count-debugging-
20081229
LICENSE MIT
Validating the state of the rx library is hard. This patch makes it
a bit easier to validate from within crash dumps (or on Windows in
"fs memdump" output) whether rx packets and calls are in a sane state.
When the library is compiled with -DDEBUG the rx_call and rx_packet
data structures are extended to include a linked list of all allocated
objects and counters are added to track the number of packets on each
of the transmit, receive, and iovec queues.
This compliments the tracking of packet states via RX_PKTFLAGs.
For Windows, rx_DumpCalls and rx_DumpPackets functions are added
that will dump the state of all allocated calls and packets (in Checked
build) in response to a "fs memdump" command. These functions are
exported from afsrpc.dll.
Andrew Deason [Mon, 29 Dec 2008 21:26:00 +0000]
libuafs-updates-
20081229
LICENSE IPL10
FIXES 124072
adds ATTR_* constants for UKERNEL code, and makes use
of them. Without this in some cases updating file metadata will also
update unrelated metadata (e.g. truncating a file changes the mode
bits).
adds threadsafe positional i/o calls to
afs_usrops.c: uafs_pwrite and uafs_pread, allowing for threadsafe
libuafs i/o.
changes the types of some fs-related
variables to be more "correct", I think (off_t for offsets, mode_t for
file mode, etc), it fixes a bug where nDaemons is not correctly set from
the uafs_Init parameter, fixes a segfault in uafs_open when O_CREAT is
specified, initializes a couple of static vars, "#if 0"s out code that
copies tokens from kernel-space to user-space (doesn't seem to work from
what I've seen, and the current code crashes on clientless Solaris
machines from being killed by SIGSYS)
Derrick Brashear [Mon, 29 Dec 2008 17:29:06 +0000]
macos-103-fixes-
20081229
LICENSE IPL10
make macos 10.3 work again