openafs.git
12 years agoDEVEL15-openafs-1-5-54-20081007
Derrick Brashear [Tue, 7 Oct 2008 22:31:47 +0000]
DEVEL15-openafs-1-5-54-20081007

LICENSE IPL10

make 1.5.54

12 years agoDEVEL15-darwin-fake-more-disk-free-20081007
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)

12 years agoDEVEL15-linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007
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)

12 years agoDEVEL15-find-new-xbsa-first-20081007
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)

12 years agoDEVEL15-ubik-notruncate-dont-pollute-fd-cache-20081007
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)

12 years agoDEVEL15-vldb-check-fix-more-kinds-of-corruption-20081007
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)

12 years agoDEVEL15-linux-fakestat-revalidate-to-validity-20081006
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)

12 years agoDEVEL15-rx-varargs-20081003
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)

12 years agoDEVEL15-kdump-rx-stats-20081003
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)

12 years agoDEVEL15-rx-windows-dpf-20081003
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)

12 years agoDEVEL15-rx-vaargs-20081003
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)

12 years agoDEVEL15-rx-varargs-20080924
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)

12 years agoDEVEL15-windows-smb_dir_watch_lock-20081003
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)

12 years agoDEVEL15-rx-current-packet-double-free-20081003
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)

12 years agoDEVEL15-linux-nfstrans-libafs-tree-20080926
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)

12 years agoDEVEL15-windows-version-20080925
Jeffrey Altman [Thu, 25 Sep 2008 21:39:31 +0000]
DEVEL15-windows-version-20080925

LICENSE MIT

1.5.53 == 1.5.5300.0

12 years agoDEVEL15-windows-notes-20080925
Jeffrey Altman [Thu, 25 Sep 2008 20:24:24 +0000]
DEVEL15-windows-notes-20080925

LICENSE MIT

1.5.53

12 years agoDEVEL15-windows-release-notes-20080925
Jeffrey Altman [Thu, 25 Sep 2008 20:19:04 +0000]
DEVEL15-windows-release-notes-20080925

LICENSE MIT

1.5.53

12 years agoDEVEL15-disconn-prototypes-20080926 openafs-devel-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)

12 years agoDEVEL15-openafs-1-5-53-20080925
Derrick Brashear [Thu, 25 Sep 2008 22:42:01 +0000]
DEVEL15-openafs-1-5-53-20080925

LICENSE IPL10

make 1.5.53

12 years agoDEVEL15-pthread-ubik-volser-stupidity-20080925
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)

12 years agoDEVEL15-rx-dpf-clarify-20080924
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)

12 years agoDEVEL15-rx-clear-queues-correctly-20080925
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)

12 years agoDEVEL15-rx-packet-allocation-debug-20080925
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)

12 years agoDEVEL15-rx-change-packet-allocation-calculation-20080925
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)

12 years agoDEVEL15-rx-flag-all-packets-20080925
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)

12 years agoDEVEL15-rx-global-lock-macro-correction-20080925
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)

12 years agoDEVEL15-rx-clear-queues-correctly-20080925
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)

12 years agoDEVEL15-rename-rx-stats-20080925
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)

12 years agoDEVEL15-rx-readproc32-avoid-losing-currentpacket-20080925
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)

12 years agoDEVEL15-ah-verbatim-section-tweak-20080925
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)

12 years agoDEVEL15-acfooter-inline-20080925
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)

12 years agoDEVEL15-rx-windows-mutex-is-mine-lwp-20080925
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)

12 years agoDEVEL15-rx-user-prototype-20080925
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)

12 years agoDEVEL15-rx-prototypes-20080925
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)

12 years agoDEVEL15-rx-windows-mutex-is-mine-20080925
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)

12 years agoDEVEL15-bypasscache-20080922
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)

12 years agoDEVEL15-disconnected-fix-ifdefing-20080925
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)

12 years agoDEVEL15-dafs-vol-offline-status-20080925
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)

12 years agoDEVEL15-dafs-drop-volheaders-20080925
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)

12 years agoDEVEL15-windows-remove-entraneous-commit-20080924
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)

12 years agoDEVEL15-disconnected-rw-20080922
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)

12 years agoDEVEL15-windows-vlserver-updates-20080924
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)

12 years agoDEVEL15-rx-prototypes-20080924
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)

12 years agoDEVEL15-generic-inline-20080924
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)

12 years agoDEVEL15-rx-dpf-clarify-20080924
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)

12 years agoDEVEL15-macos-panic-decoder-format-fix-20080921
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)

