3855 Commits

Author SHA1 Message Date
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
Tracy Di Marco White
9aade56ceb DEVEL15-netbsd-30-20061006
FIXES 40782

add support for netbsd 3.0, netbsd 4.0(ish)


(cherry picked from commit 04b51cc8df7a3210ea18228743cb156c0e2c7115)
2006-10-06 15:58:47 +00:00
Chaskiel M Grundman
b157ba37c2 DEVEL15-osi-probe-avoid-out-of-range-memory-reads-20061006
FIXES 41858

avoid oops on opteron due to accessing unmapped memory


(cherry picked from commit e39f4d87896c451afb8c38705de4c12fd3940182)
2006-10-06 15:02:56 +00:00
Chas Williams
5f9efaeebf DEVEL15-linux-2619-aio-and-read-write-changes-20061006
changes to support 2.6.19


(cherry picked from commit 775ea6f1b79b0e0e2b700e3894e01279e26ebbfa)
2006-10-06 14:29:14 +00:00
Jeffrey Altman
57336da0a6 DEVEL15-windows-more-misc-fixes-20061005
replace all DebugBreak() calls with osi_panic.

remove calls to cm_RecycleSCache from VNOVNODE handler as its not
lock safe to drop and re-obtain locks to adhere to the locking
hierarchy

restore reference to CM_SCACHESYNC_STOREDATA that should
not have been removed.

remove attempts to adhere to locking hierarching from cm_GetNewSCache.
dropping the cm_scacheLock is too dangerous

add a check to ensure that the scache refcount is not zero if there
is a valid smb_fid_t pointing to it.

more debug logging


(cherry picked from commit b7117f61036c63238eb926c6eb71d42a56766501)
2006-10-06 06:15:22 +00:00
Jeffrey Altman
18336df014 DEVEL15-windows-misc-fix-20061005
still tracking down issues when large numbers of temporary files
are created and deleted in the same directory from multiple
machines.

VNOVNODE must return CM_ERROR_BADFD

ensure that all calls to cm_GetCallback are made from cm_SyncOp.

add CM_SCACHESYNC_FORCECB logic to cm_SyncOp so that it can be
removed from cm_GetAccess

don't mix CM_SCACHESYNC_NEEDCALLBACK with CM_SCACHESYNC_STOREDATA
or CM_SCACHESYNC_FETCHDATA


(cherry picked from commit 4cd9eee0155edba89b77779af9aea4f1aa55cd96)
2006-10-05 21:30:38 +00:00
Jeffrey Altman
139a46495e DEVEL15-windows-misc-fix-20061004
more cleanup from recent patches.  comment out the recycling code because
it is not possible to implement it using the current locking hierarchy.

change cm_BufWrite to take a pointer to cm_scache_t instead of a fid
which must be used to look up a new reference to the cm_scache_t.
more often than not we already have the scp and in the one case we
don't we can let the caller look up the scp and then call cm_BufWrite
if it is found.  If not, we have saved a function call and a bunch
of lock operations.

add a lot more logging.

improve the scp mutex handling within smb_CloseFID


(cherry picked from commit 38d464e5791dbd96d6da85a0c0123f8b575f4e39)
2006-10-05 06:41:28 +00:00
Jeffrey Altman
8d66c0f575 DEVEL15-windows-wrong-lock-20061003
grab the correct mutex so we don't free one we are not holding


(cherry picked from commit b9fd1d4c7eb672ec092596af7826e87e2d931c40)
2006-10-04 06:32:14 +00:00
Jeffrey Altman
6711ad9534 DEVEL15-windows-oops-20061003
didn't mean to delete this release mutex


(cherry picked from commit 93b3be7d1adfcf90bb21009891d9e62b440aa629)
2006-10-04 02:36:35 +00:00