3602 Commits

Author SHA1 Message Date
Jeffrey Altman
0ef21914da server-rxmaxmtu-option-20060221
add -rxmaxmtu <bytes> to allow setting the max send and receive RX MTU size
2006-02-22 04:07:34 +00:00
Jim Rees
d7a60f50a4 fbsd61-20060221
Param file for FreeBSD 6.1. Builds, untested.
2006-02-21 21:07:57 +00:00
Derrick Brashear
10947ccc74 cache-autotune-20060220
put in defaults so an old afsd will still start ok.
2006-02-20 21:49:17 +00:00
Jeffrey Altman
4808977d7d viced-client-cps-race-fix-20060220
remove a race condition between h_TossStuff_r and SRXAFS_FlushCPS by
changing h_ID2Client to return the client with a refcount and then
release the refCount with PutClient.

when the CPS list is non-NULL and the viceid is ANONYMOUSID be sure
to set the prlist_val to NULL if the prlist_len is being set to 0
since all of the tests are performed on prlist_val
2006-02-20 15:26:21 +00:00
Jeffrey Altman
fc5bb308c7 rx-dpf-20060217
typo

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

conditionalize rx_intentionallyDroppedOnReadPer100
openafs-devel-1_5_0
2006-02-18 06:01:27 +00:00
Derrick Brashear
9e3fdd9c3c flushrec-prototype-20060217
add a prototype to shut up gcc4
2006-02-18 04:58:28 +00:00
Chaskiel M Grundman
591d9c76c8 vnode-ref-verification-20060217
verify we got a ref when we call vnode_ref
2006-02-18 04:53:34 +00:00
Jeffrey Altman
c135a53f92 rx-dpf-20060216
when dpf is in use, log error codes from abort packets and perform
ntoh translation of addresses and port numbers.
2006-02-18 04:11:30 +00:00
Chaskiel M Grundman
55bdee41e6 qremove-set-null-20060217
when we remove an object from a queue null its list pointers
2006-02-17 21:57:12 +00:00
Chaskiel M Grundman
c320fae825 flushvolume-vhashq-consistency-20060217
avoid having vflushed vnodes in play
2006-02-17 21:43:42 +00:00
Jim Rees
5e752a9cff test-heimdal-20060217
Add a configure test for heimdal and use it to build asetkey or not.
Thanks to Derek Atkins for his helpful suggestions.
2006-02-17 17:58:21 +00:00
Derrick Brashear
a8f0d4a30f hpux11-store-fd-sonner-20060217
FIXES 23112

based on report from  	jbuehler@spirentcom.com
2006-02-17 17:34:15 +00:00
Chaskiel M Grundman
167819c0c5 darwin-x86-lwp-fix-20060217
make lwp work on darwin x86
2006-02-17 16:41:28 +00:00
Jeffrey Altman
3d1e5e29f7 windows-notes-20060216
1.5.0 development build
2006-02-17 15:35:38 +00:00
Chaskiel M Grundman
ca4fb5f2d0 darwin-lost-wakeups-20060213
eliminate the apparent lost wakeup problem in tiger
2006-02-17 15:22:24 +00:00
Klas Lindfors
79cfa471a7 viced-has-as-member-locking-20060217
FIXES 26967

A crucial line was missing from DELTA viced-fix-check-rights-race-20060213
2006-02-17 14:48:09 +00:00
Jeffrey Altman
532bc6e84c windows-optimize-find-uid-20060216
Rename smb_GetUser to smb_GetUserFromVCP and add smb_GetUserFromUID.

Use calls to smb_GetUserFromUID to reduce the number of times that
the smb_user_t object is obtained and released during the processing
of an smb call.
2006-02-16 22:06:02 +00:00
Jeffrey Altman
424ae50d1f windows-server-ping-20060216
add logging of server addresses, status and capabilities

