Marc Dionne [Mon, 20 Oct 2008 13:01:47 +0000]
DEVEL15-blacklistonce-use-only-initd-vrequest-
20081020
LICENSE IPL10
avoid using an un "initd" vrequest for server blacklisting
(cherry picked from commit
7366eb3d46506b1fdda5ece843abd96aa76b7936)
Asanka Herath [Mon, 20 Oct 2008 00:19:33 +0000]
DEVEL15-DELTA15-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:33 +0000]
DEVEL15-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
(cherry picked from commit
0c7d7ce3b8386a1aca6d1fc3d738c8621708eb95)
Jeffrey Altman [Sun, 19 Oct 2008 23:45:46 +0000]
DEVEL15-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.
(cherry picked from commit
622f9b0de85f2a45d3a327cd8b8bea470dba9862)
Jeffrey Hutzelman [Sat, 18 Oct 2008 20:26:07 +0000]
DEVEL15-newtrans-lock-fix-fix-
20081018
LICENSE IPL10
swap in the freshly allocated memory instead of throwing it away
(cherry picked from commit
2767cbf773653bffaa63e098cce463ada804d6d7)
Jeffrey Altman [Sat, 18 Oct 2008 18:01:19 +0000]
DEVEL15-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.
(cherry picked from commit
f9191fdebcf694f1a6afac8c0f4679c35114ce93)
Jeffrey Altman [Sat, 18 Oct 2008 16:24:45 +0000]
DEVEL15-ubik-uninitialized-var-
20081018
LICENSE MIT
'pass' must be initialized. do so.
(cherry picked from commit
7e8c41d53fcd51ae0ff4420ba1027b354af306c8)
Jeffrey Altman [Sat, 18 Oct 2008 16:23:24 +0000]
DEVEL15-restore-uninitialized-var-
20081018
LICENSE MIT
'last' must be initialized. do so.
(cherry picked from commit
f69137625fde97e465671978820350d41ca5d5b8)
Jeffrey Altman [Sat, 18 Oct 2008 16:09:07 +0000]
DEVEL15-fix-maxmtu-command-line-
20081018
LICENSE MIT
fix the variable used for maxmtu command line processing
(cherry picked from commit
1bdea5e4707e9c60b949cc55b847c498fc9a7bec)
Jeffrey Altman [Sat, 18 Oct 2008 14:12:38 +0000]
DEVEL15-windows-pioctl-wnet-connected-
20081018
LICENSE MIT
refactor. consolidate netbios name acquistion.
(cherry picked from commit
f5455f74988da78a652f035cd93c3184aa2ce490)
Jeffrey Altman [Sat, 18 Oct 2008 07:19:31 +0000]
DEVEL15-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.
(cherry picked from commit
75f496df1727a5b1d00809fcf493c7c815c90816)
Jeffrey Altman [Sat, 18 Oct 2008 05:45:05 +0000]
DEVEL15-windows-reset-acl-list-
20081017
LICENSE MIT
Move definition of cm_ResetACLCache from cm_ioctl.c to cm_aclent.c
(cherry picked from commit
edf7a4020318b305ce8fd3852f09f2f565563f7c)
Jeffrey Altman [Sat, 18 Oct 2008 05:12:35 +0000]
DEVEL15-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.
(cherry picked from commit
4c79498bc3dd87cb45d1827133aff3c93c2caff8)
Jeffrey Altman [Sat, 18 Oct 2008 05:09:56 +0000]
DEVEL15-windows-afsreg-
20081017
LICENSE MIT
wrap all text strings with TEXT() to permit use with wide char functions
(cherry picked from commit
81a921759520b03088ddcc37c1c624c0641981fc)
Jeffrey Altman [Fri, 17 Oct 2008 21:24:49 +0000]
DEVEL15-windows-pthread-rwlock-
20081017
LICENSE MIT
Adds pthread rwlock support to the library.
(cherry picked from commit
e4b6e4d4a63c036be326e3e933fb7f7c6787275b)
Jeffrey Altman [Fri, 17 Oct 2008 02:41:37 +0000]
DEVEL15-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
(cherry picked from commit
c3251a3b18a83bf66d4d2f0a549fa573eccbdde2)
Jeffrey Altman [Thu, 16 Oct 2008 02:39:11 +0000]
DEVEL15-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.
(cherry picked from commit
bfd01550bddcce18f6f76e97231e21680a545e3f)
Jeffrey Altman [Thu, 16 Oct 2008 02:26:24 +0000]
DEVEL15-windows-dnlc-
20081015
LICENSE MIT
FIXES 116641
Do not use the DNLC if the name when converted from Unicode is NULL.
(cherry picked from commit
e0298d5f09d7e791aeb0f98438e299ad1faf186a)
Jeffrey Altman [Wed, 15 Oct 2008 14:51:12 +0000]
DEVEL15-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.
(cherry picked from commit
1115e29dacab98ed29ec603edfdaa8f697507daa)
Mike Meffie [Tue, 14 Oct 2008 15:38:41 +0000]
DEVEL15-linux-alt-builddir-fix-
20081014
LICENSE IPL10
FIXES 121650
correct the if test to include missing x
(cherry picked from commit
9be6b92a17ebe1d125e13c1cbd7bce620e7672ce)
Derrick Brashear [Sun, 12 Oct 2008 19:44:36 +0000]
DEVEL15-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
(cherry picked from commit
24ce8010cd414c8c573f2b035d186a2418900546)
Dragos Tatulea [Sun, 12 Oct 2008 19:10:14 +0000]
DEVEL15-disconnected-rmdir-infinite-recursion-
20081012
LICENSE IPL10
FIXES 121226
fix infinite recursion when replaying rmdir transaction
(cherry picked from commit
0195d7c0828e3eae7281aad3b983160089b8846a)
Simon Wilkinson [Sun, 12 Oct 2008 19:07:01 +0000]
DEVEL15-disconnected-getvcache-avoid-duplicate-work-
20081012
LICENSE IPL10
FIXES 121254
don't do duplicate work finding a vcache we already had
(cherry picked from commit
7c6fac305c81af3e10f48560c03db4d2da630527)
Stefaan De Roeck [Sun, 12 Oct 2008 19:02:18 +0000]
DEVEL15-linux-alternate-kernel-builddir-
20081012
LICENSE IPL10
FIXES 121354
add support for KBUILD_OUTPUT=... builds.
(cherry picked from commit
726fc5b8425eb7bbaab4bdde38d977382dc17a9d)
Jeffrey Hutzelman [Sun, 12 Oct 2008 18:53:17 +0000]
DEVEL15-volser-newtrans-racy-
20081012
LICENSE IPL10
FIXES 121263
avoid a race on creating new transactions in volserver
(cherry picked from commit
322f7e0e9fff02c5d6cad8d9aded3e40abce93ef)
Dragos Tatulea [Sat, 11 Oct 2008 00:27:02 +0000]
DEVEL15-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
(cherry picked from commit
4b72f8765cdf88540354291e8e7072185538ae5d)
Derrick Brashear [Fri, 10 Oct 2008 17:25:46 +0000]
DEVEL15-cachemgr-blacklist-down-servers-
20081010
LICENSE IPL10
FIXES 121035
fix to issue suggested by reuter@rzg.mpg.de
(cherry picked from commit
523dd766ef7ed26c2207c7ec4bebe8f74e4dc408)
Jeffrey Hutzelman [Fri, 10 Oct 2008 15:42:40 +0000]
DEVEL15-volser-dumpstuff-log-errors-
20081010
LICENSE IPL10
FIXES 121040
return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log
instead.
(cherry picked from commit
8b1b390713a79fadd300d17713350f5789879615)
Harald Barth [Fri, 10 Oct 2008 12:54:29 +0000]
DEVEL15-cmdebug-entry-count-
20081010
LICENSE IPL10
raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects
(cherry picked from commit
d569a083e337c2971a4ac471d8adeb1788518684)
Derrick Brashear [Thu, 9 Oct 2008 19:56:53 +0000]
DEVEL15-hpux-gop-lookupname-
20081009
LICENSE IPL10
add missing gop_lookupname macro for hpux
(cherry picked from commit
7034078b3386e074a399f9387ff9b387e479f4f0)
Derrick Brashear [Thu, 9 Oct 2008 19:54:17 +0000]
DEVEL15-solaris-gop-lookupname-
20081009
LICENSE IPL10
add missing gop_lookupname macro for solaris
(cherry picked from commit
2e15aa2b261f49a1d6648c36a34300cade3c968c)
Derrick Brashear [Thu, 9 Oct 2008 13:55:37 +0000]
DEVEL15-bypasscache-fix-linux24-
20081009
LICENSE IPL10
no f_mapping in 2.4.x
(cherry picked from commit
9f8865744e3f4c1830afdf32b6b38f6b8f584801)
Jeffrey Altman [Wed, 8 Oct 2008 23:21:13 +0000]
DEVEL15-volser-dumpstuff-uninitialized-variable-
20081008
LICENSE MIT
lcode should be initialized to zero but wasn't.
Jeffrey Altman [Wed, 8 Oct 2008 22:15:10 +0000]
DEVEL15-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.)
(cherry picked from commit
32977eadf12aaec6608ce3457a976a0810da8590)
Jeffrey Altman [Wed, 8 Oct 2008 18:43:17 +0000]
DEVEL15-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.
(cherry picked from commit
e7b06ab695b83114954b58bd8cd25e5c0ad3f395)
Jeffrey Altman [Tue, 7 Oct 2008 23:28:49 +0000]
DEVEL15-windows-libafsrpc-
20081007
LICENSE MIT
export missing symbols necessary for tbutc and performance testing.
(cherry picked from commit
ab2d343c31fe41d663c5a5feb796c3a9250c60d8)
Jeffrey Altman [Tue, 7 Oct 2008 23:26:44 +0000]
DEVEL15-windows-tbutc-
20081007
LICENSE MIT
do not link to both pthread and lwp rx libs
(cherry picked from commit
b8b3bd8d1b7ca1a95c07e2ee3a0004b07a0b9537)
Jeffrey Altman [Tue, 7 Oct 2008 23:09:54 +0000]
DEVEL15-windows-release-notes-
20081007
LICENSE MIT
1.5.54
Jeffrey Altman [Tue, 7 Oct 2008 22:56:55 +0000]
DEVEL15-windows-version-
20081007
LICENSE MIT
1.5.5400.0 == 1.5.54
Jeffrey Altman [Tue, 7 Oct 2008 22:54:18 +0000]
DEVEL15-windows-notes-
20081007
LICENSE MIT
1.5.54
Derrick Brashear [Tue, 7 Oct 2008 22:31:47 +0000]
DEVEL15-openafs-1-5-54-
20081007
LICENSE IPL10
make 1.5.54
Derrick Brashear [Tue, 7 Oct 2008 22:30:33 +0000]
DEVEL15-darwin-fake-more-disk-free-
20081007
LICENSE IPL10
placate finder. this time for sure
(cherry picked from commit
967cbd2628c02060870c2381bd6fca3480f5711a)
Derrick Brashear [Tue, 7 Oct 2008 20:00:42 +0000]
DEVEL15-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.
(cherry picked from commit
b3bf4b89e345b991984a416d97e3f9aeacc0e159)
Derrick Brashear [Tue, 7 Oct 2008 19:51:34 +0000]
DEVEL15-find-new-xbsa-first-
20081007
LICENSE IPL10
FIXES 119162
change test order
(cherry picked from commit
af0b03055e8a3244881d8ac3e7c52ed775ae86d1)
Derrick Brashear [Tue, 7 Oct 2008 18:44:13 +0000]
DEVEL15-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.
(cherry picked from commit
fe0186dccd4e4d16c0610f211d454a90b0841a83)
Derrick Brashear [Tue, 7 Oct 2008 16:38:29 +0000]
DEVEL15-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
(cherry picked from commit
1e3674cafe3c3feea0840c531cc0461d358f87c6)
Derrick Brashear [Tue, 7 Oct 2008 04:41:02 +0000]
DEVEL15-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.
(cherry picked from commit
2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1)
Jeffrey Altman [Sat, 4 Oct 2008 06:05:20 +0000]
DEVEL15-rx-varargs-
20081003
LICENSE MIT
call va_start on Windows
(cherry picked from commit
061634bfc96e70e3c02ce93319f1f269e5c16a44)
Hans-Werner Paulsen [Fri, 3 Oct 2008 21:39:56 +0000]
DEVEL15-kdump-rx-stats-
20081003
LICENSE IPL10
FIXES 118700
add change to kdump also
(cherry picked from commit
5158e8c7aff8f0385edbebb688b6c79b19c604c3)
Jeffrey Altman [Fri, 3 Oct 2008 15:57:19 +0000]
DEVEL15-rx-windows-dpf-
20081003
LICENSE MIT
dpf on windows is conditional on rxdebug_active, not rx_debugFile
(cherry picked from commit
b8caeee989fcc096a1846c87b088263d3db130d9)
Jeffrey Altman [Fri, 3 Oct 2008 15:56:10 +0000]
DEVEL15-rx-vaargs-
20081003
LICENSE MIT
define va_list ap where it will be defined on all platforms
(cherry picked from commit
82fc110302a7f1b7e7971285777658bdce3735ac)
Simon Wilkinson [Fri, 3 Oct 2008 15:55:12 +0000]
DEVEL15-rx-varargs-
20080924
LICENSE IPL10
make rx use varargs instead of a large fixed set of parms
(cherry picked from commit
8aa9d07e35c132ba5bbc1704fc9c0ba289b277fd)
Jeffrey Altman [Thu, 2 Oct 2008 13:14:02 +0000]
DEVEL15-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().
(cherry picked from commit
38800039a7039c3fa832718799667557a5e24f66)
Jeffrey Altman [Thu, 2 Oct 2008 12:53:18 +0000]
DEVEL15-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.
(cherry picked from commit
1e7203940456e783aad215e939c04ed01dd45599)
Simon Wilkinson [Fri, 26 Sep 2008 11:17:17 +0000]
DEVEL15-linux-nfstrans-libafs-tree-
20080926
LICENSE IPL10
add missing files needed for nfs variants
(cherry picked from commit
6acd68f0e88ffa40891be4b908b70af784b397a2)
Jeffrey Altman [Thu, 25 Sep 2008 21:39:31 +0000]
DEVEL15-windows-version-
20080925
LICENSE MIT
1.5.53 == 1.5.5300.0
Jeffrey Altman [Thu, 25 Sep 2008 20:24:24 +0000]
DEVEL15-windows-notes-
20080925
LICENSE MIT
1.5.53
Jeffrey Altman [Thu, 25 Sep 2008 20:19:04 +0000]
DEVEL15-windows-release-notes-
20080925
LICENSE MIT
1.5.53
Simon Wilkinson [Fri, 26 Sep 2008 09:24:00 +0000]
DEVEL15-disconn-prototypes-
20080926
LICENSE IPL10
add a prototype we need for disconnected
(cherry picked from commit
3853c326155d58613bb1711a10123ac88acce002)
Derrick Brashear [Thu, 25 Sep 2008 22:42:01 +0000]
DEVEL15-openafs-1-5-53-
20080925
LICENSE IPL10
make 1.5.53
Simon Wilkinson [Thu, 25 Sep 2008 22:40:44 +0000]
DEVEL15-pthread-ubik-volser-stupidity-
20080925
LICENSE IPL10
make volserver build again for not pthreaded ubik
(cherry picked from commit
3f11790f6ab999be828fb0868b64ea00b98a5ea4)
Simon Wilkinson [Thu, 25 Sep 2008 21:19:57 +0000]
DEVEL15-rx-dpf-clarify-
20080924
LICENSE IPL10
rework dpf macro slightly so there are no trailing ; issues
(cherry picked from commit
3a5e912230fd09c72c1a27d7f7d4e4ac78f9323b)
Jeffrey Altman [Thu, 25 Sep 2008 21:17:54 +0000]
DEVEL15-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.
(cherry picked from commit
8b50c9d9e3d181f749d0982f57410a5b4906627c)
Jeffrey Altman [Thu, 25 Sep 2008 20:55:16 +0000]
DEVEL15-rx-packet-allocation-debug-
20080925
LICENSE IPL10
add field to track allocated packets
(cherry picked from commit
b84da5849261867b201646e957c014e933a2c17f)
Jeffrey Altman [Thu, 25 Sep 2008 20:36:34 +0000]
DEVEL15-rx-change-packet-allocation-calculation-
20080925
LICENSE IPL10
don't alloc ourselves to death; try harder to manage growth
(cherry picked from commit
230dcebcd61064cc9aab6d20d34ff866a5c575ea)
Jeffrey Altman [Thu, 25 Sep 2008 19:59:45 +0000]
DEVEL15-rx-flag-all-packets-
20080925
LICENSE IPL10
flag packets for all queues, and when they are currentPacket somewhere
(cherry picked from commit
559ea99b1e6e6e82ec6a77541ef9844ccc764de8)
Jeffrey Altman [Thu, 25 Sep 2008 18:26:35 +0000]
DEVEL15-rx-global-lock-macro-correction-
20080925
LICENSE IPL10
refer to the same macro everyone else does
(cherry picked from commit
939e070c869b46abc707bbd916d4dfbe1e66a55e)
Jeffrey Altman [Thu, 25 Sep 2008 18:21:33 +0000]
DEVEL15-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.
(cherry picked from commit
a72eea6bb1758678d25528cd1ab9b439ade2f844)
Jeffrey Altman [Thu, 25 Sep 2008 18:15:56 +0000]
DEVEL15-rename-rx-stats-
20080925
LICENSE IPL10
avoid using the same name for the struct and the global so the windows debugger
works usefully
(cherry picked from commit
7a4041f9404ff27f3e446d7b523086e0938dc6b9)
Jeffrey Altman [Thu, 25 Sep 2008 18:06:36 +0000]
DEVEL15-rx-readproc32-avoid-losing-currentpacket-
20080925
LICENSE IPL10
when currentPacket is empty, avoid leaking it and instead free and NULL it
(cherry picked from commit
883683fc317c5196f2eea1c1baed3b510771f001)
Derrick Brashear [Thu, 25 Sep 2008 18:00:06 +0000]
DEVEL15-ah-verbatim-section-tweak-
20080925
LICENSE IPL10
remove PACKAGE and VERSION
(cherry picked from commit
eb875d30340a67af78638cf7f395dfe14c0ed405)
Derrick Brashear [Thu, 25 Sep 2008 15:41:26 +0000]
DEVEL15-acfooter-inline-
20080925
LICENSE IPL10
based on work by mdw@umich.edu
(cherry picked from commit
9d09de799b6efc1a62e0cf28f1b033fd4132b2e1)
Jeffrey Altman [Thu, 25 Sep 2008 13:30:52 +0000]
DEVEL15-rx-windows-mutex-is-mine-lwp-
20080925
LICENSE MIT
mutex is mine for lwp on windows
(cherry picked from commit
8871c545e3b6785b9f10a5b173c4701813269eae)
Jeffrey Altman [Thu, 25 Sep 2008 13:07:49 +0000]
DEVEL15-rx-user-prototype-
20080925
LICENSE MIT
fix prototype for rx_getAllAddr() on Windows
(cherry picked from commit
3be628e8fc34c2a047187ce3852c56734f9cfc0a)
Jeffrey Altman [Thu, 25 Sep 2008 13:00:03 +0000]
DEVEL15-rx-prototypes-
20080925
LICENSE MIT
fix errors introduced in rx-prototypes-
20080924 on Windows
(cherry picked from commit
ec6dcda473f4699454b3870994f147799044fb80)
Jeffrey Altman [Thu, 25 Sep 2008 12:50:58 +0000]
DEVEL15-rx-windows-mutex-is-mine-
20080925
LICENSE MIT
Add MUTEX_IS_MINE for Windows
(cherry picked from commit
db15c2f1cb6cf02ddf79e3539b6f202c439b92e0)
Matt Benjamin [Thu, 25 Sep 2008 12:42:43 +0000]
DEVEL15-bypasscache-
20080922
LICENSE IPL10
add cache bypass support (currently linux only)
(cherry picked from commit
9d63160cccf88d554e47e4bed8e3bbe26f14f8c2)
Derrick Brashear [Thu, 25 Sep 2008 10:02:56 +0000]
DEVEL15-disconnected-fix-ifdefing-
20080925
LICENSE IPL10
make disconnected code not be compiled in (and break) when you don't have it ena
bled
(cherry picked from commit
84b423e932e05bd6ffb64729900f518091f26ef1)
Max Cohan [Thu, 25 Sep 2008 09:58:22 +0000]
DEVEL15-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
(cherry picked from commit
b5a6e4bf36dbb2099f17318ae09ff38a25687c5f)
Steven Jenkins [Thu, 25 Sep 2008 08:50:16 +0000]
DEVEL15-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.
(cherry picked from commit
1659861640035f5405429194e72665839cff3720)
Jeffrey Altman [Wed, 24 Sep 2008 23:58:32 +0000]
DEVEL15-windows-remove-entraneous-commit-
20080924
LICENSE MIT
remove extraneous commit. maybe later.
(cherry picked from commit
f52f24d6f0027be06d444c1dd7e0d35163b16ef6)
Dragos Tatulea [Wed, 24 Sep 2008 23:46:17 +0000]
DEVEL15-disconnected-rw-
20080922
LICENSE IPL10
FIXES 114605 114606 114607
add read-write disconnected support
(cherry picked from commit
433afd4779b077a1d0f4b842335e38625e124dcc)
Jeffrey Altman [Wed, 24 Sep 2008 23:42:53 +0000]
DEVEL15-windows-vlserver-updates-
20080924
LICENSE MIT
if a vlserver returns a ubik error, skip the server and retry
(cherry picked from commit
dd05bd3ba7be90a6348b144eb1c0a6ac1c5f43ba)
Simon Wilkinson [Wed, 24 Sep 2008 22:36:49 +0000]
DEVEL15-rx-prototypes-
20080924
LICENSE IPL10
cut down by a few thousand the warnings we get
(cherry picked from commit
17d45aa8843c6608d6f98e5defbf0db5aefce66b)
Simon Wilkinson [Wed, 24 Sep 2008 22:34:33 +0000]
DEVEL15-generic-inline-
20080924
LICENSE IPL10
move static_inline macro to generic location
(cherry picked from commit
af4d05c3a44d5b51dd6ae48e79c135af7efc530f)
Simon Wilkinson [Wed, 24 Sep 2008 22:32:08 +0000]
DEVEL15-rx-dpf-clarify-
20080924
LICENSE IPL10
rework dpf macro slightly so there are no trailing ; issues
(cherry picked from commit
2d5987ea2bd96285899f1e5a141dcdaed8008e7e)
Derrick Brashear [Sun, 21 Sep 2008 14:03:31 +0000]
DEVEL15-macos-panic-decoder-format-fix-
20080921
LICENSE IPL10
handle new panic format
(cherry picked from commit
41d5a5f7e30b5933408394db6aa107b8de966d33)
Asanka Herath [Sun, 21 Sep 2008 14:00:29 +0000]
DEVEL15-macos-installer-images-
20080921
LICENSE IPL10
revised images for the installer and package
Asanka Herath [Tue, 16 Sep 2008 12:47:47 +0000]
DEVEL15-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.
(cherry picked from commit
1f686941197c32734acd2531a911b8e5e43cc94e)
Asanka Herath [Tue, 16 Sep 2008 12:34:31 +0000]
DEVEL15-windows-dir-search-star-dot-pattern-
20080916
LICENSE MIT
Replicate the FAT and NTFS behavior that the "*." pattern should match
all files without an extension.
(cherry picked from commit
c4117f6f07b92fcc3a135badb48099a01ba41fe2)
Jeffrey Altman [Tue, 16 Sep 2008 12:28:20 +0000]
DEVEL15-windows-lock-order-
20080916
LICENSE MIT
do not violate lock order when freeing server reference lists
(cherry picked from commit
414312a72a9b1f0dd64ba3bfe97865dcc8cd80e3)
Jeffrey Altman [Sat, 13 Sep 2008 14:51:50 +0000]
DEVEL15-windows-byte-range-locks-
20080913
LICENSE MIT
Replace the int64 key with a struct because process ids on 64-bit
Windows can be 64-bit when obtained through the redirector interface.
(cherry picked from commit
2d709220d53fe9c5da23e2dbb32764fd3cbfea48)
Jeffrey Altman [Sat, 13 Sep 2008 05:20:48 +0000]
DEVEL15-windows-vnovol-
20080912
LICENSE MIT
The cm_serverRef_t list reference counts were undercounting and
prematurely freeing the server lists for volumes that experienced
VNOVOL and VMOVED errors. cm_Analyze() must release the server
list before forcibly updating the volume location info. Otherwise,
the list that gets freed is the old one concatenated with the new
one.
Add more trace messages.
(cherry picked from commit
1456a67c5ca024c523e0fc3edcba720780d4be9e)
Jeffrey Altman [Fri, 12 Sep 2008 15:41:30 +0000]
DEVEL15-windows-service-procs-
20080912
LICENSE MIT
if we are going to use hot threads it would be useful if there were
some additional server threads available to become listeners as
needed.
(cherry picked from commit
fd55471b57bce441454d7b3c72c7be6a66aad65d)
Simon Wilkinson [Fri, 12 Sep 2008 14:07:40 +0000]
DEVEL15-redhat-mockbuild-dksm-
20080912
LICENSE IPL10
make mockbuild do the dkms rpms also
(cherry picked from commit
11b45ad09b7d257a476ddb57e48133ecf88375f7)
Asanka Herath [Fri, 12 Sep 2008 05:09:44 +0000]
DEVEL15-windows-dir-new-pages-
20080911
LICENSE MIT
A small patch to permit the directory package to allocate additional
directory pages when adding new entries that do not fit in the pages
that were obtained from the file server.
(cherry picked from commit
7ae4174d95a9d90e16f0ddc66648741a119339d2)
Jeffrey Altman [Thu, 11 Sep 2008 18:26:21 +0000]
DEVEL15-windows-vnovol-
20080911
LICENSE MIT
Modify MSG_SERVER_REPORTS_VNOVOL to mention that the volume may
have been moved or deleted.
In cm_Analyze(), do not call cm_ForceUpdateVolume() or force a retry
when processing CM_ERROR_NOSUCHVOLUME. This CM error value is the
result of a VNOVOL already being processed which would have forced
the update.
When a VMOVED or VNOVOL error is received, remove the volume id from
the server's volume list.
If cm_ForceUpdateVolume() returns a failure, do not retry if a
VMOVED or VNOVOL error was received.
Make sure that if a cm_serverRef_t object is marked srv_deleted
that its references not be used.
Now that cm_ForceUpdateVolume() is being called only when processing
VMOVED and VNOVOL errors, permit it to call cm_UpdateVolumeLocation()
immediately.
Refactor cm_CheckOfflineVolume() to reduce code duplication.
(cherry picked from commit
5ea02ad1e2bdb98bea27e11c1372f90d1940de17)
Jeffrey Altman [Thu, 11 Sep 2008 18:11:15 +0000]
DEVEL15-windows-flush-btrees-
20080911
LICENSE MIT
fs flushall, fs flushvolume, and fs flush should tear down directory
B+ trees so that when the data buffers are re-read from the file server
with the same data version, the B+ trees will be rebuilt.
(cherry picked from commit
186f1e97d0c15ead6bddae8697161a47ce9a80e4)
Jeffrey Altman [Thu, 11 Sep 2008 18:05:32 +0000]
DEVEL15-windows-cell-list-validation-
20080911
LICENSE MIT
correct cell list validation now that the free cell list exists
(cherry picked from commit
d85bdb4c9f9ddf7d287072a3d12e65423e551f40)
Jeffrey Altman [Thu, 11 Sep 2008 18:00:44 +0000]
DEVEL15-windows-rx-jumbo-
20080911
LICENSE MIT
Disable rx jumbo by default. Permit rx jumbo to be enabled with
registry value "RxJumbo" set to 1 or "RxNoJumbo" set to 0.
RxNoJumbo has priority.
(cherry picked from commit
8e1b48ad0ab7f3790729ea0feb25256b3a9da709)