12 years agoDEVEL15-macos-installer-images-20080921
Asanka Herath [Sun, 21 Sep 2008 14:00:29 +0000]
DEVEL15-macos-installer-images-20080921

LICENSE IPL10

revised images for the installer and package

12 years agoDEVEL15-windows-local-dir-updates-20080916
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)

12 years agoDEVEL15-windows-dir-search-star-dot-pattern-20080916
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)

12 years agoDEVEL15-windows-lock-order-20080916
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)

12 years agoDEVEL15-windows-byte-range-locks-20080913
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)

12 years agoDEVEL15-windows-vnovol-20080912
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)

12 years agoDEVEL15-windows-service-procs-20080912
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)

12 years agoDEVEL15-redhat-mockbuild-dksm-20080912
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)

12 years agoDEVEL15-windows-dir-new-pages-20080911
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)

12 years agoDEVEL15-windows-vnovol-20080911
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)

12 years agoDEVEL15-windows-flush-btrees-20080911
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)

12 years agoDEVEL15-windows-cell-list-validation-20080911
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)

12 years agoDEVEL15-windows-rx-jumbo-20080911
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)

12 years agoDEVEL15-windows-multi-check-server-20080911
Jeffrey Altman [Thu, 11 Sep 2008 17:52:45 +0000]
DEVEL15-windows-multi-check-server-20080911

LICENSE MIT

Permit rx_multi check server to be toggled via a registry setting
at checked prior to each invocation.  "MultiCheckServers".
Default is on.

Remove volume status updates for vldb server status changes.

(cherry picked from commit 59c1c22747b8aaf1da31f97d8a3ea178a4f7adee)

12 years agoDEVEL15-aix-export-build-fix-20080906
Derrick Brashear [Sat, 6 Sep 2008 12:59:13 +0000]
DEVEL15-aix-export-build-fix-20080906

LICENSE IPL10

add missing ; to case actions

(cherry picked from commit f51e8e7be5b16f84f0603a0e8bc1be4ffafac617)

12 years agoDEVEL15-syncserv-syncvldb-manpages-dryrun-20080906
Derrick Brashear [Sat, 6 Sep 2008 12:51:27 +0000]
DEVEL15-syncserv-syncvldb-manpages-dryrun-20080906

LICENSE IPL10

make syncserv and syncvldb manpages reflect dryrun option

(cherry picked from commit 4119d9742b3e17fac6a3f1f7ab64ec829f085498)

12 years agoDEVEL15-windows-vnovol-20080905
Jeffrey Altman [Sat, 6 Sep 2008 05:25:59 +0000]
DEVEL15-windows-vnovol-20080905

LICENSE MIT

force a volume location update upon receipt of a VNOVOL error
in case the volume was moved.  VMOVED is only returned by the file
server if the volume is in the process of being moved.  Once it has
been deleted the file server returns VNOVOL.

(cherry picked from commit 0860d5b5b17ef5f58592d739424a4cca8dd91bb5)

12 years agoDEVEL15-fileserver-sticky-bit-admin-only-20080905
Derrick Brashear [Fri, 5 Sep 2008 17:57:55 +0000]
DEVEL15-fileserver-sticky-bit-admin-only-20080905

LICENSE IPL10

do restrict the sticky bit to admins.

(cherry picked from commit 5c2406070fc08c5fee0a09a1aa25e16af123b81a)

12 years agoDEVEL15-windows-smb-volname-20080904
Jeffrey Altman [Thu, 4 Sep 2008 21:09:13 +0000]
DEVEL15-windows-smb-volname-20080904

LICENSE MIT

Advertise the correct length for the volume name.  Do not include the NUL.

Add more create option values as #defines.

(cherry picked from commit beef54e70cc86672b9971288fe4034829186aa41)

12 years agoDEVEL15-fileserver-sticky-bit-not-admin-only-20080904
Derrick Brashear [Thu, 4 Sep 2008 20:41:26 +0000]
DEVEL15-fileserver-sticky-bit-not-admin-only-20080904

LICENSE IPL10

don't restrict the sticky bit to admins.

(cherry picked from commit 9689e78d716422970a0ae3ad89d36acaa517072e)

12 years agoDEVEL15-windows-cell-locking-20080903
Jeffrey Altman [Wed, 3 Sep 2008 22:04:51 +0000]
DEVEL15-windows-cell-locking-20080903

LICENSE MIT

fix a lock order issue and protect the timeout and flags field
of cm_cell_t with the mutex instead of the global lock.

