3963 Commits

Author SHA1 Message Date
Jeffrey Altman
8598876296 DEVEL15-windows-readme-20061023
(cherry picked from commit eecdb30c47b4c1a12011d2bf9bf0b6eb07797427)
openafs-devel-1_5_10
2006-10-23 05:08:48 +00:00
Jeffrey Altman
12d5ed1afe DEVEL15-windows-smb_fid_t-deadlock-20061022
smb_ReleaseFID cannot be called while a cm_scache_t->mx is held

shuffle the order of the smb_ReleaseFID calls so they are always after
cm_XXXRelease calls for performance.


(cherry picked from commit c484781531ce29d3d1b5c3753322be4a87dd0841)
2006-10-22 13:25:38 +00:00
Jeffrey Altman
7f2c4c5cac DEVEL15-windows-delonclose-20061021
set delonclose after obtaining the smb_fid_t


(cherry picked from commit 77d210cde774995bffdebf3347847afebd6f7cfd)
2006-10-22 03:29:58 +00:00
Tom Keiser
ebb53bebac DEVEL15-parallel-attaching-20061021
FIXES 43332

Some sites expect single-threaded volume attaches to happen in a specific
order. The parallel attach patch also changed the attach order for sites
not specifying -vattachpar.


(cherry picked from commit e6b719a4c0a33b0b020c07c20124a40a245dbe9e)
2006-10-22 03:00:12 +00:00
Jeffrey Hutzelman
231ef42273 DEVEL15-kreltime-20061021
FIXES 43551

kreltime-guard-against-null-tm-20060731 was apparently an
attempt to deal with the possibility of localtime() returning NULL by
using localtime_r instead, and zeroing the tm structure first. This has
two problems. First, localtime_r is not guaranteed to leave its output
buffer untouched or in a sane state in the event it is given invalid
input. More importantly, the second half of this delta fixed the build
on Windows (which apparently lacks localtime_r) at the expense of using
the wrong level of indirection on other platforms.

Simple is nice, but correct is important too. There is nothing wrong
with switching to localtime_r to avoid thread safety issues. However,
the correct fix for the anticipated problem was and is to check the
return value of localtime (or localtime_r), and if it is NULL, fill in
the ktime_date with suitable default values.

The attached patch does not implement the correct fix, but does fix the
double-indirection problem, so butc will again perform correctly instead
of crashing.


(cherry picked from commit e720779b7c8472a0d928b0e1429b476f073309aa)
2006-10-22 02:53:46 +00:00
Jeffrey Altman
30021718bd DEVEL15-windows-version-20061021
1.5.10 == 1.5.1000
2006-10-21 21:55:41 +00:00
Jeffrey Altman
2c0260bb4e DEVEL15-windows-notes-20061021
1.5.10
2006-10-21 21:53:11 +00:00
Jeffrey Altman
0a1920f9d4 DEVEL15-windows-release-notes-20061021
1.5.10
2006-10-21 21:49:45 +00:00
Jeffrey Altman
a8d6f4f6a9 DEVEL15-windows-misc-20061021
* don't DebugBreak unless a debugger is attached

* replace afsdcell.ini with CellServDB in error message

* do not NetBIOS Reset adapters when checking to see if only the loopback
  is in use because doing so breaks the existing LANA bind

* remove a deadlock in smb3.c

* do not retry dirty buffer writes when flushing in response to a suspend

* do not flush in response to a suspend when only the loopback is present


(cherry picked from commit 4f26bcfdb3c6a47d17f825e99f9d5a1bc97eba45)
2006-10-21 21:47:48 +00:00
Jeffrey Altman
2056f15b83 DEVEL15-windows-version-20061017
1.5.903 == 1.5.9a
openafs-devel-1_5_9a
2006-10-17 15:35:29 +00:00
Jeffrey Altman
573ae2a818 DEVEL15-windows-version-20061016
1.5.1000 == 1.5.10
2006-10-17 01:38:52 +00:00
Jeffrey Altman
8e2bafd7c1 DEVEL15-windows-dbg-refcount-20061016
more code to assist in debugging scache refcount leaks


(cherry picked from commit 740013fcbf2273287414dd399b3020ed09cf07ba)
2006-10-17 01:32:57 +00:00
Jeffrey Altman
c5eea6d77a DEVEL15-windows-scache-ref-leak-20061016
more reference count leaks


(cherry picked from commit 6bc62e6c906174ef76759d77b3c6c9067a424455)
2006-10-17 01:21:36 +00:00
Jeffrey Altman
ed2322ea8f DEVEL15-windows-notes-20061016
more notes for 1.5.9
openafs-devel-1_5_9
2006-10-16 15:17:52 +00:00
Jeffrey Altman
c2408432a4 DEVEL15-windows-release-notes-20061016
add info on netidmgr plug-in
2006-10-16 15:13:09 +00:00
Jeffrey Altman
c48bb3cf0d DEVEL15-windows-netidmgr-plugin-20061016
fixup build dependencies for afsp_version.h

====================
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.
====================

fixup copyrights


