Jeffrey Hutzelman [Mon, 17 Mar 2008 17:48:35 +0000]
linux-nfstrans-readme-
20080317
LICENSE IPL10
readme for linux nfs translator and extensions
Derrick Brashear [Mon, 17 Mar 2008 17:14:01 +0000]
volser-handle-malloc-failure-
20080317
LICENSE IPL10
allocate memory for all rx OUT parameters in stubs to avoid crashes.
Mattias Pantzare [Mon, 17 Mar 2008 16:51:55 +0000]
solaris11-update-
20080317
LICENSE IPL10
update solaris 11. probably we should do configure tests instead for
these things, since they're sort of "moving target"
Steven Jenkins [Mon, 17 Mar 2008 16:39:03 +0000]
dafs-readme-
20080317
LICENSE IPL10
update README to mention DAFS setup and build options
Tom Keiser [Mon, 17 Mar 2008 17:06:30 +0000]
dafs-accurately-track-inuse-
20080317
LICENSE IPL10
keep accurate tabs on whether a volume is "in use" so we don't end up with volume state that's nonsensical.
====================
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
keep accurate tabs on whether a volume is "in use" so we don't end up with volum
e state that's nonsensical.
====================
LICENSE IPL10
keep accurate tabs on whether a volume is "in use" so we don't end up with volum
e state that's nonsensical.
Derrick Brashear [Mon, 17 Mar 2008 15:38:15 +0000]
rx-clock-backward-detection-
20080317
LICENSE IPL10
if the clock goes backwards, detect it and reset any rx events to run in a timely manner
Steven Jenkins [Fri, 14 Mar 2008 18:05:00 +0000]
demand-attach-docs-
20080314
LICENSE IPL10
Additional documentation for the demand attach file server, plus a state
diagram.
Jeffrey Altman [Fri, 14 Mar 2008 16:53:37 +0000]
windows-callback-
20080314
LICENSE MIT
Protect against a null volp
Jeffrey Altman [Fri, 14 Mar 2008 16:16:14 +0000]
windows-max-volumes-
20080314
LICENSE MIT
Propagate the max volumes value into cm_memmap
Tom Keiser [Fri, 14 Mar 2008 04:41:20 +0000]
vol-dafs-aix-fixes-
20080313
LICENSE IPL10
FIXES 88087
* xlc doesn't support the inline keyword unless C99 is enabled
* xlc won't parse enumerations with trailing commas
Simon Wilkinson [Thu, 13 Mar 2008 13:42:06 +0000]
lwp-fixprotos-
20080313
LICENSE IPL10
FIXES 89857
make everything match, and make *ep take void and not a pointer
Jeffrey Altman [Thu, 13 Mar 2008 12:56:31 +0000]
rx-mutex-interlocked-macros-
20080312
LICENSE IPL10
fix from sxw@inf.ed.ac.uk
Jeffrey Altman [Thu, 13 Mar 2008 04:37:44 +0000]
windows-remove-scache-volp-
20080312
LICENSE MIT
The cm_scache structure has included a reference to the associated cm_volume_t,
volp. By doing so the reference count on the cm_volume_t objects never hits
zero unless all of the cm_scache_t objects in that volume have been reused.
This prevents cm_volume object recycling.
This commit removes the hard reference and instead adds a function
cm_GetVolumeByFID which obtains a reference to the cm_volume that matches
the cm_scache fid value as needed.
A new "Volumes" registry value is added to permit explicit specification
of the number of volume objects to be allocated.
Marc Dionne [Thu, 13 Mar 2008 02:23:57 +0000]
linux-2625-
20080312
LICENSE IPL10
add missing bits
Jeffrey Altman [Wed, 12 Mar 2008 05:46:01 +0000]
windows-client-config-pt-
20080311
LICENSE MIT
typo in pt_BR language resource file
Jeffrey Altman [Wed, 12 Mar 2008 05:12:54 +0000]
rx-no-interlockedadd-
20080311
LICENSE IPL10
InterlockedAdd is only supported on Itanium
Steven Jenkins [Wed, 12 Mar 2008 01:28:00 +0000]
man-page-fileserver-update-
20080311
LICENSE IPL10
Update the fileserver documentation for demand-attach and add documentation
of other missing options and notes where some options are only applicable
with particular builds.
Jeffrey Altman [Tue, 11 Mar 2008 18:23:23 +0000]
rx-mutex-interlocked-macros-
20080311
LICENSE IPL10
Introduce a new set of macros that can be used to permit either mutex
based protection or Interlocked operation protection increments,
decrements, or additions.
rx_MutexIncrement(object, mutex)
rx_MutexAdd(object, addend, mutex)
rx_MutexDecrement(object, mutex)
rx_MutexAdd1Increment2(object1, addend, object2, mutex)
rx_MutexAdd1Decrement2(object1, addend, object2, mutex)
For Windows these are implemented with the Interlocked operations
for other platforms the existing mutex is relied upon.
Only a subset of the rx_stats parameters have been transitioned at the
current time.
Simon Wilkinson [Tue, 11 Mar 2008 17:46:58 +0000]
lwp-protoize-
20080310
LICENSE IPL10
protoize lwp. make it match pthreads' idea of createprocess
Jeffrey Altman [Tue, 11 Mar 2008 17:00:18 +0000]
windows-lwp-proto-
20080311
LICENSE IPL10
Fix breakage caused by recent lwp prototyping.
Derrick Brashear [Mon, 10 Mar 2008 18:50:47 +0000]
linux-2625-
20080310
LICENSE IPL10
adapted from marc dionne's patch, but works more directly like the darwin port,
further, i'm guessing iget_locked will go away evewntually. maybe this is
too conservative?
Jeffrey Altman [Mon, 10 Mar 2008 18:16:29 +0000]
windows-client-config-misc-dlg-
20080310
LICENSE MIT
The Daemon and Server Threads fields were swapped.
Simon Wilkinson [Mon, 10 Mar 2008 16:44:16 +0000]
keyring-updated-
20080310
LICENSE IPL10
revise keyring patch to avoid detection problems with keyring_type_key
Derrick Brashear [Mon, 10 Mar 2008 16:22:12 +0000]
hpux-param-updates-
20080310
LICENSE IPL10
based on suggestion from cg2v@andrew.cmu.edu
Jeffrey Altman [Sun, 9 Mar 2008 15:21:39 +0000]
windows-afs-execute-only-
20080309
LICENSE MIT
If we want to enforce the open for read flag in smb_ReadData we must
also check for execute access. We map execute access to read access
because AFS doesn't have a separate permission for that.
Jason Edgecombe [Sun, 9 Mar 2008 05:57:29 +0000]
man-page-afsd-afsdb-
20080308
LICENSE BSD
FIXES 89288 89289
Reference RFC 1183 in the AFSDB documentation.
Simon Wilkinson [Sun, 9 Mar 2008 01:40:14 +0000]
pt-util-com-err-
20080308
LICENSE IPL10
prototype afs_error_message() to ensure correct behavior on 64-bit
systems with 32-bit int.
Jeffrey Altman [Sat, 8 Mar 2008 23:38:08 +0000]
windows-installer-rxmaxmtu-setting-
20080308
LICENSE MIT
change the RxMaxMtu setting to 0 to restore default
behavior (aka performance). The Cisco VPN 5.0.01.0600
client no longer requires a reduced mtu size for compatibility
with AFS.
Jeffrey Altman [Sat, 8 Mar 2008 23:31:52 +0000]
windows-config-
20080308
LICENSE MIT
raise the daemon count to 4 now that we have a means of avoiding
contention
raise the tracebufsize to 10000 entries
Jeffrey Altman [Sat, 8 Mar 2008 23:23:48 +0000]
windows-syscfg-getifinfo-
20080308
LICENSE MIT
syscfg_GetIFInfo() obtains the current list of IP addresses.
Its a really expensive operation. Call the function once
and cache the data until the next IP address change instead
of calling it everytime we receive a WhoAreYou or construct a
new server object. Adds a new global rw lock, cm_syscfgLock
Jeffrey Altman [Sat, 8 Mar 2008 23:17:45 +0000]
windows-scache-
20080308
LICENSE MIT
do not discard data buffers we wish to keep
Jeffrey Altman [Sat, 8 Mar 2008 23:15:54 +0000]
windows-performance-deadlock-
20080308
LICENSE MIT
correct a deadlock when calling HaveCallback
Jeffrey Altman [Sat, 8 Mar 2008 15:43:45 +0000]
windows-cm-callback-remove-call-mutex-hold-
20080308
LICENSE MIT
Remove all of the code in #ifdef HOLD_CALL_MUTEX as we no longer
use it.
Jeffrey Altman [Sat, 8 Mar 2008 14:15:43 +0000]
windows-eventlog-
20080308
LICENSE MIT
we need set privilege not query privilege
Jeffrey Altman [Fri, 7 Mar 2008 22:22:21 +0000]
windows-cm-performance-tuning-
200803007
LICENSE MIT
This is a first cut at a cache manager statistics monitor
that can be used to determine the necessary cache parameters
to support the working set.
Off by default the performance package can be activated
by setting "daemonPerformanceTuningInterval" in the service
Parameters key. As with the other daemon interval values
the unit is in seconds.
At service start and each succeeding interval the cache
manager will write statistics to %TEMP%\afsd_performance.txt
showing the relative usage of cm_scache_t, cm_volume_t and
cm_buf_t objects. The FID statistics keep track of all FIDs
seen by the cache manager during the service session whether
or not they are backed by any live object in the cache.
These statistics are not stored in the cache file.
Jeffrey Altman [Fri, 7 Mar 2008 22:14:41 +0000]
windows-cm-conn-
20080307
LICENSE MIT
Convert cm_conn_t reference counts to use Interlocked operations.
This permits several cm_serverLock holds to be converted to read
locks.
Add string translation for VL errors to cm_Analyze().
Permit RXKAD errors other than RXKADEXPIRED to be treated as
non-fatal. Instead immediately retry an alternate server if
there is one. This will permit the client to continue to
access replicated data from an alternate site if one of the
file servers is misconfigured.
Jeffrey Altman [Fri, 7 Mar 2008 22:07:40 +0000]
windows-cm-server-interlocked-
20080307
LICENSE MIT
Convert cm_server_t reference counts to use Interlocked
operations. This permits almost all of the cm_serverLock
holds to be converted to read locks.
Add missing cm_PutServerNoLock() calls in the multi_Rx
version of cm_CheckServers(). (Thanks to Asanka)
Jeffrey Altman [Fri, 7 Mar 2008 22:02:22 +0000]
windows-vl-noent-response-
20080308
LICENSE MIT
Prior to looking up a volume in the vldb the cm_volume_t
object is constructed. If the response is VL_NOENT the
cm_volume_t object should be removed and place at the
head of the recycling list so that we do not recycle
something we might actually care about.
Convert more cm_volumeLock holds to read locks now
that we are using Interlocked operations to manipulate
the reference counts.
Jeffrey Altman [Fri, 7 Mar 2008 17:44:40 +0000]
windows-scache-verification-
20080307
LICENSE MIT
Add a hash value verification check for stat cache entries
Jeffrey Altman [Fri, 7 Mar 2008 17:37:35 +0000]
windows-rxstats-default-
20080307
LICENSE MIT
set the defaults for RxEnablePeerStats and RxEnableProcessStats back
to 1 (on) so admins are not surprised.
Simon Wilkinson [Fri, 7 Mar 2008 17:30:19 +0000]
fakestat-access-for-nautilus-
20080307
LICENSE IPL10
in order that nautilus' .directory checks can work without stat()ing every damn
thing, do what we do for the mac, basically.
Jeffrey Altman [Fri, 7 Mar 2008 15:35:38 +0000]
windows-smb-writedata-crash-
20080307
LICENSE MIT
FIXES 88731
If an application opens a file for read only and then attempts to
write to it, we would attempt to release an scp mutex without having
obtained either the scp or the mutex within smb_WriteData
There was no check in smb_ReadData to ensure that the file was opened
for reading. Add one.
Jeffrey Altman [Fri, 7 Mar 2008 01:03:45 +0000]
windows-interlocked-volume-refcount-
20080306
LICENSE MIT
Switch cm_volume_t objects to InterlockedIncrement/InterlockedDecrement
for reference counting.
Remove protections against null pointers being passed into cm_GetVolume()
Instead, do not call cm_GetVolume() if the pointer is NULL.
Fix a buffer data version comparison that should be bad version number
instead of <= 0.
Derrick Brashear [Thu, 6 Mar 2008 16:54:33 +0000]
dafs-restarting-error-change-
20080306
LICENSE IPL10
on VSALVAGE the client will correctly resort its list and fail over to
other replicas, but only for RO where there is more than one replica,
obviously; since in dafs we expect to only delay on salvage this is the most
useful course of action
Derrick Brashear [Thu, 6 Mar 2008 16:41:14 +0000]
pioctl-settoken-malloc-fail-check-
20080206
LICENSE IPL10
avoid malloc failure panic (oops)
Jeffrey Altman [Thu, 6 Mar 2008 14:33:09 +0000]
windows-afsd-misc-
20080306
LICENSE MIT
(1) an attempt to make better use of bandwidth from the BkgDaemon threads
by preventing the thread from blocking on a vnode that is already
storing data in another thread
(2) prevents CM_SCACHEFLAG_ASYNCSTORE from being reset on a write failure.
(3) fixes cm_EvaluateSysName to avoid accessing uninitialized memory
(4) prevents a lock leak if the symlink's mountpointstring is too long.
(This could never actually happen but better to correct the code.)
Derrick Brashear [Wed, 5 Mar 2008 21:51:19 +0000]
large-partition-support-
20080305
LICENSE IPL10
FIXES 88811
support partitions over 2tb
Jeffrey Altman [Mon, 3 Mar 2008 04:24:17 +0000]
windows-scache-mx-to-rw-
20080302
LICENSE MIT
Replace the cm_scache_t mutex with a rwlock permitting a small amount
of additional parallelization in places where it is safe to use read
locks instead of write locks. All functions that eventually call
cm_SyncOp must use write locks.
Jeffrey Altman [Sun, 2 Mar 2008 21:53:42 +0000]
windows-cm_buf-
20080302
LICENSE MIT
remove unused constants, data structures and fields
Jeffrey Altman [Sat, 1 Mar 2008 18:58:54 +0000]
windows-asyncstore-again-
20080301
LICENSE MIT
must write the entire asyncstoresize otherwise dirty buffers are left
for writing by buf_IncrSync thread.
Jeffrey Altman [Sat, 1 Mar 2008 18:56:23 +0000]
windows-buf-more-clean-vnode-speedups-
20080301
LICENSE MIT
do not call buf_CleanAsync if you know the buffer isn't dirty
Jeffrey Altman [Sat, 1 Mar 2008 17:43:16 +0000]
windows-freelance-
20080301
LICENSE MIT
when support for multiple valid buffer data versions was added
forget to remove the force dv change from the freelance code.
this broken automatic additions of new mount points.
Jeffrey Altman [Sat, 1 Mar 2008 16:28:53 +0000]
windows-buf-mx-
20080301
LICENSE MIT
further reductions in buffer mutex acquisition churn
Jeffrey Altman [Sat, 1 Mar 2008 15:59:07 +0000]
windows-eventlog2-
20080301
LICENSE MIT
set the registry values on each start. otherwise, we will never update
the incorrect entries left over from previous installs.
Jeffrey Altman [Sat, 1 Mar 2008 15:37:09 +0000]
windows-eventlog-
20080301
LICENSE MIT
somewhere along the way Microsoft stopped opening Event Message files
explicitly. Instead they search the PATH environment variable for
the specified file. I think this is broken but simply registering
"afsd_service.exe" instead of the fully qualified path works.
Jeffrey Altman [Sat, 1 Mar 2008 04:29:17 +0000]
windows-smb-asyncstore-
20080229
LICENSE MIT
fix it
Jeffrey Altman [Fri, 29 Feb 2008 22:50:54 +0000]
windows-cm-buf-misc-
20080229
LICENSE MIT
(1) Add an undocumented store behind mode for use in testing. Set
EnableSMBAsyncStore to 2. When set all smb_WriteData calls are
background writes, all calls to cm_FSync are skipped and file close
operations do not block for dirty buffers to be written. This
permits all writes to be performed in the buf_IncrSyncer thread.
(2) Do not use I64 in osi_Log() format strings as all parameters are
converted to size_t which is 32-bit on 32-bit Windows.
(3) Reduce the number of times the cm_buf_t mutex is obtained, dropped,
obtained, dropped in buf_IncrSyncer
(4) In buf_CleanAsyncLocked, request that a full chunk be written instead
of just the current buffer. cm_SetupStoreBIOD will stop at the
first clean buffer. This reduces the overall number of RPCs that
must be performed.
(5) Define CM_BUF_VERSION_BAD and use it instead of -1.
Jeffrey Altman [Fri, 29 Feb 2008 15:45:21 +0000]
windows-dnlc-
20080229
LICENSE MIT
even if dnlc is not going to be used, the data structures must
still be initialized as they are in the cache file.
Simon Wilkinson [Fri, 29 Feb 2008 15:07:08 +0000]
configure-enable-warnings-
20080228
LICENSE IPL10
add a switch to turn on warnings when using gcc
Kevin McBride [Fri, 29 Feb 2008 04:41:50 +0000]
checkauth-unlock-before-return-
20080228
LICENSE IPL10
only matters once you have pthreads, but...
Jeffrey Altman [Fri, 29 Feb 2008 01:26:45 +0000]
windows-libadmin-closesocket-
20080228
LICENSE MIT
On Windows close() does not apply to sockets, use closesocket()
instead.
Jeffrey Altman [Thu, 28 Feb 2008 18:21:53 +0000]
windows-buf-deadlock-
20080228
LICENSE MIT
avoid deadlock in buf_FlushCleanPages().
cannot obtain buffer mutex after a successful
Stabilize call because the scp will be be locked
and obtaining buffer mutex after scache mutex
is a lock order violation.
Jeffrey Altman [Thu, 28 Feb 2008 17:16:28 +0000]
windows-smb-lock-timeouts-
20080228
LICENSE MIT
Attempts to open files which are already write-locked by another
client took forever to return a lock not granted error. This
was because cm_Analyze() would retry the lock request for up to
the RDRtimeout in response to the EAGAIN error. The problem
was that cm_IntSetLock() was not setting the CM_REQ_NORETRY flag.
While examining this issue, discovered two other things:
(1) the infinite wait logic on lock request processing was broken
(2) the cancel outstanding lock request logic wasn't implemented
(3) cm_Analyze() would put the thread to sleep even when retries
were not permitted.
Also removed a number of compile time warnings.
Derrick Brashear [Wed, 27 Feb 2008 22:26:31 +0000]
arm-lwp-adm-
20080227
LICENSE IPL10
don't use ucontext lwp on arm linux
Jeffrey Altman [Wed, 27 Feb 2008 17:03:30 +0000]
windows-osi-convertRToW-and-logging-optimizations-
20080227
LICENSE MIT
Add lock_convertRToW which permits a read-lock to be upgraded to a
write lock. If the caller is the only reader it permits a fast
transition otherwise it adds the caller to the waiters queue.
In the osi_Log macros, check to see if the log is enabled before making
the function call. This avoids significant function call overhead.
In the cache manager, make use of the above.
Jeffrey Altman [Wed, 27 Feb 2008 04:53:45 +0000]
windows-dnlc-
20080226
LICENSE MIT
Remove race conditions in the statistics code by switching to
Interlocked functions.
Speed up cm_dnlcEnter() by searching first with a read lock and
then switching to a write lock if not found.
Add HKLM\SOFTWARE\OpenAFS\Client registry values "UseDNLC" and "Debug"DNLC".
I suspect with the B+tree code that the DNLC is unnecessary overhead but
leave it on by default for now.
Jeffrey Altman [Tue, 26 Feb 2008 04:13:16 +0000]
viced-cleanup-old-addresses-as-they-become-invalid-
20080225
LICENSE IPL10
otherwise we can end up with stale addresses when a client uses then leaves an
address never to return
Jeffrey Altman [Mon, 25 Feb 2008 22:19:49 +0000]
windows-force-anon-vldb-
20080225
LICENSE MIT
For organizations with krb5 aware file servers but transarc or old openafs
vldb servers, add force anonymous vldb lookup option
HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
DWORD "ForceAnonVLDB" (default is 0)
Jeffrey Hutzelman [Mon, 25 Feb 2008 20:38:09 +0000]
threadquota-enforcement-fixes-
20080225
LICENSE IPL10
FIXES 87416
correctly set and unset HWHO_INPROGRESS as we pass through host probing package.
also, do not block on lock checking for HOSTDELETED. instead, return a null host
and VBUSY; restructure code to allow returning a null host with prejudice.
Jeffrey Altman [Mon, 25 Feb 2008 19:34:44 +0000]
windows-volume-logsavestring-
20080225
LICENSE MIT
remember to save the volume name when logging
Jeffrey Altman [Mon, 25 Feb 2008 15:31:21 +0000]
windows-smb-asyncstoresize-
20080225
LICENSE MIT
Further testing on the 115KB AT&T Edge connection shows that 128KB
provides reasonably robust performance with six simultaneous copies of
multi-MB files to AFS.
Jeffrey Altman [Mon, 25 Feb 2008 05:33:54 +0000]
windows-smb-async-store-
20080224
LICENSE MIT
Add two new configuration knobs to control the behavior of smb_WriteData.
HKLM\SOFTWARE\OpenAFS\Client
DWORD EnableSMBAsyncStore (default: 1)
DWORD SMBAsyncStoreSize (default: 32K)
Instead of tying the async store size to either the chunksize (too large)
or the buffer block size (too small) provide an intermediate value that
can be independently controlled.
In the future it would be desireable for the async store size to be
dynamically determined based upon measurable characteristics of the
network. In the meantime, 32KB is an acceptable performance compromise
that should work well on 1Gbit networks and low-speed cellular networks.
Derrick Brashear [Mon, 25 Feb 2008 04:57:47 +0000]
nulluuid-check-only-valid-input-
20080224
LICENSE IPL10
as reported by jhutz@cmu.edu
Jeffrey Altman [Sun, 24 Feb 2008 15:33:52 +0000]
windows-scache-clean-bufs-
20080224
LICENSE MIT
In MergeStatus, only remove clean buffers from the hash table.
Jeffrey Altman [Sun, 24 Feb 2008 06:31:54 +0000]
windows-buf-data-versions-
20080224
LICENSE MIT
An implementation of Asanka's idea.
Avoid the need to update the data version number on each buffer associated
with a scache when MergeStatus is called after a StoreData by maintaining
a range of valid data versions as part of the cm_scache_t object.
Jeffrey Altman [Sun, 24 Feb 2008 06:27:38 +0000]
windows-optimize-access-
20080224
LICENSE MIT
profiling shows large numbers of blocked calls in cm_HoldSCache
from cm_HaveAccess... We can safely avoid the call so do so.
Asanka Herath [Sat, 23 Feb 2008 21:35:56 +0000]
windows-checkntopen-
20080223
LICENSE MIT
do not forget to call cm_SyncOpDone if cm_SyncOp succeeded
Jeffrey Altman [Sat, 23 Feb 2008 21:12:54 +0000]
windows-buf-createlock-
20080223
LICENSE MIT
Do not leak a read lock on the bufCreateLock
Add logging to cm_CheckNTOpen[Done]
Jeffrey Altman [Sat, 23 Feb 2008 07:27:17 +0000]
windows-buf-scache-interlock-
20080222
LICENSE MIT
Improve parallelism by using InterlockedIncrement and InterlockedDecrement
to adjust the refCount fields of cm_buf_t and cm_scache_t objects. This
permits read locks to be used for increments and decrements but requires
a write-lock to perform any actions based upon the refCount hitting zero.
Inline cm_FidCmp to further improve performance.
Remove unused variables.
Jeffrey Altman [Sat, 23 Feb 2008 00:15:22 +0000]
windows-afsd-
20080222
LICENSE MIT
1. Change RxEnableHotThread default to 'on'
2. Add a 'hash' value to the cm_fid_t structure in order to speed up cm_FidCmp().
Add cm_SetFid() for use in constructing a fid complete with the hash.
3. Redefine the BUF_HASH and BUF_FILEHASH in terms of the cm_fid_t hash which
has a better distribution
4. Modify cm_ConsiderPrefetch to evaluate the amount of data in the most recent
read request instead of the next chunkSize. cm_chunkSize can be dozens or
hundreds of buffers. As a result too much time is spent performing the
evaluation.
5. Fix the usage of cm_scache_t bufCreateLock. The purpose of this lock is
to prevent the creation of new buffers while a truncation is being performed.
All references to bufCreateLock have been removed except in two places:
i. a write-lock surrounding the function that calls buf_Truncate()
ii. a read-lock within buf_GetNewLocked() that actually allocates new
buffers
6. Modify the CM_CONFIG_DATA_MAGIC value to include a CM_CONFIG_DATA_VERSION
number which value be used to force the replacement of the cache file
contents when incompatible changes are made between releases.
7. CM_SCACHESYNC_ASYNCSTORE should not be ordered by cm_SyncOpCheckContinue
8. Avoid calls to multi_Rx if nconns == 0
9. Modify smb_WriteData to perform background writes based upon the crossing
of buf_blockSize boundaries instead of cm_chunkSize boundaries. This will
slow down writes from the SMB interface but will avoid the risk of
the CIFS client disconnecting from the AFS client SMB server.
Derrick Brashear [Wed, 20 Feb 2008 21:31:02 +0000]
debian-packaging-update-
20080220
LICENSE IPL10
Russ' metadata, repacked into our tree
Derrick Brashear [Wed, 20 Feb 2008 20:18:03 +0000]
vos-addsite-pod-error-
20080220
LICENSE IPL10
Item is not item
Derrick Brashear [Wed, 20 Feb 2008 20:07:51 +0000]
urecovery-invalidate-without-truncate-
20080220
LICENSE IPL10
critical to label the database invalid when we don't truncate so recovery finishes.
issue in 84609 remains.
Jeffrey Altman [Wed, 20 Feb 2008 17:35:45 +0000]
windows-smb-locking-
20080220
LICENSE MIT
minor improvements to smb_rctLock usage.
Jeffrey Altman [Wed, 20 Feb 2008 17:32:53 +0000]
windows-rx_enable_hot_thread-
20080220
LICENSE MIT
Add RxEnableHotThread registry option to permit rx_enable_hot_thread
to be set. The default is off for the moment but turning it on does
provide significant performance benefits.
Jeffrey Altman [Wed, 20 Feb 2008 17:17:21 +0000]
rx-osi_socket-
20080220
LICENSE MIT
The portable type to be used for sockets is osi_socket not int.
On 64-bit Windows this caused failures when hot threads were enabled.
Jason Edgecombe [Tue, 19 Feb 2008 15:25:17 +0000]
man-page-updates-
20080219
LICENSE IPL10
FIXES 86677
note 2tb limit, add fs minidump document
Mike Meffie [Tue, 19 Feb 2008 15:07:24 +0000]
s390x-not-s390-
20080219
LICENSE IPL10
don't try to link multiple things to asm
Rainer Toebbicke [Tue, 19 Feb 2008 14:29:42 +0000]
viced-rmdir-fid-leak-
20080219
LICENSE IPL10
FIXES 86786
Derrick Brashear [Tue, 19 Feb 2008 04:10:44 +0000]
windows-name-entries-
20080218
LICENSE IPL10
restore the original behavior. Fixes smb_ReceiveTran2SearchDir().
Derrick Brashear [Tue, 19 Feb 2008 03:39:06 +0000]
arm-linux26-syscall-missing-
20080218
LICENSE IPL10
there's nothing non-political about this. whatever.
Derrick Brashear [Mon, 18 Feb 2008 19:19:12 +0000]
viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-
20080218
LICENSE IPL10
my code, though, this is a result of a problem reported by Chaskiel Grundman and analysis by him, Jeff Altman and myself.
I'm just checking in my implementation. In any case, the issue this addresses
is one where we can end up in makecall_waiting in rx on multiple connections
when we multibreakcallback because the lists are sorted differently and each has "pending" calls on a different connection. by sorting by index we will not
block on another caller while also holding what they're after
Jeffrey Altman [Mon, 18 Feb 2008 17:33:45 +0000]
windows-do-not-discard-badtickets-
20080218
LICENSE MIT
The RXKADBADTICKET error is returned when a krb5 derived token is sent
to a server that does not support them. In a mixed cell it is possible
that some servers were not updated. Discarding the token does not make
it possible to perform the request successfully and adversely affects
the user experience because those servers that do support the token
can no longer be accessed in an authenticated manner. Users can't
determine what the cause is, all they see are their tokens disappearing
and there is nothing they can do about it anyway.
From now on return STATUS_NO_KERB_KEY and do not retry.
Jeffrey Altman [Mon, 18 Feb 2008 17:27:48 +0000]
rx-stats-optimization-
20080218
LICENSE IPL10
Do not grab the peer mutex or the rpc stats mutex if we are not
intending to collect stats. Doing so is a bottleneck.
Jeffrey Altman [Mon, 18 Feb 2008 14:13:59 +0000]
windows-afskfw-
20080218
LICENSE MIT
if we are going to insert the full ccache name then we must search by
it as well.
Jeffrey Altman [Mon, 18 Feb 2008 05:52:34 +0000]
windows-share-parse-
20080217
LICENSE MIT
add srvsvc and wkssvc to reserved names in smb_ShareParse.
include slash in ipc$ reference in dfs referrals check.
Asanka Herath [Sun, 17 Feb 2008 14:33:26 +0000]
windows-netidmgr-extension-sample-
20080217
LICENSE MIT
A sample template for constructing Network Identity Manager OpenAFS
Provider Extensions for obtaining and identifying new token types.
Jeffrey Altman [Sun, 17 Feb 2008 05:58:13 +0000]
windows-invalidate-file-locks-vnovnode-
20080217
LICENSE MIT
Upon receiving a VNOVNODE error from a file server, be sure to
invalidate any file locks. This prevents on-going attempts to
extend the locks and will cause subsequent attempts to access
the file to receive a invalid handle error.
Jeffrey Altman [Sun, 17 Feb 2008 05:26:51 +0000]
windows-buf-consistency-
20080217
LICENSE MIT
All calls to buf_Get() must be protected by a read lock on the
cm_scache_t bufCreateLock
When a MergeStatus results in the invalidation of buffers, do
not remove buffers from the hash tables that have active references.
Jeffrey Altman [Fri, 15 Feb 2008 03:31:04 +0000]
windows-check-offline-volumes-
20080214
LICENSE MIT
when checking offline volumes, update the cell vlserver info
if required and don't perform a check if there are no servers
in the list.