(cherry picked from commit bbd713ad3f403c9137e01797f576f5dbd04a0f08)

12 years agoDEVEL15-windows-smb-lock-order-20080903
Jeffrey Altman [Wed, 3 Sep 2008 21:41:04 +0000]
DEVEL15-windows-smb-lock-order-20080903

LICENSE MIT

another lock order violation to fix

(cherry picked from commit 441cc643e027ab98ed14ab486ec077bbbd0c0d4f)

12 years agoDEVEL15-aix61-old-build-system-20080903
Derrick Brashear [Wed, 3 Sep 2008 20:35:32 +0000]
DEVEL15-aix61-old-build-system-20080903

LICENSE IPL10

massage in support for pinstall

12 years agoDEVEL15-aix61-initial-support-20080903
Niklas Edmundsson [Wed, 3 Sep 2008 19:27:02 +0000]
DEVEL15-aix61-initial-support-20080903

LICENSE IPL10
FIXES 113638

aix 6.1 support

(cherry picked from commit 539535cf679d6e70f34b80b74c127efae1f0bba2)

12 years agoDEVEL15-rx-mutex-init-once-20080903
Jeffrey Altman [Wed, 3 Sep 2008 19:07:23 +0000]
DEVEL15-rx-mutex-init-once-20080903

LICENSE IPL10
FIXES 114555

because rx_Finalize doesn't clean up, we end up reiniting mutexes. use
pthread_once when not in the kernel.
(kernel does not now call rx_Finalize, ever)

(cherry picked from commit 7f4e0dfc3ef1464c8d8b422bf00915fa4538090c)

12 years agoDEVEL15-linux26-libafs-makefileproto-trust-kbuild-system-no-really-20080903
Derrick Brashear [Wed, 3 Sep 2008 17:59:18 +0000]
DEVEL15-linux26-libafs-makefileproto-trust-kbuild-system-no-really-20080903

LICENSE IPL10

if we are really not using COMMON_KERN_CFLAGS and being trusting, let's do so.

(cherry picked from commit 995ee981fd2631d6e1e45311cee0a6d58f4a56be)

12 years agoDEVEL15-windows-afsd-dns-env-20080902
Jeffrey Altman [Tue, 2 Sep 2008 23:35:36 +0000]
DEVEL15-windows-afsd-dns-env-20080902

LICENSE MIT

Fix the conditionals so that the right thing happens if AFS_AFSDB_ENV
is not defined.

(cherry picked from commit 9803e84e63c28e87c76e6f4e77343fec4ef4dcf4)

12 years agoDEVEL15-windows-fs-setcrypt-auth-20080902
Jeffrey Altman [Tue, 2 Sep 2008 22:25:55 +0000]
DEVEL15-windows-fs-setcrypt-auth-20080902

LICENSE MIT

fix parsing and display of fs setcrypt auth

(cherry picked from commit 8bf17e7c813f9b2aa8a953a8d0251322ee970d2c)

12 years agoDEVEL15-smb-string-conversion-20080902
Jeffrey Altman [Tue, 2 Sep 2008 22:21:34 +0000]
DEVEL15-smb-string-conversion-20080902

LICENSE MIT

more cases where -1 should be passed in as opposed to the strlen value
when converting between char and wchar forms

(cherry picked from commit 84e10d582abdf65a5354b1c4b41d7e2ecad532f8)

12 years agoDEVEL15-windows-rxkad-auth-20080902
Jeffrey Altman [Tue, 2 Sep 2008 22:16:18 +0000]
DEVEL15-windows-rxkad-auth-20080902

LICENSE MIT

Add ability for users to select rxkad auth only mode.
"fs setcrypt auth".

(cherry picked from commit d94b9a78188357f87fa569ec7738d4e69ff05faa)

12 years agoDEVEL15-windows-afsd-init-20080902
Jeffrey Altman [Tue, 2 Sep 2008 22:09:13 +0000]
DEVEL15-windows-afsd-init-20080902

LICENSE MIT

report state of "Rx Jumbo" and "RxExtraPackets" more often

(cherry picked from commit 21abc0e0b51cd3fd014b06b187d497996058ffe4)

12 years agoDEVEL15-windows-cell-free-list-20080902
Jeffrey Altman [Tue, 2 Sep 2008 21:18:33 +0000]
DEVEL15-windows-cell-free-list-20080902

LICENSE MIT

add a free list to the cm_cell_t structure.  if during cm_GetCellGen()
the cm_SearchCellXXX() calls fail, store the allocated cm_cell_t object
on a free list so that it can be reused for the next request.

