]>
git.michaelhowe.org Git - packages/o/openafs.git/log
Peter Tripician [Tue, 17 Feb 2009 04:32:19 +0000 (04:32 +0000)]
DEVEL15-bozo-corefile-timestamp-fix-
20090216
LICENSE IPL10
FIXES 124340
output y2k-correct corefile names
(cherry picked from commit
846919700b90b919d6a12102ae8c6d85ee36b83c )
Evan Broder [Tue, 17 Feb 2009 04:29:04 +0000 (04:29 +0000)]
DEVEL15-aklog-use-native-principal-conversion-
20090216
LICENSE IPL10
FIXES 124338
use krb5_524_conv_principal instead of doing it potentially wrong ourselves
(cherry picked from commit
b1f9b4cb5dd295162ae51704310e9d6058008f0a )
Chas Williams [Tue, 17 Feb 2009 04:25:25 +0000 (04:25 +0000)]
DEVEL15-macos-10-6-support-
20090216
LICENSE IPL10
FIXES 124288
support for (32 bit) macos 10.6. no pam yet
(cherry picked from commit
8bc58a3d6dd531b55c405590e419d2ce4d74b5fc )
Steven Jenkins [Tue, 17 Feb 2009 04:17:09 +0000 (04:17 +0000)]
DEVEL15-vldb-check-meaningful-return-codes-
20090216
LICENSE IPL10
FIXES 124321
make vldb_check have meaningful return codes
(cherry picked from commit
43bcfaf9cc429cec51a98857d86d870c45759baa )
Peter Tripician [Tue, 17 Feb 2009 03:59:41 +0000 (03:59 +0000)]
DEVEL15-fs-lsm-parse-bug-
20090226
LICENSE IPL10
FIXES 124319
print correct error on root directory
(cherry picked from commit
52f3295d32e3a72916ea1f99119967b7279f642a )
Tony D'Amato [Tue, 17 Feb 2009 03:29:37 +0000 (03:29 +0000)]
DEVEL15-redhat-rpms-kernel24-
20090216
LICENSE IPL10
FIXES 102673
rewrite make rule for 2.4 kernels
(cherry picked from commit
4817a4a98fe9ccc61c90d8bbc769790ad067339b )
Jeffrey Altman [Thu, 12 Feb 2009 21:45:00 +0000 (21:45 +0000)]
DEVEL15-windows-smb-fidp-scp-race-
20090212
LICENSE MIT
FIXES 124293
As evident in a crash dump, there is a race surrounding access to the
scp field of the smb_fid_t object. Not all access was protected by
the smb_fid_t mx and the cm_scache_t object was not always being
reference counted within the accessing function.
This patch ensures that all initial references to the scp object
are performed under the smb_fid_t mx mutex and that the cm_scache_t
is prevented from being recycled by obtaining a local reference.
Finally, CM_ERROR_BADFD is returned as an error if a request begins
after the smb_fid_t scp field has already been cleared by a smb_CloseFID()
call as part of a concurrent request.
(cherry picked from commit
8e3b67b9537097928b4fc13844db09d429ac9bed )
Jeffrey Altman [Thu, 12 Feb 2009 21:30:16 +0000 (21:30 +0000)]
DEVEL15-windows-vmoved-vnovol-failover-
20090212
LICENSE MIT
FIXES 124276
A readonly volume with multiple instances was being marked alldown
when one of the instances resulted in VNOVOL because the vldb and
the indicated file server were out of sync. The cache manager would
then attempt to re-obtain the volume location info from the vldb
for the entire timeout period.
This patch:
adds trace logging to cm_Analyze indicating which server references
are being deleted and which remain in response to a VNOVOL/VMOVED error.
adds trace logging to cm_UpdateVolumeStatusInt showing how the
new volume status value is determined.
corrects cm_Analyze() so that it doesn't corrupt the server reference
list during cm_FreeServerList() calls; doesn't orphan the server reference
list by setting *serverpp to NULL; and only re-obtains the volume info
list once per request.
(cherry picked from commit
8bb35234aa8469ba93a2171fced503a875c2f1f6 )
Jeffrey Altman [Tue, 10 Feb 2009 22:42:50 +0000 (22:42 +0000)]
DEVEL15-fix-tsfpq-
20090210
LICENSE BSD
avoid transferring more than the number of packets in a queue
(cherry picked from commit
1050049411d1fc47441220c33e6353436fc586e7 )
Derrick Brashear [Tue, 10 Feb 2009 22:40:13 +0000 (22:40 +0000)]
DEVEL15-restore-unix-rxdebug-
20090210
LICENSE IPL10
stale fixes from my sandbox
(cherry picked from commit
c12e2fa01912e7950570354c6d059588028c086c )
Jeffrey Altman [Sat, 7 Feb 2009 17:22:46 +0000 (17:22 +0000)]
DEVEL15-rx-writevproc-wrong-type-
20090207
LICENSE BSD
In rxi_WritevProc the queueScan that sets RX_PKTFLAG_TQ on the packet
really needs to cast the queue objects to rx_packet instead of rx_call.
Trashing random fields is not a good idea.
(cherry picked from commit
0edbc512b52848f076525ede5ff166f3785128a7 )
Asanka Herath [Fri, 6 Feb 2009 03:14:21 +0000 (03:14 +0000)]
DEVEL15-windows-netidmgr-progress-
20090205
LICENSE MIT
add progress reporting to the provider.
(cherry picked from commit
b842ee3ea521a196652ff2d09d468ca008cececc )
Jeffrey Altman [Thu, 5 Feb 2009 00:24:42 +0000 (00:24 +0000)]
DEVEL15-windows-freelance-
20090204
LICENSE MIT
set the correct fid vnode/unique values when adding new symlnks and
mount points.
(cherry picked from commit
ffdc7c70889386dca37e207a91791d5d0728d2d7 )
Mike Meffie [Tue, 3 Feb 2009 19:44:39 +0000 (19:44 +0000)]
DEVEL15-upclient-cleanup-temp-files-
20090203
LICENSE IPL10
FIXES 124221
remove tempfiles in the event of a fetching error
(cherry picked from commit
58a924fd50e96c827fc6dd3dcea48328b6abe4be )
Simon Wilkinson [Tue, 3 Feb 2009 19:42:27 +0000 (19:42 +0000)]
DEVEL15-rename-internal-gettimeofday-refs-
20090203
LICENSE IPL10
FIXES 124259
switch to using fasttime, instead of wrapper
(cherry picked from commit
1811577fca393c4433de64ea6e1cd5a8d13521a3 )
Simon Wilkinson [Tue, 3 Feb 2009 19:37:50 +0000 (19:37 +0000)]
DEVEL15-redhat-packaging-non-stable-branches-
20090203
LICENSE IPL10
FIXES 124273
make rpm stuff work for other than 1.4.x
(cherry picked from commit
0ac1e741783e0d5b0cbb8ec665e0acab132f6265 )
Simon Wilkinson [Tue, 3 Feb 2009 19:34:20 +0000 (19:34 +0000)]
DEVEL15-redhat-packaging-updates-
20090203
LICENSE IPL10
FIXES 124272
adds fc10, fc11 support
(cherry picked from commit
fe3779411ea025d5ecf40687d5c21649e6daabdc )
Russ Allbery [Mon, 2 Feb 2009 01:23:06 +0000 (01:23 +0000)]
DEVEL15-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.
(cherry picked from commit
d4763404655e27098eb4340eca8777b63d8a5847 )
Russ Allbery [Mon, 2 Feb 2009 01:22:34 +0000 (01:22 +0000)]
DEVEL15-man-page-vos-examine-copy-date-
20090201
LICENSE BSD
Document the Copy field of vos examine output.
(cherry picked from commit
f204e4e37f39fa15beabf68e68dce1f6425f7513 )
Simon Wilkinson [Fri, 30 Jan 2009 14:36:24 +0000 (14:36 +0000)]
DEVEL15-linux-vmtruncate-
20090130
LICENSE IPL10
FIXES 124128
use linux's vmtruncate feature instead of doing a somewhat-right internal versio
n
(cherry picked from commit
175393288df30ca88178ee98cdfff364bffbabb7 )
Tom Keiser [Thu, 29 Jan 2009 17:06:52 +0000 (17:06 +0000)]
DEVEL15-dafs-vnode-close-race-
20090129
LICENSE IPL10
FIXES 124223
address race between VCloseVnodeFiles_r and VGetFreeVnode_r
(cherry picked from commit
ff795a12c50d0fa59d2b3ad0b383309b9a4e939d )
Derrick Brashear [Thu, 29 Jan 2009 16:05:16 +0000 (16:05 +0000)]
DEVEL15-discon-diskslot-linux-
20090129
LICENSE IPL10
build in the linux case on non-disconnected
(cherry picked from commit
47e99e36fd40c55be7a5d947fb096d6f6f2c0ae4 )
Derrick Brashear [Wed, 28 Jan 2009 22:39:13 +0000 (22:39 +0000)]
DEVEL15-discon-remove-fix-
20090128
LICENSE IPL10
fix my own error
(cherry picked from commit
df139845e9f83cd15f3b0ab8dcbb27781c811642 )
Jeffrey Altman [Wed, 28 Jan 2009 22:33:28 +0000 (22:33 +0000)]
DEVEL15-rx-no-more-register-
20090128
LICENSE BSD
kill off use of register in rx
(cherry picked from commit
35cc76c21ebb48a2257254798a57afac083896ee )
Jeffrey Altman [Wed, 28 Jan 2009 21:34:51 +0000 (21:34 +0000)]
DEVEL15-rx-pthread-mutex-protects-threadcount-
20090128
LICENSE BSD
add protection of previously unprotected thread count variables
(cherry picked from commit
226cf894b65c62225785180dfeeed0ec1c1a160b )
Simon Wilkinson [Wed, 28 Jan 2009 21:14:32 +0000 (21:14 +0000)]
DEVEL15-discon-avoid-looping-on-replay-
20090128
LICENSE IPL10
FIXES 124203
don't defer based on a shadow copy
(cherry picked from commit
7cd7bcdc4ca6787e19c12485f70fabb8f4f9f00b )
Simon Wilkinson [Wed, 28 Jan 2009 21:02:28 +0000 (21:02 +0000)]
DEVEL15-disconnected-reply-no-locking-yet-
20090128
LICENSE IPL10
FIXES 124202
don't lock files before replaying changes yet
(cherry picked from commit
cc2f0d2bc52e980c376188888faa27cd37b0eccc )
Derrick Brashear [Wed, 28 Jan 2009 15:52:52 +0000 (15:52 +0000)]
DEVEL15-disconnected-deal-with-unlink-while-open-
20090127
LICENSE IPL10
FIXES 124178
treat something as unlinked until a rename suceeds, then let that win
(cherry picked from commit
af61732e4aaac8e09369addde0ec31a88fad8964 )
Jeffrey Altman [Tue, 27 Jan 2009 17:49:15 +0000 (17:49 +0000)]
DEVEL15-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().
(cherry picked from commit
50d57f6c7b325cb9576f33845cac60e1523f661e )
Jeffrey Altman [Tue, 27 Jan 2009 17:09:38 +0000 (17:09 +0000)]
DEVEL15-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.
(cherry picked from commit
306a7761b3f2f7ec0d2909e1048ecd39e9c9cfd7 )
Jeffrey Altman [Tue, 27 Jan 2009 17:06:23 +0000 (17:06 +0000)]
DEVEL15-windows-dcache-
20090127
LICENSE MIT
Use the optimized rx_Read32 call instead of the slower rx_Read when
reading 32-bit integer values.
(cherry picked from commit
bc558c75dcad12c7f45443c8e191b554b5d0c887 )
Mike Meffie [Tue, 27 Jan 2009 14:24:33 +0000 (14:24 +0000)]
DEVEL15-dafs-vol-offline-race-
20090127
LICENSE IPL10
FIXES 124215
avoid race when taking volumes offline in dafs
(cherry picked from commit
72d502be69ea3208634bb0665fd37e990d1fa38e )
Jeffrey Altman [Tue, 27 Jan 2009 06:05:04 +0000 (06:05 +0000)]
DEVEL15-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.
(cherry picked from commit
a4f63a818eea476efa456132ca6112329ef8a484 )
Jeffrey Altman [Mon, 26 Jan 2009 22:54:06 +0000 (22:54 +0000)]
DEVEL15-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.
(cherry picked from commit
6e8039e8a55056f19895036ef6784f4fab5ab758 )
Simon Wilkinson [Mon, 26 Jan 2009 19:38:09 +0000 (19:38 +0000)]
DEVEL15-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
(cherry picked from commit
8552f84b8ed0bce52dab1fd168054038d6ce20a9 )
Jeffrey Altman [Mon, 26 Jan 2009 15:50:59 +0000 (15:50 +0000)]
DEVEL15-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.
(cherry picked from commit
e42a066da153750077b154e27249b5b4862724db )
Simon Wilkinson [Mon, 26 Jan 2009 13:42:15 +0000 (13:42 +0000)]
DEVEL15-disconnected-lseek-extension-
20090126
LICENSE IPL10
FIXES 124200
make extending a file by lseek make the extension-created parts as cache
chunks
(cherry picked from commit
7a01a35adfc8f3124a259e682ea1555cb9ed7df2 )
Simon Wilkinson [Sun, 25 Jan 2009 14:52:49 +0000 (14:52 +0000)]
DEVEL15-disconnected-symlink-support-
20090125
LICENSE IPL10
FIXES 124177
allow creation of symlinks while disconnected
(cherry picked from commit
d2960e5442bb7a7f4730d2a918d8cfb5a409d05c )
Simon Wilkinson [Sun, 25 Jan 2009 14:48:39 +0000 (14:48 +0000)]
DEVEL15-disconnected-clear-cstatd-on-reconnect-
20090125
LICENSE IPL10
FIXES 124180
don't treat any information we forged as being valid while offline as valid
(cherry picked from commit
58ab0e7c58e1e8cde3fd7595d25b3537062276b3 )
Simon Wilkinson [Fri, 23 Jan 2009 15:20:46 +0000 (15:20 +0000)]
DEVEL15-linux24-update-
20090123
LICENSE IPL10
make things work on linux 2.4 again
(cherry picked from commit
b690aa8f8139c2b52a1d0dca12e89aad57a9161d )
Simon Wilkinson [Fri, 23 Jan 2009 14:44:41 +0000 (14:44 +0000)]
DEVEL15-disconnected-allow-larger-directories-
20090123
LICENSE IPL10
FIXES 124182
allow directories larger than a chunk
(cherry picked from commit
c93e751599db8b8b1515a400ce398a4d365be782 )
Simon Wilkinson [Fri, 23 Jan 2009 14:31:43 +0000 (14:31 +0000)]
DEVEL15-linux-nfstrans-test-
20090123
LICENSE IPL10
test for nfs translator before enabling
(cherry picked from commit
9093f0cf1594c72d9849ed6d4d9ab1532d0185c5 )
Matt Benjamin [Thu, 22 Jan 2009 21:49:15 +0000 (21:49 +0000)]
DEVEL15-fbsd-ustrategy-
20090122
LICENSE IPL10
make freebsd ustrategy correct
(cherry picked from commit
6742f2054ac96bcec19c01d408542c94de9a55f1 )
Mike Meffie [Thu, 22 Jan 2009 21:42:38 +0000 (21:42 +0000)]
DEVEL15-hpux-readdir2-prototype-
20090123
LICENSE IPL10
FIXES 124187
fix typo in prototype
(cherry picked from commit
85fa1b132ae93a48dfb73155921245106f31f586 )
Matt Benjamin [Thu, 22 Jan 2009 21:38:55 +0000 (21:38 +0000)]
DEVEL15-fbsd-ignore-sigsys-
20090123
LICENSE IPL10
FIXES 123867
wrong but a step forward
(cherry picked from commit
6784222ac1741d9da18ba5d66fdd5057343ab8b1 )
Matt Benjamin [Thu, 22 Jan 2009 21:29:06 +0000 (21:29 +0000)]
DEVEL15-obsd44-pass1-
20090123
LICENSE IPL10
FIXES 123830
first pass at openbsd 4.4
(cherry picked from commit
35a760632da0f15240153cb17ae96e0981e2c8c4 )
Derrick Brashear [Thu, 22 Jan 2009 21:19:57 +0000 (21:19 +0000)]
DEVEL15-klog-krb5-link-order-
20090122
LICENSE IPL10
match the (bad) link order used elsewhere
(cherry picked from commit
db15872a7ee0d1c666502f8da8c8c27c36159110 )
Derrick Brashear [Thu, 22 Jan 2009 20:20:01 +0000 (20:20 +0000)]
DEVEL15-disconnected-no-inline-on-irix-
20090122
LICENSE IPL10
make this compile on irix
(cherry picked from commit
90f9073dde7041534d448083eaeabbc61d7563f9 )
Derrick Brashear [Thu, 22 Jan 2009 20:11:56 +0000 (20:11 +0000)]
DEVEL15-disconnected-call-makedir-with-correct-casting-
20090122
LICENSE IPL10
another find by the irix compiler.
(cherry picked from commit
396b573b12a509b7e0d8d5094ebadc12c6aa8b45 )
Derrick Brashear [Thu, 22 Jan 2009 19:33:14 +0000 (19:33 +0000)]
DEVEL15-bcdb-listdumps-argument-fix-
20090122
LICENSE IPL10
prototype caught this. oops.
(cherry picked from commit
d6c5d0bbb09f84476d7928e62921a4aa01cd17ed )
Derrick Brashear [Thu, 22 Jan 2009 19:12:51 +0000 (19:12 +0000)]
DEVEL15-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.
(cherry picked from commit
92cf4d996f91e895b8995d41419b32843a40b9fb )
Jeffrey Altman [Thu, 22 Jan 2009 17:05:50 +0000 (17:05 +0000)]
DEVEL15-windows-version-
20090122
LICENSE MIT
1.5.57 == 1.5.5700.0
Derrick Brashear [Thu, 22 Jan 2009 16:44:03 +0000 (16:44 +0000)]
DEVEL15-openafs-1-5-57-
20090122
LICENSE IPL10
make 1.5.57
Jeffrey Altman [Thu, 22 Jan 2009 16:05:20 +0000 (16:05 +0000)]
DEVEL15-windows-release-notes-
20090122
LICENSE MIT
1.5.57
Jeffrey Altman [Thu, 22 Jan 2009 16:02:12 +0000 (16:02 +0000)]
DEVEL15-windows-notes-
20090122
LICENSE MIT
notes for 1.5.57
Jeffrey Altman [Thu, 22 Jan 2009 15:40:49 +0000 (15:40 +0000)]
DEVEL15-bucoord-ubik_call-no-more-
20090122
LICENSE MIT
replace ubik_Call(RPC, ...) with ubik_RPC(...)
(cherry picked from commit
1d70f4e14e991326d8d7e6d3d3f179179a7aaf45 )
Jeffrey Altman [Thu, 22 Jan 2009 15:29:10 +0000 (15:29 +0000)]
DEVEL15-ubik_Call-no-more-
20090122
LICENSE MIT
remove more ubik_Call(RPC, ...) calls and replace them with ubik_RPC(...)
(cherry picked from commit
d4b17a6e2e08c41de8ee07721029469ebcde6f72 )
Peter Tripician [Thu, 22 Jan 2009 15:16:37 +0000 (15:16 +0000)]
DEVEL15-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.
(cherry picked from commit
69bab4cc6ee68ab98b6f207f6ab80352250f6b97 )
Marc Dionne [Thu, 22 Jan 2009 14:29:54 +0000 (14:29 +0000)]
DEVEL15-salvager-sensible-chdirlessness-
20090122
LICENSE IPL10
FIXES 124154
make salvager look for and create headers in the right place.
(cherry picked from commit
f11480748cd682f60e81e8854e254fe964d5955c )
Simon Wilkinson [Wed, 21 Jan 2009 21:33:43 +0000 (21:33 +0000)]
DEVEL15-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
(cherry picked from commit
81e1d5403438929bc6380c05bdacb808a31aaa37 )
Simon Wilkinson [Wed, 21 Jan 2009 21:27:52 +0000 (21:27 +0000)]
DEVEL15-disconnected-pioctl-error-recovery-
20090121
LICENSE IPL10
FIXES 124174
make reconnection possible by doing error recovery
(cherry picked from commit
0593374e2de0da391ea793e45ca08d6c971d8f86 )
Simon Wilkinson [Wed, 21 Jan 2009 21:17:47 +0000 (21:17 +0000)]
DEVEL15-disconnected-shadow-directory-fixes-
20090121
LICENSE IPL10
FIXES 124173
fix bugs in disconnected's directory shadowing
(cherry picked from commit
4045f3d5350955de91e019b09ad2ed7941f6dadb )
Simon Wilkinson [Wed, 21 Jan 2009 21:15:03 +0000 (21:15 +0000)]
DEVEL15-disconnected-replay-fixes-
20090121
LICENSE IPL10
FIXES 124172
updates to fix bugs in disconnected change replays
(cherry picked from commit
cc42d05324c6a3dc619192a997125ca8f3a595fd )
Jeffrey Altman [Wed, 21 Jan 2009 21:04:42 +0000 (21:04 +0000)]
DEVEL15-windows-avoid-rwevent-collision-part-two-
20090121
LICENSE MIT
don't leave out the size of the buffer.
(cherry picked from commit
0fb28687b498bd4cd7994fd388c3eef2f4cd17f9 )
Jeffrey Altman [Wed, 21 Jan 2009 21:01:11 +0000 (21:01 +0000)]
DEVEL15-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.
(cherry picked from commit
10ecf76d281dc90a4f83f0c45404712b62bcea8b )
Simon Wilkinson [Wed, 21 Jan 2009 20:07:47 +0000 (20:07 +0000)]
DEVEL15-rename-conn-to-afs-conn-
20090121
LICENSE IPL10
FIXES 124116
based on patch from daleg@elemental.org. rename to avoid conflict with opensolar
is
(cherry picked from commit
a268678326f3713a0ba41f69a1432bd1fca2872f )
Simon Wilkinson [Wed, 21 Jan 2009 14:32:43 +0000 (14:32 +0000)]
DEVEL15-darwin-no-vprintf-
20090121
LICENSE IPL10
restore old behavior for mac client
(cherry picked from commit
9cc62beeb985745475ac7b3ecc5bf61c2fa06a9d )
Jeffrey Altman [Tue, 20 Jan 2009 04:36:07 +0000 (04:36 +0000)]
DEVEL15-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.
(cherry picked from commit
a0fd9b17334333e257ae9c476c4fbf85ee9fec95 )
Steven Jenkins [Tue, 20 Jan 2009 03:32:34 +0000 (03:32 +0000)]
DEVEL15-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.
(cherry picked from commit
e5a6c3f62dde6bc1b6a26957b866c3f27dc28c3a )
Jason Edgecombe [Mon, 19 Jan 2009 23:04:54 +0000 (23:04 +0000)]
DEVEL15-man-page-pts-membership-fixes-
20090119
FIXES 124157
LICENSE BSD
More wording and typo fixes for the pts membership man page.
(cherry picked from commit
8c18c62dffa23557fb521950eede4252cdafc0b5 )
Derrick Brashear [Mon, 19 Jan 2009 20:53:51 +0000 (20:53 +0000)]
DEVEL15-linux-init-script-uses-bash-
20090119
LICENSE IPL10
FIXES 124056
note the script uses bash
(cherry picked from commit
5e1859a88e8133904f1315833c17851d7e6d10a4 )
Simon Wilkinson [Mon, 19 Jan 2009 19:42:42 +0000 (19:42 +0000)]
DEVEL15-disconnected-extend-truncation-
20090119
LICENSE IPL10
FIXES 124094
implement extending truncation so disconnected works
(cherry picked from commit
dc0b96f5b7ee3f5f95639dfd5afb98ecb4ff6885 )
Simon Wilkinson [Mon, 19 Jan 2009 19:39:22 +0000 (19:39 +0000)]
DEVEL15-abstract-reset-vcache-
20090119
LICENSE IPL10
FIXES 124147
abstract vcache resetting code so disconnected can reuse it
(cherry picked from commit
57744971179a8ee7441e73eeb9e2a56d671fcc37 )
Simon Wilkinson [Mon, 19 Jan 2009 19:27:09 +0000 (19:27 +0000)]
DEVEL15-afs-q-improvements-
20090119
LICENSE IPL10
FIXES 124134
simplify afs_q macros and allow further reuse in disconnected
(cherry picked from commit
9ef65a789feed5007f18041d259f0ddd6c3c97e9 )
Simon Wilkinson [Mon, 19 Jan 2009 18:48:03 +0000 (18:48 +0000)]
DEVEL15-disconnected-flush-before-shadowing-
20090119
LICENSE IPL10
FIXES 124149
make
touch a
fs discon offline
rm -f a
fs discon online
work
(cherry picked from commit
e1cc987ea57c03a93dd02164ecb75cd705fc79b3 )
Steven Jenkins [Mon, 19 Jan 2009 18:09:19 +0000 (18:09 +0000)]
DEVEL15-rename-residency-from-mrafs-to-osd-
20090119
LICENSE IPL10
FIXES 124130
rename mrafs commands into their equivalent osd versions; structures etc are the
same.
(cherry picked from commit
92c7925b12d7b99e4ff044bc053330e77336a21a )
Simon Wilkinson [Mon, 19 Jan 2009 17:29:32 +0000 (17:29 +0000)]
DEVEL15-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 a
n infinite loop
(cherry picked from commit
9fa51694c6a41323cfeb7b41bb4dff9e8dac77be )
Russ Allbery [Mon, 19 Jan 2009 03:32:18 +0000 (03:32 +0000)]
DEVEL15-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.
(cherry picked from commit
d781450cf3c08bf89f3d1490620ed89885f7e518 )
Derrick Brashear [Mon, 19 Jan 2009 03:25:29 +0000 (03:25 +0000)]
DEVEL15-krb5-klog-link-rule-
20090118
LICENSE IPL10
this was just wrong
(cherry picked from commit
df71f42b637c5ef2aa266a709720b35e65b8e27f )
Derrick Brashear [Mon, 19 Jan 2009 03:19:15 +0000 (03:19 +0000)]
DEVEL15-volser-setflags-clear-callptr-
20090118
LICENSE IPL10
make things calling SetFlags not error
(cherry picked from commit
dbc73f43ee64072509ee0ae66cf7499ff9e5d861 )
Marc Dionne [Thu, 15 Jan 2009 13:27:27 +0000 (13:27 +0000)]
DEVEL15-linux-2629-
20090115
LICENSE IPL10
FIXES 124115
add 2.6.29 support
(cherry picked from commit
24a5d12bae9a2af393f3641055893824c71a4712 )
Chaskiel M Grundman [Thu, 15 Jan 2009 13:13:09 +0000 (13:13 +0000)]
DEVEL15-osi-probe-check-result-cope-with-enoent-
20090115
LICENSE IPL10
in order for probing to work right
(cherry picked from commit
86225b60147d58ca71063a72be02236df1257407 )
Jeffrey Altman [Wed, 14 Jan 2009 06:34:19 +0000 (06:34 +0000)]
DEVEL15-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.
(cherry picked from commit
3394644531fb89b02ffbe0c10f4a51c3a4169a39 )
Simon Wilkinson [Tue, 13 Jan 2009 19:37:15 +0000 (19:37 +0000)]
DEVEL15-linux-truncate-cleanup-
20090113
LICENSE IPL10
fix the patch to actually be applicable
(cherry picked from commit
e6d60f58e2a6b7ac9964cfb1ec753decd5d6ed91 )
Jeffrey Altman [Tue, 13 Jan 2009 16:33:30 +0000 (16:33 +0000)]
DEVEL15-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.
(cherry picked from commit
f1a13e15625afa324ffc6614eea432dcc89bf768 )
Matt Benjamin [Mon, 12 Jan 2009 14:33:25 +0000 (14:33 +0000)]
DEVEL15-freebsd-cleanup-
20090112
LICENSE IPL10
FIXES 124107
minor freebsd cleanup
(cherry picked from commit
ba9556ff2bbf854bb5c05074032b94973bf339ec )
Marc Dionne [Mon, 12 Jan 2009 14:19:10 +0000 (14:19 +0000)]
DEVEL15-linux-i-size-
20090112
LICENSE IPL10
FIXES 124106
use i_size_read macro correctly
(cherry picked from commit
45e808945627b36ab1dbb64b6fafa8ed7b1901b6 )
Andrew Deason [Mon, 12 Jan 2009 14:11:49 +0000 (14:11 +0000)]
DEVEL15-libuafs-set-fileoffsetbits-
20090112
LICENSE IPL10
FIXES 124093
make libuafs work with things which expect to be able to use native file
sizes etc
(cherry picked from commit
47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3 )
Marc Dionne [Mon, 12 Jan 2009 13:28:55 +0000 (13:28 +0000)]
DEVEL15-linux24-no-backing-dev-
20090112
LICENSE IPL10
FIXES 124100
backing_dev_info isn't in 2.4
(cherry picked from commit
434ad307430fc12968abd65e007f8e606aa55917 )
Rainer Toebbicke [Mon, 12 Jan 2009 13:24:24 +0000 (13:24 +0000)]
DEVEL15-fetch64-fstrace-typo-
20090112
LICENSE IPL10
FIXES 124113
move l to correct side of % for type printing
(cherry picked from commit
d158ddb25c769d357d5f58acbd911ec7a7281343 )
Jeffrey Altman [Sun, 11 Jan 2009 05:56:07 +0000 (05:56 +0000)]
DEVEL15-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.
(cherry picked from commit
30cfed8e25dfcc6c423d1e121360f048d6724328 )
Jeffrey Altman [Sun, 11 Jan 2009 04:52:00 +0000 (04:52 +0000)]
DEVEL15-rx-finer-grained-locking-
20091010
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:25:43 +0000 (04:25 +0000)]
DEVEL15-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.
(cherry picked from commit
5b0e23567e1ed64f448bb3253ad90d39cad31271 )
Simon Wilkinson [Fri, 9 Jan 2009 15:09:24 +0000 (15:09 +0000)]
DEVEL15-linux-truncate-race-
20090109
LICENSE IPL10
FIXES 124094
avoid a race during truncation which trips an issue when fsx is run
(cherry picked from commit
f49bf1d919b48901533da78c9fe38ca0339b7bca )
Andrew Deason [Fri, 9 Jan 2009 14:50:57 +0000 (14:50 +0000)]
DEVEL15-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.
(cherry picked from commit
2d07a62c38fea642d52c20ff86e8f72e3c16bbe0 )
Derrick Brashear [Tue, 6 Jan 2009 13:40:16 +0000 (13:40 +0000)]
DEVEL15-netrestrict-no-wildcard-
20090106
LICENSE IPL10
don't misadvertise network wildcard support
(cherry picked from commit
80fc888a9223050481de932233fe7121a48df194 )
Jeffrey Altman [Mon, 5 Jan 2009 23:13:08 +0000 (23:13 +0000)]
DEVEL15-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.
(cherry picked from commit
423ab97eee35f57beeb481cac2159d28dea20577 )
Jeffrey Altman [Mon, 5 Jan 2009 18:17:01 +0000 (18:17 +0000)]
DEVEL15-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.
(cherry picked from commit
e7edfbbf2204641ba08d0ae5e0d085e5f913f2d2 )
Jeffrey Altman [Mon, 5 Jan 2009 16:20:20 +0000 (16:20 +0000)]
DEVEL15-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.
(cherry picked from commit
8c4b06a5b62a07d4d6733b313ad404e1cb6abe8d )
Jeffrey Altman [Mon, 5 Jan 2009 00:00:20 +0000 (00:00 +0000)]
DEVEL15-rx-packet-count-debugging-
20090104
LICENSE MIT
change C preprocessor symbol required for packet count debugging
to RXDEBUG_PACKET
(cherry picked from commit
02cd4c510b2b9e2293e33372c39bd8b62089236b )