Simon Wilkinson [Mon, 27 Oct 2008 23:53:23 +0000]
initialize-variables-to-avoid-logic-issues-
20081027
LICENSE IPL10
make sure any variable whose value is used will be initialized before that
value is used. (these aren't just warnings)
Simon Wilkinson [Mon, 27 Oct 2008 23:41:02 +0000]
kill-uninitialized-variable-warnings-
20081026
LICENSE IPL10
kill lots of compiler warnings
Jeffrey Altman [Sun, 26 Oct 2008 21:52:29 +0000]
windows-pioctl-drive-map-
20081026
LICENSE MIT
a remote drive connection may not be mapped to a local drive letter.
Jeffrey Altman [Sun, 26 Oct 2008 21:16:57 +0000]
rx-rdwr-avoid-free-null-packet-
20081026
LICENSE MIT
avoid a potential call to rxi_FreePacket with a NULL pointer as input
Jeffrey Altman [Sun, 26 Oct 2008 07:50:39 +0000]
ptutils-restricted-accessok-
20081025
LICENSE MIT
Fix restricted mode test when 'any' is not set on AccessOK
Simon Wilkinson [Sun, 26 Oct 2008 01:45:45 +0000]
exporter-call-gethost-method-correctly-
20081025
LICENSE IPL10
actually call the correct method for EXP_GETHOST
Simon Wilkinson [Sun, 26 Oct 2008 01:04:12 +0000]
rx-rwlock-cleanup-
20081025
LICENSE IPL10
make the rwlock patch actually build everywhere
Simon Wilkinson [Sun, 26 Oct 2008 00:59:55 +0000]
aklog-chatty-
20081025
LICENSE IPL10
make aklog not accidentally be chatty
Derrick Brashear [Fri, 24 Oct 2008 22:07:01 +0000]
darwin-kernel-rwlocks-
20081023
LICENSE IPL10
convert to kernel rwlocks on darwin
Derrick Brashear [Fri, 24 Oct 2008 21:59:52 +0000]
rx-atomics-for-solaris-and-darwin-
20081023
LICENSE IPL10
support atomics on osx and solaris
Jeffrey Altman [Fri, 24 Oct 2008 21:38:56 +0000]
rx-rw-locking-
20081024
LICENSE BSD
rename RWLOCK_INIT to AFS_RWLOCK_INIT in order to maintain naming
consistency and to distinguish them from the new RWLOCK_INIT macros
being used in rx.
====================
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
add rx/rx_internal.h as a dependency
====================
LICENSE BSD
define RWLOCK_xxx operations
replace MUTEX_xxx operations with RWLOCK_xxx when it is appropriate
to do so. This improves concurrency on multi-processor systems.
make additional use of atomic operations
Jeffrey Altman [Wed, 22 Oct 2008 02:25:25 +0000]
windows-reformatting-
20081021
LICENSE MIT
reformat some of the recent changes
cast away warnings on 64-bit windows
Derrick Brashear [Tue, 21 Oct 2008 19:36:35 +0000]
fd-setsize-test-
20081021
LICENSE BSD
a test so we can deal with platforms which don't honor FD_SETSIZE
Derrick Brashear [Tue, 21 Oct 2008 14:44:50 +0000]
linux24-writepage-antideadlock-
20081021
LICENSE IPL10
also make this work for 2.4.x
Derrick Brashear [Mon, 20 Oct 2008 20:29:26 +0000]
blacklist-move-init-checks-back-into-req-code-
20081020
LICENSE IPL10
revise things so we don't need to check initd outside analyze.c/InitReq
====================
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
since these end up being used, init them too
Derrick Brashear [Mon, 20 Oct 2008 13:38:07 +0000]
linux-mmap-antirecursion-
20081020
LICENSE IPL10
FIXES 120491
avoid deadlocking ourselves due to recursion when flushing pages on an
mmap()ed file larger than the cache
Marc Dionne [Mon, 20 Oct 2008 13:34:58 +0000]
autoconf-262-support-
20081020
LICENSE IPL10
FIXES 118058
fix the quoting and remove the tests we shouldn't need anymore
Derrick Brashear [Mon, 20 Oct 2008 13:03:44 +0000]
blacklist-check-only-existing-servers-
20081020
LICENSE IPL10
based on suggestion from haba@pdc.kth.se
Marc Dionne [Mon, 20 Oct 2008 13:01:34 +0000]
blacklistonce-use-only-initd-vrequest-
20081020
LICENSE IPL10
avoid using an un "initd" vrequest for server blacklisting
Asanka Herath [Mon, 20 Oct 2008 00:17:41 +0000]
windows-handle-invalid-utf16-names-
20081019
LICENSE MIT
FIXES 116641
Windows will deliver to OpenAFS UTF16 strings that are not valid Unicode
and cannot be converted to UTF8. Return bad file name errors in those
cases.
Make sure all file server strings once converted to UTF16 can be converted
back. If not, escape the invalid portions of the string so that the
file can be accessed.
Jeffrey Altman [Sun, 19 Oct 2008 23:50:21 +0000]
windows-smb-rdr-duration-logging-
20081019
LICENSE MIT
if an smb request takes longer than 45 seconds, log info to afsd_init.log
that might be helpful in determining patterns in the smb client disconnects
Jeffrey Altman [Sun, 19 Oct 2008 23:44:20 +0000]
windows-smb-bridge-nowild-error-handling-
20081019
LICENSE MIT
add the error preprocessor symbol to the error string
if both an NRC_BRIDGE and NRC_NOWILD error are received within
the smb_Listener thread, try re-adding the NetbiosName to the lana
before giving up and quiting.
Jeffrey Hutzelman [Sat, 18 Oct 2008 20:25:56 +0000]
newtrans-lock-fix-fix-
20081018
LICENSE IPL10
swap in the freshly allocated memory instead of throwing it away
Jeffrey Altman [Sat, 18 Oct 2008 18:01:07 +0000]
smb-symlink-to-vnovnode-attribute-
20081017
LICENSE MIT
When reporting the attribute of a directory name which happens to be
a symlink object to a file that cannot be accessed or does not exist,
use the target name to guess the type of the object. If it has an
extension, consider it a file, otherwise report it as a directory.
Jeffrey Altman [Sat, 18 Oct 2008 16:24:35 +0000]
ubik-uninitialized-var-
20081018
LICENSE MIT
'pass' must be initialized. do so.
Jeffrey Altman [Sat, 18 Oct 2008 16:23:13 +0000]
restore-uninitialized-var-
20081018
LICENSE MIT
'last' must be initialized. do so.
Jeffrey Altman [Sat, 18 Oct 2008 16:08:50 +0000]
fix-maxmtu-command-line-
20081018
LICENSE MIT
fix the variable used for maxmtu command line processing
Jeffrey Altman [Sat, 18 Oct 2008 14:12:19 +0000]
windows-pioctl-wnet-connected-
20081018
LICENSE MIT
refactor. consolidate netbios name acquistion.
Jeffrey Altman [Sat, 18 Oct 2008 07:19:17 +0000]
windows-pioctl-wnet-connected-
20081017
LICENSE MIT
use WNetEnumXXX functions to list connected disk resources.
If the requested drive letter is an AFS resource, perform the pioctl
test. If it is not, fail immediately.
Jeffrey Altman [Sat, 18 Oct 2008 05:44:51 +0000]
windows-reset-acl-list-
20081017
LICENSE MIT
Move definition of cm_ResetACLCache from cm_ioctl.c to cm_aclent.c
Jeffrey Altman [Sat, 18 Oct 2008 05:12:25 +0000]
windows-shell-extension-
20081017
LICENSE MIT
windows-afsreg-
20081017 wraps strings for wide char usage.
use the wide char versions of win32 apis to match.
Jeffrey Altman [Sat, 18 Oct 2008 05:09:44 +0000]
windows-afsreg-
20081017
LICENSE MIT
wrap all text strings with TEXT() to permit use with wide char functions
Jeffrey Altman [Fri, 17 Oct 2008 21:24:19 +0000]
windows-pthread-rwlock-
20081017
LICENSE MIT
Adds pthread rwlock support to the library.
Jeffrey Altman [Fri, 17 Oct 2008 02:41:12 +0000]
windows-install-nsis-
20081016
LICENSE MIT
update copyright dates
remove old AFS IFS entries
delete afslogon* and afscpcc.* from $SYSDIR
correct install location of afslogon.dll in WinLogon\Notify registry key
Jeffrey Altman [Thu, 16 Oct 2008 02:38:35 +0000]
windows-netbios-name-logging-
20081015
LICENSE MIT
log more data to afsd_init.log regarding events that
can cause the netbios name registration to become
invalid.
Jeffrey Altman [Thu, 16 Oct 2008 02:26:11 +0000]
windows-dnlc-
20081015
LICENSE MIT
FIXES 116641
Do not use the DNLC if the name when converted from Unicode is NULL.
Jeffrey Altman [Wed, 15 Oct 2008 14:50:51 +0000]
windows-checkVCs-
20081015
LICENSE MIT
FIXES 116641
Do not drop references to 'nextp' until we are done with the object.
Dropping the last reference can result in the object being destroyed.
Mike Meffie [Tue, 14 Oct 2008 15:38:30 +0000]
linux-alt-builddir-fix-
20081014
LICENSE IPL10
FIXES 121650
correct the if test to include missing x
Derrick Brashear [Sun, 12 Oct 2008 19:44:27 +0000]
linux-proc-walk-locking-
20081012
LICENSE IPL10
FIXES 116603
sort out rcu locking versus tasklist lock. if this fails we probably have to
disable walking entirely
Dragos Tatulea [Sun, 12 Oct 2008 19:10:05 +0000]
disconnected-rmdir-infinite-recursion-
20081012
LICENSE IPL10
FIXES 121226
fix infinite recursion when replaying rmdir transaction
Simon Wilkinson [Sun, 12 Oct 2008 19:06:27 +0000]
disconnected-getvcache-avoid-duplicate-work-
20081012
LICENSE IPL10
FIXES 121254
don't do duplicate work finding a vcache we already had
Stefaan De Roeck [Sun, 12 Oct 2008 19:01:58 +0000]
linux-alternate-kernel-builddir-
20081012
LICENSE IPL10
FIXES 121354
add support for KBUILD_OUTPUT=... builds.
Jeffrey Hutzelman [Sun, 12 Oct 2008 18:53:06 +0000]
volser-newtrans-racy-
20081012
LICENSE IPL10
FIXES 121263
avoid a race on creating new transactions in volserver
Dragos Tatulea [Sat, 11 Oct 2008 00:26:47 +0000]
doxygen-comments-
20081010
LICENSE IPL10
FIXES 98819 99069
add doxygen comments for some parts of openafs cache manager
====================
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
add doxygen comments for some parts of openafs cache manager
Derrick Brashear [Fri, 10 Oct 2008 17:25:29 +0000]
cachemgr-blacklist-down-servers-
20081010
LICENSE IPL10
FIXES 121035
fix to issue suggested by reuter@rzg.mpg.de
Jeffrey Hutzelman [Fri, 10 Oct 2008 15:42:10 +0000]
volser-dumpstuff-log-errors-
20081010
LICENSE IPL10
FIXES 121040
return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log
instead.
Harald Barth [Fri, 10 Oct 2008 12:50:52 +0000]
cmdebug-entry-count-
20081010
LICENSE IPL10
raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects
Derrick Brashear [Thu, 9 Oct 2008 19:56:43 +0000]
hpux-gop-lookupname-
20081009
LICENSE IPL10
add missing gop_lookupname macro for hpux
Derrick Brashear [Thu, 9 Oct 2008 19:54:06 +0000]
solaris-gop-lookupname-
20081009
LICENSE IPL10
add missing gop_lookupname macro for solaris
Derrick Brashear [Thu, 9 Oct 2008 13:55:19 +0000]
bypasscache-fix-linux24-
20081009
LICENSE IPL10
no f_mapping in 2.4.x
Jeffrey Altman [Wed, 8 Oct 2008 22:14:52 +0000]
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.)
Jeffrey Altman [Wed, 8 Oct 2008 18:43:03 +0000]
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.
Jeffrey Altman [Tue, 7 Oct 2008 23:28:40 +0000]
windows-libafsrpc-
20081007
LICENSE MIT
export missing symbols necessary for tbutc and performance testing.
Jeffrey Altman [Tue, 7 Oct 2008 23:25:14 +0000]
windows-tbutc-
20081007
LICENSE MIT
do not link to both pthread and lwp rx libs
Derrick Brashear [Tue, 7 Oct 2008 22:30:23 +0000]
darwin-fake-more-disk-free-
20081007
LICENSE IPL10
placate finder. this time for sure
Derrick Brashear [Tue, 7 Oct 2008 20:00:31 +0000]
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.
Derrick Brashear [Tue, 7 Oct 2008 19:51:25 +0000]
find-new-xbsa-first-
20081007
LICENSE IPL10
FIXES 119162
change test order
Derrick Brashear [Tue, 7 Oct 2008 18:43:57 +0000]
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.
Derrick Brashear [Tue, 7 Oct 2008 16:34:53 +0000]
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
Derrick Brashear [Tue, 7 Oct 2008 04:40:49 +0000]
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.
Jeffrey Altman [Sat, 4 Oct 2008 05:59:32 +0000]
rx-varargs-
20081003
LICENSE MIT
call va_start on Windows
Hans-Werner Paulsen [Fri, 3 Oct 2008 21:39:43 +0000]
kdump-rx-stats-
20081003
LICENSE IPL10
FIXES 118700
add change to kdump also
Jeffrey Altman [Fri, 3 Oct 2008 15:35:15 +0000]
rx-windows-dpf-
20081003
LICENSE MIT
dpf on windows is conditional on rxdebug_active, not rx_debugFile
Jeffrey Altman [Fri, 3 Oct 2008 15:33:19 +0000]
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.
Jeffrey Altman [Fri, 3 Oct 2008 15:31:59 +0000]
rx-vaargs-
20081003
LICENSE MIT
define va_list ap where it will be defined on all platforms
Jeffrey Altman [Fri, 3 Oct 2008 15:29:37 +0000]
windows-client_exp-makefile-
20081003
LICENSE MIT
define UNICODE
Jeffrey Altman [Fri, 3 Oct 2008 15:28:07 +0000]
windows-update-makefile-
20081003
LICENSE MIT
add missing reference to cm_nls.obj
Jeffrey Altman [Thu, 2 Oct 2008 13:12:23 +0000]
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().
Jeffrey Altman [Thu, 2 Oct 2008 12:51:48 +0000]
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.
Simon Wilkinson [Fri, 26 Sep 2008 11:16:36 +0000]
linux-nfstrans-libafs-tree-
20080926
LICENSE IPL10
add missing files needed for nfs variants
Simon Wilkinson [Fri, 26 Sep 2008 09:23:48 +0000]
disconn-prototypes-
20080926
LICENSE IPL10
add a prototype we need for disconnected
Simon Wilkinson [Thu, 25 Sep 2008 22:40:25 +0000]
pthread-ubik-volser-stupidity-
20080925
LICENSE IPL10
make volserver build again for not pthreaded ubik
Simon Wilkinson [Thu, 25 Sep 2008 21:19:33 +0000]
rx-dpf-clarify-
20080924
LICENSE IPL10
rework dpf macro slightly so there are no trailing ; issues
ddddddddddddd
AUTHOR
LICENSE IPL10
Jeffrey Altman [Thu, 25 Sep 2008 21:17:22 +0000]
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.
Jeffrey Altman [Thu, 25 Sep 2008 20:54:44 +0000]
rx-packet-allocation-debug-
20080925
LICENSE IPL10
add field to track allocated packets
Jeffrey Altman [Thu, 25 Sep 2008 20:34:41 +0000]
rx-change-packet-allocation-calculation-
20080925
LICENSE IPL10
don't alloc ourselves to death; try harder to manage growth
Jeffrey Altman [Thu, 25 Sep 2008 19:59:33 +0000]
rx-flag-all-packets-
20080925
LICENSE IPL10
flag packets for all queues, and when they are currentPacket somewhere
Jeffrey Altman [Thu, 25 Sep 2008 18:26:23 +0000]
rx-global-lock-macro-correction-
20080925
LICENSE IPL10
refer to the same macro everyone else does
Jeffrey Altman [Thu, 25 Sep 2008 18:21:15 +0000]
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.
Jeffrey Altman [Thu, 25 Sep 2008 18:15:41 +0000]
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
Jeffrey Altman [Thu, 25 Sep 2008 18:06:24 +0000]
rx-readproc32-avoid-losing-currentpacket-
20080925
LICENSE IPL10
when currentPacket is empty, avoid leaking it and instead free and NULL it
Derrick Brashear [Thu, 25 Sep 2008 17:59:52 +0000]
ah-verbatim-section-tweak-
20080925
LICENSE IPL10
remove PACKAGE and VERSION
Derrick Brashear [Thu, 25 Sep 2008 15:41:02 +0000]
acfooter-inline-
20080925
LICENSE IPL10
based on work by mdw@umich.edu
Jeffrey Altman [Thu, 25 Sep 2008 13:29:50 +0000]
rx-windows-mutex-is-mine-lwp-
20080925
LICENSE MIT
mutex is mine for lwp on windows
Jeffrey Altman [Thu, 25 Sep 2008 13:04:46 +0000]
rx-user-prototype-
20080925
LICENSE MIT
fix prototype for rx_getAllAddr() on Windows
Jeffrey Altman [Thu, 25 Sep 2008 12:58:45 +0000]
rx-prototypes-
20080925
LICENSE MIT
fix errors introduced in rx-prototypes-
20080924 on Windows
Jeffrey Altman [Thu, 25 Sep 2008 12:49:10 +0000]
rx-windows-mutex-is-mine-
20080925
LICENSE MIT
Add MUTEX_IS_MINE for Windows
Matt Benjamin [Thu, 25 Sep 2008 12:42:02 +0000]
bypasscache-
20080922
LICENSE IPL10
add cache bypass support (currently linux only)
Derrick Brashear [Thu, 25 Sep 2008 10:02:23 +0000]
disconnected-fix-ifdefing-
20080925
LICENSE IPL10
make disconnected code not be compiled in (and break) when you don't have it enabled
Max Cohan [Thu, 25 Sep 2008 09:57:39 +0000]
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
Steven Jenkins [Thu, 25 Sep 2008 08:50:01 +0000]
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.
Jeffrey Altman [Wed, 24 Sep 2008 23:47:59 +0000]
windows-remove-entraneous-commit-
20080924
LICENSE MIT
remove extraneous commit. maybe later.
Jeffrey Altman [Wed, 24 Sep 2008 23:40:44 +0000]
windows-vlserver-updates-
20080924
LICENSE MIT
if a vlserver returns a ubik error, skip the server and retry
Simon Wilkinson [Wed, 24 Sep 2008 22:38:19 +0000]
rx-varargs-
20080924
LICENSE IPL10
make rx use varargs instead of a large fixed set of parms
Simon Wilkinson [Wed, 24 Sep 2008 22:36:29 +0000]
rx-prototypes-
20080924
LICENSE IPL10
cut down by a few thousand the warnings we get
Simon Wilkinson [Wed, 24 Sep 2008 22:34:19 +0000]
generic-inline-
20080924
LICENSE IPL10
move static_inline macro to generic location
Simon Wilkinson [Wed, 24 Sep 2008 22:31:54 +0000]
rx-dpf-clarify-
20080924
LICENSE IPL10
rework dpf macro slightly so there are no trailing ; issues
Dragos Tatulea [Mon, 22 Sep 2008 14:36:16 +0000]
disconnected-rw-
20080922
LICENSE IPL10
FIXES 114605 114606 114607
add read-write disconnected support
Derrick Brashear [Sun, 21 Sep 2008 14:03:20 +0000]
macos-panic-decoder-format-fix-
20080921
LICENSE IPL10
handle new panic format
Asanka Herath [Tue, 16 Sep 2008 12:45:22 +0000]
windows-local-dir-updates-
20080916
LICENSE MIT
When a local directory update occurs to the directory pages stored
in the dcache, there is no guarrantee that the same modifications
will be made to the cached pages as are being made by the file server.
In the situation that one or more of the cached pages are recycled,
it is not permissible to obtain the missing pages from the file server
without first invalidating the rest of the cached pages. This is
necessary to prevent mixing of incompatible data representations.
Define a new flag CM_SCACHEFLAG_LOCAL which is used to indicate that
dcache entries were locally modified even though they are not dirty.
As the previous code could have corrupted the contents of the dcache,
bump CM_CONFIG_DATA_VERSION in order to force the rebuilding of the
cache.
Add error CM_ERROR_NOTINCACHE to indicate that a requested directory
page is not present in the cache and will not be created on the fly.
Prefetch all dcache entries for directories and ensure that a consistent
set is being used.