prevent multiple threads from pinging the same server simultaneously.
instead, threads block and then use the result of the ping that was
already taking place.
2006-02-16 22:03:47 +00:00
Jeffrey Altman
1e3c9a9a47 windows-daemon-check-registry-20060216
Add registry values to allow the defaults for daemon checks to be altered
at startup.  Log values to afsd_init.log.

daemonCheckDownInterval
daemonCheckUpInterval
daemonCheckVolInterval
daemonCheckCBInterval
daemonCheckLockInterval
daemonCheckTokenInterval
2006-02-16 22:01:45 +00:00
Jeffrey Altman
cc0e245b7a windows-lock-testing-20060216
turn on the support for backing byte range lock allocations with
afs file server locks.
2006-02-16 21:59:19 +00:00
Jeffrey Altman
e1f4dd1c26 windows-rx-wsaeconnreset-20060216
Deal with the fact that Windows returns WSAECONNRESET after an ICMP
port not reachable packet was returned in response to a packet previously
sent.
2006-02-16 21:48:50 +00:00
Derrick Brashear
21e0734259 linux-inode-i-mutex-20060214
new (2.6.16) kernerls have i_mutex instead of i_sem

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

make i_sem become i_mutex
2006-02-15 21:01:49 +00:00
Chaskiel M Grundman
cee042e2f9 darwin-event-cleanup-20060215
clean up event resources added for deadlock avoidance
2006-02-15 20:53:02 +00:00
Derrick Brashear
90d681405a asetkey-macos-20060215
make the same fix we do on aklog w.r.t com_err
2006-02-15 16:38:33 +00:00
Derrick Brashear
de53b41333 darwin-ifnet-flags-20060215
darwin (8.0) already has this
2006-02-15 16:32:42 +00:00
Jeffrey Altman
658338b015 windows-reg-fix-20060215
cleanup the back connection hostname code
2006-02-15 16:31:15 +00:00
Chaskiel M Grundman
33d58440d1 darwin80-mkdir-error-leak-fix-20060215
avoid a potential refcount decrement "leak" (well, the opposite, really) when a mkdir fails
2006-02-15 07:01:40 +00:00
Adam Megacz
f3137f9efc macos-dynroot-start-anyway-20060214
start afsd if -dynroot specified
2006-02-15 00:37:28 +00:00
Adam Megacz
0ef6661fdc macos-afsdb-20060214
enable afsdb by default
2006-02-15 00:33:45 +00:00
Chaskiel M Grundman
848ed685c1 lookup-checkcode-bulkstats-20060214
do error code analysis on bulkstat results also
2006-02-14 20:32:45 +00:00
Jim Rees
3828c257ae dead-code-and-prototyes-20060214
Remove dead code and add prototypes.
2006-02-14 16:58:13 +00:00
Jeffrey Altman
44514e9516 windows-build-sys_name-20060214
Add the sys_name to the dest and obj directories in order to allow
both 32-bit and 64-bit builds to be built from the same directory
tree.
2006-02-14 14:03:17 +00:00
Jeffrey Altman
328544bd38 windows-notes-20060214
updates
2006-02-14 13:25:10 +00:00
Chaskiel M Grundman
b4fdd2ec6f remove-recursive-vfs-getcontext-20060213
remove unused code
2006-02-13 18:51:55 +00:00
Derrick Brashear
63031c0b8b solaris-afs-nfsrdwr-avoid-reading-past-end-of-file-20060213
FIXES 25747

avoid a panic when we attempt a read past the end of the file
2006-02-13 18:38:37 +00:00
Derrick Brashear
0f9a5e3ad8 revert-bkg-disable-var-20060213
remove the bkg daemon disabling
2006-02-13 18:29:26 +00:00
Jeffrey Altman
6c7a2901b0 viced-fix-check-rights-race-20060213
FIXES 25869

acl_CheckRights() was generating core dumps because the client's prlist
was being invalidated by h_TossStuff_r() as part of freeing the associated
host.  This patch fixes the problem in probably redundant ways.
A missing hold on the host is now obtained.  refCounts on the client
are now preserved as part of GetClient()/PutClient().  Read/Write locks
are now obtained on the client when accessing/manipulating the prlist.