(cherry picked from commit 5aa0347678c472d21b99af516c64578c4af41ea9)
2006-10-16 14:55:34 +00:00
Jeffrey Altman
06d42d17da DEVEL15-windows-version-20061016
1.5.902 == 1.5.9
2006-10-16 14:42:13 +00:00
Derrick Brashear
1aa27558ba DEVEL15-audit-one-more-thing-20061013
it never ends


(cherry picked from commit 3e10dc3a84037bf86a744c6631854b580d5fab4b)
2006-10-13 20:43:45 +00:00
Derrick Brashear
e00ee1cdd9 DEVEL15-audit-remove-nested-valists-20061013
last straw
make amd64, ppc happy for sure and for ever


(cherry picked from commit e3d10f048b3cbaa278f8213d8de6874db80f7658)
2006-10-13 18:39:06 +00:00
Tom Keiser
306cf30842 DEVEL15-aix-cleanup-20061013
fixes for aix pre 5.2 (statfs64), remove a c++ style comment (makes xlc sad) and
 make clean target clean


(cherry picked from commit 453abf6aa149e27622745b818afb88019e22171a)
2006-10-13 14:09:03 +00:00
Derrick Brashear
633c5e7021 DEVEL15-uae-translate-create-20061013
really the stubs should probably just translate the codes back. maybe for 1.6


(cherry picked from commit 0e8238e7cb90c022ec126c05987d8258197a413a)
2006-10-13 06:12:51 +00:00
Jeffrey Altman
0a2dc9f445 DEVEL15-windows-netidmgr-plugin-20061012
afsp_version.h is auto-generated

====================
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.
====================

fix product version generation


(cherry picked from commit c8a86da7f76a8e71d883cda39c10251b0910302c)
2006-10-13 00:28:28 +00:00
Jeffrey Altman
0023dc617f DEVEL15-windows-kfw-sdk-20060921
kfw 3.1


(cherry picked from commit faee281941502211c3ea8a62ffea85d934d9ba3a)
2006-10-12 22:42:20 +00:00
Asanka Herath
b481c719ac DEVEL15-windows-netidmgr-plugin-20061010
Secure Endpoints Inc. is contributing its AFS plug-in for KFW 3.1's
Network Identity Manager to OpenAFS under an MIT style license.


(cherry picked from commit f72c2fc3e75a13e3736a275df35597ad43f620fa)
2006-10-12 22:19:35 +00:00
Jeffrey Altman
e95eedf99f DEVEL15-windows-scache-ref-leak-20061012
make sure the scache mutex is held across calls to cm_SyncOpDone


(cherry picked from commit 2b96ba59194831ef298585c4f82d574a0790f3a6)
2006-10-12 06:59:25 +00:00
Derrick Brashear
b5d4cf1a6e DEVEL15-auditlog-sublist-fix-20061012
FIXES 35559

update so we don't botch the va_list child


(cherry picked from commit e8a6b9977e637e304017cae8ac6d3fd03501b376)
2006-10-12 05:24:43 +00:00
Derrick Brashear
3299cd9dfe DEVEL15-linux-aio-functions-improved-test-20061011
detect properly if we have nothing


(cherry picked from commit d71d42d29f923750be4f4f518b8d0e72dba8fa23)
2006-10-12 03:58:05 +00:00
Chaskiel M Grundman
0d75c9e503 DEVEL15-version-string-generation-consistency-20061011
FIXES 42320

try harder to reflect actual version


(cherry picked from commit eca0d2bdc94cbdbaeccd3d56991019c4ac732064)
2006-10-11 14:18:10 +00:00
Chaskiel M Grundman
c4897e29fe DEVEL15-elif-missing-defined-20061011
FIXES 42321

add missing defined() to avoid warning on macro


(cherry picked from commit cbc3b26165f18fbcf9e41b493541ed0a8035bc37)
2006-10-11 13:27:18 +00:00
Peter Nelson
44c4045c29 DEVEL15-rx-memset-param-swap-20061011
discovered via google codesearch


(cherry picked from commit e870e08280c27e6164b240be74057744352d7371)
2006-10-11 12:31:38 +00:00
Derrick Brashear
c15cc959f5 DEVEL15-irix-compiler-hates-commas-20061010
damn is irix fussy


(cherry picked from commit 59234e93a7aaf2f62bdd19bea39681e74752d1c5)
2006-10-10 23:23:16 +00:00
Chas Williams
dc4263fc99 DEVEL15-linux-dont-lock-around-inactivevcache-20061010
FIXES 42312

iafs_InactiveVCache() calls afs_InvalidateAllSegments() which says
it should be called with the vnode locked. so the lock should
probably be moved to afs_InactiveVCache() so it can be droppped
before calling afs_remunlink().


(cherry picked from commit ac52e2f3c0bec9298d020de963036409165f380e)
2006-10-10 23:02:42 +00:00
Derrick Brashear
f565b86f25 DEVEL15-irix-fgets-return-type-fun-20061010
of course, we were just throwing it away, but....