(cherry picked from commit e31826d3331b8eb1893c627ac55eb299df88995b)

12 years agoDEVEL15-windows-cell-alloc-reversed-20080902
Jeffrey Altman [Tue, 2 Sep 2008 17:34:41 +0000]
DEVEL15-windows-cell-alloc-reversed-20080902

LICENSE MIT

The approach taken in windows-cell-alloc-20080902 won't work.

(cherry picked from commit 829ff4e54f055de1dc26a1508d2abf4a3c72ff75)

12 years agoDEVEL15-windows-cell-alloc-20080902
Jeffrey Altman [Tue, 2 Sep 2008 16:21:39 +0000]
DEVEL15-windows-cell-alloc-20080902

LICENSE MIT

Perform the initial cm_SearchCellXXX call using a temporary cm_cell_t
object in case the search fails.

(cherry picked from commit ef64f50fb9f477a0acbe1223ee2b0c9981f9324e)

12 years agoDEVEL15-windows-smb-free-lsa-response-20080901
Jeffrey Altman [Mon, 1 Sep 2008 13:39:39 +0000]
DEVEL15-windows-smb-free-lsa-response-20080901

LICENSE MIT

Whether or not LsaCallAuthenticationPackage succeeds, it may return
a response buffer.  If it does, free it.

(cherry picked from commit a653057ff453a0d340c8153615aa44ae1679c892)

12 years agoDEVEL15-windows-afsd-init-lock-order-validation-20080830
Jeffrey Altman [Sat, 30 Aug 2008 15:14:43 +0000]
DEVEL15-windows-afsd-init-lock-order-validation-20080830

LICENSE MIT

Add TransarcAFSDaemon/Parameters key "LockOrderValidation" DWORD
to control lock order validation functionality.  Defaults to off
for release builds and on for checked builds.

(cherry picked from commit 83dadab93adde0812f9ae228667683cfcc761f67)

12 years agoDEVEL15-windows-lock-order-validation-20080830
Jeffrey Altman [Sat, 30 Aug 2008 15:05:14 +0000]
DEVEL15-windows-lock-order-validation-20080830

LICENSE MIT

Add osi_SetLockOrderValidation(int) to permit lock order validation
to be turned on and off.  Must be executed before the first lock
is obtained.

(cherry picked from commit a36596f10ff4d87d75a808cabe4e0e5ec661c5df)

12 years agoDEVEL15-windows-buf-shutdown-20080829
Jeffrey Altman [Sat, 30 Aug 2008 03:15:07 +0000]
DEVEL15-windows-buf-shutdown-20080829

LICENSE MIT

During buf_Shutdown() all dirty buffers should be written to the file
server if they can be.

(cherry picked from commit ccdf50ade371de595abe20f5a6b0ff149ce9ae79)

12 years agoDEVEL15-windows-afsd-shutdown-20080829
Jeffrey Altman [Sat, 30 Aug 2008 03:06:28 +0000]
DEVEL15-windows-afsd-shutdown-20080829

LICENSE MIT

reorganize the service shutdown order to permit dirty buffers to be
flushed to the file server without competition from incoming requests.

(cherry picked from commit 2da64d02a2707a3c9220951a30b5cea8464b9ef9)

12 years agoDEVEL15-windows-check-servers-20080828
Jeffrey Altman [Thu, 28 Aug 2008 10:47:41 +0000]
DEVEL15-windows-check-servers-20080828

LICENSE MIT

if the server count is zero, don't both trying

(cherry picked from commit 00fee5efee68f1647fa810dffa7ad991235d01c5)

12 years agoDEVEL15-windows-check-server-heap-overwrite2-20080827
Jeffrey Altman [Thu, 28 Aug 2008 00:44:03 +0000]
DEVEL15-windows-check-server-heap-overwrite2-20080827

LICENSE MIT

the incorporation of nconns into the foo incremental was a mistake

(cherry picked from commit 43eb87a916b87c6037841ea38cde616014d892a8)

12 years agoDEVEL15-windows-check-server-heap-overwrite-20080827
Jeffrey Altman [Wed, 27 Aug 2008 23:09:56 +0000]
DEVEL15-windows-check-server-heap-overwrite-20080827

LICENSE MIT

Protect against a heap overwrite that could occur is the number of file
servers or vldb servers grows while the maximum number of connections
is computed and when the connection list is populated.

(cherry picked from commit e68255c12c444e36b7ca7f1864d964cd3a0bcda8)