This patch adds the client parameter to GetVolumePackage() and
PutVolumePackage() and adds the new function PutClient().

This patch removes the need for the client X had conn Y stolen by X messages.
This is replaced by "deleted client X already had conn Y stolen by X.  If
we see this there is definitely a logic problem as the client should not
be deleted at this point.  We a no longer allowing the race condition that
would have resulted in the original message.

In addition, this patch fixes a problem with UAEs caused by the
inappropriate translation of VICE error into UAEs when there is overlap
between VICE error values and those in sys/errno.h.
2006-02-13 17:09:36 +00:00
Jeffrey Altman
bfdc909b54 windows-findacl-optimize-20060213
don't remove an entry from the queue and add it to the head if it already
is the head.
2006-02-13 16:33:49 +00:00
Jeffrey Altman
8a6bfc54e5 windows-new-server-ping-20060213
when adding a new server, mark it down to start.
this will allow the Ping to use the short timeout when checking the real
status.
2006-02-13 16:28:59 +00:00
Jeffrey Altman
d9d798f786 windows-off-to-the-races-20060211
several race conditions were introduced over the last couple of weeks.
let's fix them.
2006-02-12 06:25:37 +00:00
Jeffrey Altman
81cfded7db windows-vcp-fidsp-empty-20060210
protect against the case in which the vcp->fidsp list is empty
which de-queuing smb_fid_t objects
2006-02-10 18:43:22 +00:00
Jeffrey Altman
0c77d5332d viced-probe-uuid-on-old-connection-20060210
When we have found an existing host via Uuid, send the probe to the
connection associated with the old host instead of the new one.  If
you send it to the new connection, we will fail to detect that the
old host is no longer responding and hence that it should be removed.
This should solve the 55 second delay problem seen from clients with
Uuids that move addresses or sit behind a NAT.
2006-02-10 17:10:44 +00:00
Jeffrey Altman
d2de9e69bc viced-log-typo-20060210
missing % in format string causes crash at log level 125
2006-02-10 17:07:43 +00:00
Derrick Brashear
3416916228 viced-debug-port-numbers-20060210
fix port number printing to not print byteswapped port numbers
2006-02-10 16:49:37 +00:00
Jeffrey Altman
4b3c120e8e windows-afslogon-20060209
replace sizeof(opt) with sizeof(LogonOption_t)

add more debug statements
2006-02-09 15:28:56 +00:00
Jeffrey Altman
e4c21e9c6f viced-host-nat-20060207
When we discover a new address for an existing host we can take the
opportunity to cleanup the hash table and the interface list if the
new address differs from an existing address only by the port number.
In that case we know the client is communicating to us from behind a
NAT and the old addr/port number combination is no longer going to
be of use to us.
2006-02-07 07:46:55 +00:00
Jeffrey Altman
6909509eca viced-more-dbg-improvements-20060207
convert the rest of the addresses output in hex to dotted notation
2006-02-07 06:04:34 +00:00
Jim Rees
da0f2fdeca no-global-sunlock-20060206
Don't use global_sunlock on OpenBSD unless running smp kernel
2006-02-06 17:18:12 +00:00
Jeffrey Altman
77de32ed74 windows-winqual-20060206
Fix two bugs reported via Windows Crash Reporting:

 * Freelance initialization is somehow broken allowing the number of
   locally defined mountpoints to become negative.  Due to the use of
   != instead of < in loops, it is possible to read/write unallocated
   memory.

 * GetTextualSid() was not properly handling a NULL output buffer
   pointer as an indication that the desired size should be returned.
2006-02-06 07:06:33 +00:00
Chaskiel M Grundman
f504df3175 darwin-avoid-bogus-name-caching-20060205
FIXES 26225

avoid the possibility of creating bogus cached named vnodes
2006-02-05 18:21:51 +00:00