(cherry picked from commit 8fa4ca5b80bb2e0ac43bd9ae4883ac7f5b3928b8)
2006-10-10 21:22:56 +00:00
Jeffrey Altman
64b9d64aa6 DEVEL15-windows-scache-ref-leak-20061010
if cm_FindSCache is called the returned scache object
must be released.


(cherry picked from commit c60736030bc7f7a678fc44af90d001cd8c08acf5)
2006-10-10 16:57:44 +00:00
Jeffrey Altman
44ffb0d091 DEVEL15-windows-afscreds-20061010
prevent a stack overflow if the afsd_service does not successfully
start after a request to do so is issued.


(cherry picked from commit 3c13e5f0c0423d5e724ab224af22d7d3606ef1b0)
2006-10-10 16:54:33 +00:00
Jeffrey Altman
4cb3d91d47 DEVEL15-windows-build-clean-20061010
more AFS_component_version_number.h files to remove


(cherry picked from commit 8b7e9da62578c3d10bf699062963c02aa59d1609)
2006-10-10 16:49:33 +00:00
Tracy Di Marco White
3a4f23b768 DEVEL15-nbsd-sysnames-20061008
FIXES 42019

add missing sysnames


(cherry picked from commit aa7d443b6d8d45b68115c72ede6da68d863e33c7)
2006-10-09 04:30:40 +00:00
Derrick Brashear
355cf8ce5d DEVEL15-h-enum-r-avoid-extra-hold-20061008
FIXES 40699

avoid orphaning an extra hold


(cherry picked from commit 747a8d8f41a34290c207327541372b4e1fcb0dec)
2006-10-09 04:24:51 +00:00
Jeffrey Altman
ad65410756 DEVEL15-windows-version-20061008
1.5.900 == 1.5.9
2006-10-09 04:20:01 +00:00
Jeffrey Hutzelman
8a3da4d498 DEVEL15-cellservdb-20061008
cellservb update from grand.central.org


(cherry picked from commit 5ae8cf85e65e18a3d5593706c6f3f8d9435798e2)
2006-10-09 04:15:07 +00:00
Jeffrey Altman
caef4a97b6 DEVEL15-windows-scache-ref-leak-fix-20061008
pointer not pointer to pointer


(cherry picked from commit 1e9533907d4877f6b6aa70eb749e7a3e1717d861)
2006-10-09 02:52:20 +00:00
Jeffrey Altman
adb2529e5d DEVEL15-windows-relnotes-20061008
Minor updates for 1.5.9
2006-10-09 02:22:30 +00:00
Jeffrey Altman
2dc5fef5df DEVEL15-windows-scache-ref-dbg-20061008
add debugging code that can be activated with #define DEBUG_REFCOUNT
to assist in debugging scache refcount leaks


(cherry picked from commit 8919e0d5175dae85991a3782f659621c5be4056f)
2006-10-08 21:38:24 +00:00
Jeffrey Altman
fe1d59e810 DEVEL15-windows-scache-ref-leak-20061008
plug two more scache refcount leaks


(cherry picked from commit 7231e2efe650b004168d443a290c4fed8b2db0a5)
2006-10-08 21:31:36 +00:00
Jeffrey Altman
4254bfb254 DEVEL15-windows-osi-prototypes-20061007
osi_LogCreate


(cherry picked from commit c97374d6fd494ab790da7ae6c591abe0dac3d194)
2006-10-07 23:36:03 +00:00
Jeffrey Altman
dc00a1d2b1 DEVEL15-windows-misc-cleanup-20061007
reformat some code; make sure that pointers are copied while
mutexes are held; ...


(cherry picked from commit b4007635064f08d4d0f019acc9888f0d4005708c)
2006-10-07 23:33:29 +00:00
Jeffrey Altman
7486e2f4c2 DEVEL15-windows-scache-ref-leak-20061007
return the cm_scache_t whose refCount was increased


(cherry picked from commit feb5f27c754325dcc5fd9eb13f305bc1c0172977)
2006-10-07 23:29:12 +00:00
Jeffrey Altman
c451a02881 DEVEL15-windows-notes-20061006
updates since 1.5.8
2006-10-06 18:00:47 +00:00
Jeffrey Altman
7e447d9845 DEVEL15-windows-misc-fixes-20061006
#ifdef DEBUG_REFCOUNT the ref count log entries so they aren't always
compiled in

comment out the remaining location where the write lock on cm_scacheLock
is dropped in order to obtain the scache mutex on the object returned
from cm_GetNewSCache().  Dropping the lock results in more than one
thread being given the same cm_scache_t which is more dangerous than
blowing away the contents of the object without holding the mutex

ensure that cm_BufWrite is always called with a non-NULL scp.  Add
an assertion to double check that we do it all the time.


(cherry picked from commit ffe26eb18da581d2df02f9531d97e31e1c6dee65)
2006-10-06 17:32:43 +00:00
Jeffrey Altman
9067be8ef5 DEVEL15-windows-log-crlf-20061006
use CR-LF as the afsd.log EOL so that it can be read with notepad.exe


(cherry picked from commit ffe5092c3107afa72696f8d164c3ec587c2255ad)
2006-10-06 17:26:41 +00:00