12 years agoDEVEL15-windows-callback-lock-order-20080827
Jeffrey Altman [Wed, 27 Aug 2008 23:03:19 +0000]
DEVEL15-windows-callback-lock-order-20080827

LICENSE MIT

do not hold cm_server_t mutex when calling cm_FindVolumeByID because
the cm_volume_t lock must be obtained ahead of the cm_server_t mutex

(cherry picked from commit 0affa4b86a08c3be9cb4edc4c9f680ae02a2fcd8)

12 years agoDEVEL15-windows-lock-order-20080827
Jeffrey Altman [Wed, 27 Aug 2008 13:18:04 +0000]
DEVEL15-windows-lock-order-20080827

LICENSE MIT

do not hold cm_scacheLock while obtaining cm_scache_t->rw

(cherry picked from commit c50857b05e6636bef864c9418b21d1bf3c63494a)

12 years agoDEVEL15-windows-short-names-20080827
Jeffrey Altman [Wed, 27 Aug 2008 12:49:20 +0000]
DEVEL15-windows-short-names-20080827

LICENSE MIT

plus and equal are not valid characters in short names.
we replace them with left and right brace in order to
minimize the instability in the file names.

(cherry picked from commit bef68684fd7bb4e58e621766a0f2abbdfd15af80)

12 years agoDEVEL15-freebsd-70-client-20080826
Matt Benjamin [Tue, 26 Aug 2008 15:59:52 +0000]
DEVEL15-freebsd-70-client-20080826

LICENSE IPL10

FreeBSD 7.0 client support (and 8.0 support but that's a moving target)

(cherry picked from commit a123bd8ccde0d6baf04401201b1672b19e9778db)

12 years agoDEVEL15-studio12-solaris-updates-20080826
Tom Keiser [Tue, 26 Aug 2008 15:11:46 +0000]
DEVEL15-studio12-solaris-updates-20080826

LICENSE IPL10
FIXES 113671

update so we build with studio 12 on solaris

(cherry picked from commit 4d245c6a19394d54a241bd612016b10d1113ee7b)

12 years agoDEVEL15-linux-rpm-make-dkms-remove-work-20080826
Derrick Brashear [Tue, 26 Aug 2008 14:44:43 +0000]
DEVEL15-linux-rpm-make-dkms-remove-work-20080826

LICENSE IPL10

rpm -e failed because of a typo here when removing our dkms rpm

(cherry picked from commit 82c62ae0e3b6366c9cdef0569e5be4637127e586)

12 years agoDEVEL15-windows-scache-lock-20080825
Jeffrey Altman [Tue, 26 Aug 2008 05:56:42 +0000]
DEVEL15-windows-scache-lock-20080825

LICENSE MIT

restore a missing obtain write lock

(cherry picked from commit e16c4f8a96f0568d5f7155c88f9b877baa500b7d)

12 years agoDEVEL15-windows-misc-20080825
Jeffrey Altman [Tue, 26 Aug 2008 05:38:44 +0000]
DEVEL15-windows-misc-20080825

LICENSE MIT

avoid a deadlock in cm_GiveUpAllCallbacks

log UAEEXIST / EEXIST in cm_Analyze

(cherry picked from commit e0380d54bad50582b6bc39e2b41e78d72117ec79)

12 years agoDEVEL15-windows-client-osi-20080825
Jeffrey Altman [Tue, 26 Aug 2008 05:16:02 +0000]
DEVEL15-windows-client-osi-20080825

LICENSE MIT

add more asserts to attempt to catch locks released in threads other
than the one that obtained them.

(cherry picked from commit cb455744d49f250c236ab24cdcfffda104ef3774)

12 years agoDEVEL15-server-argument-consistency-and-jumbograms-off-20080824
Derrick Brashear [Mon, 25 Aug 2008 02:14:59 +0000]
DEVEL15-server-argument-consistency-and-jumbograms-off-20080824

LICENSE IPL10
FIXES 108703

go through and make servers able to take debug log level on command line;
add -jumbo; default to -nojumbo

(cherry picked from commit 12c8abc69030d3368194b148c692215c61b5da9c)

12 years agoDEVEL15-windows-smb-more-check-open-done-20080824
Jeffrey Altman [Sun, 24 Aug 2008 22:46:42 +0000]
DEVEL15-windows-smb-more-check-open-done-20080824

LICENSE MIT

call cm_CheckNTOpenDone() in error conditions as well

(cherry picked from commit a88d12746a9e7e8e79a80c5bcafda449810b4e22)