3326 Commits

Author SHA1 Message Date
Jeffrey Hutzelman
1882ef9693 STABLE14-rmtsys-up-limits-20060225
FIXES 27095

raise limits of constants in rmtsys


(cherry picked from commit f800113c3b2cb921a818d8823950c2ffeb18815b)
2006-02-25 06:45:29 +00:00
Hartmut Reuter
716bd0cae8 STABLE14-vnop-remove-revised-lock-order-20060225
FIXES 27176

drop the tdc lock even rearlier


(cherry picked from commit 2024fe94cb331fe4eeeff3626617ab8090ce70ea)
2006-02-25 06:40:36 +00:00
Derrick Brashear
df1415c1bd STABLE14-softsig-thread-hack-not-on-nbsd30-20060223
based on comment from gendalia@iastate.edu


(cherry picked from commit d3113a14e81c02993749b8f3bf0421809793f46d)
2006-02-23 12:33:39 +00:00
Jeffrey Altman
ba17b213b8 STABLE14-windows-brl-fix-20060222
make sure that we obtain a LockWrite if AGRESSIVE_LOCKS is defined
2006-02-22 14:29:22 +00:00
Jeffrey Altman
01559e0588 STABLE14-rxkad-krb5-improvements-20060222
correct precedence of && and || in conditional to determine when
tkt_DecodeTicket5() should be called.

optimize order of ticket property evaluation to delay call to get_key()
which will require that a lock be obtained until after we know that
all of the other checks will succeed.


(cherry picked from commit a2530f03bacc9d9115782b49bda40fc01294a70d)
2006-02-22 05:08:58 +00:00
Jeffrey Altman
3b5070e8a8 STABLE14-viced-log-get-key-failure-20060221
log afsconf_GetKey() failure


(cherry picked from commit 9306554f9cc4198414e99eaec332703653b8d348)
2006-02-22 05:02:04 +00:00
Jeffrey Altman
e039809c46 STABLE14-server-rxmaxmtu-option-20060221
add -rxmaxmtu <bytes> to allow setting the max send and receive RX MTU size


(cherry picked from commit 0ef21914dad5ddda3aba8ec3f3f894261edc5c08)
2006-02-22 04:09:29 +00:00
Derrick Brashear
c16b51d0e1 STABLE14-cache-autotune-20060220
put in defaults so an old afsd will still start ok.


(cherry picked from commit 10947ccc74b0bef53e152c7275760ab8873a176e)
2006-02-20 21:49:41 +00:00
Jeffrey Altman
8fc8483ae7 STABLE14-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


(cherry picked from commit 4808977d7d0e49e5d260a26113fd97cb48d5f844)
2006-02-20 15:27:06 +00:00
Derrick Brashear
b7e89d37e0 STABLE14-flushrec-prototype-20060217
add a prototype to shut up gcc4


(cherry picked from commit 9e3fdd9c3c2576ec9c5f465b2be936096ca20cd7)
openafs-stable-1_4_1-rc8
2006-02-18 04:59:31 +00:00
Chaskiel M Grundman
ffeef7ab99 STABLE14-vnode-ref-verification-20060217
verify we got a ref when we call vnode_ref


(cherry picked from commit 591d9c76c8d935809625cbaab248ca7c2770c751)
2006-02-18 04:54:50 +00:00
Derrick Brashear
05957a8711 STABLE14-openafs-stable-1_4_1-rc8-20060217
1.4.1-rc8
2006-02-18 04:31:56 +00:00
Chaskiel M Grundman
1e08e511b8 STABLE14-qremove-set-null-20060217
when we remove an object from a queue null its list pointers


(cherry picked from commit 55bdee41e635da3396ddd25234b3d5910921c1d5)
2006-02-17 21:58:33 +00:00
Chaskiel M Grundman
c8825f61c8 STABLE14-flushvolume-vhashq-consistency-20060217
avoid having vflushed vnodes in play


(cherry picked from commit c320fae82541d3026c9d2a89ffce60fd17ad5ca5)
2006-02-17 21:53:21 +00:00
Jeffrey Altman
b7d61723b6 STABLE14-windows-do-not-mark-servers-down-without-ping-20060216
undo damage caused by an inadvertent pullup of code that caused all
servers to be marked down once every two hours.  They would remain
down for one CheckDownServersInterval after the first contact to the
cell.
2006-02-17 21:44:39 +00:00
Derrick Brashear
cb5e172252 STABLE14-hpux11-store-fd-sonner-20060217
FIXES 23112

based on report from  	jbuehler@spirentcom.com


(cherry picked from commit a8f0d4a30f55ac506cad1d82a416b2847ace99e6)
2006-02-17 17:35:33 +00:00
Chaskiel M Grundman
e0a232ba6b STABLE14-darwin-x86-lwp-fix-20060217
make lwp work on darwin x86


(cherry picked from commit 167819c0c55a258357ff36cede5e79399d470a23)
2006-02-17 17:27:54 +00:00
Jeffrey Altman
501bba5226 STABLE14-windows-notes-20060216
notes for 1.4.1-rc8


(cherry picked from commit 3d1e5e29f7a7a53c2286b81a59d67a2e4463112a)
2006-02-17 15:31:04 +00:00
Chaskiel M Grundman
2e144236c0 STABLE14-darwin-lost-wakeups-20060213
eliminate the apparent lost wakeup problem in tiger
2006-02-17 15:29:47 +00:00
Jeffrey Altman
573a8b17ab STABLE14-windows-version-20060216
1.4.1-rc8 = 1.4.0098
2006-02-17 15:27:44 +00:00
Klas Lindfors
94538a361a STABLE14-viced-has-as-member-locking-20060217
FIXES 26967

A crucial line was missing from DELTA viced-fix-check-rights-race-20060213


(cherry picked from commit 79cfa471a719b9b270f5d1fa1bbd25c1be8e1fd7)
2006-02-17 14:48:58 +00:00
Jeffrey Altman
9766fed82a STABLE14-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.


(cherry picked from commit e1f4dd1c26a1fedb637ed754644f8c141fa4c0db)
2006-02-16 21:49:34 +00:00
Derrick Brashear
1da49d414a STABLE14-linux-inode-i-mutex-20060214
make i_sem become i_mutex
2006-02-15 21:03:38 +00:00
Chaskiel M Grundman
660f1f7680 STABLE14-darwin-event-cleanup-20060215
clean up event resources added for deadlock avoidance


(cherry picked from commit cee042e2f9f3e22e3cdb0c9535b122eb1714b691)
2006-02-15 20:55:11 +00:00
Jeffrey Altman
0605e114b8 STABLE14-windows-reg-fix-20060215
cleanup the back connection hostname code


(cherry picked from commit 658338b015fa6cd081726a6c96ab8c756857974a)
2006-02-15 16:37:40 +00:00
Chaskiel M Grundman
d71224dabc STABLE14-darwin80-mkdir-error-leak-fix-20060215
avoid a potential refcount decrement "leak" (well, the opposite, really) when a mkdir fails


(cherry picked from commit 33d58440d1fa3938ff627e888537c367d06b1bf9)
2006-02-15 07:02:21 +00:00
Derrick Brashear
9d1aabc7a5 STABLE14-openafs-1-4-1-rc7-20060214
1.4.1-rc7
openafs-stable-1_4_1-rc7
2006-02-15 00:52:42 +00:00
Adam Megacz
b025e26fdb STABLE14-macos-dynroot-start-anyway-20060214
start afsd if -dynroot specified


(cherry picked from commit f3137f9efc47d9b3365fd6076b05ebb5b907c306)
2006-02-15 00:38:36 +00:00
Adam Megacz
cebb19c588 STABLE14-macos-afsdb-20060214
enable afsdb by default


(cherry picked from commit 0ef6661fdcb452fc0ed2deb33560817c4b95674b)
2006-02-15 00:35:00 +00:00
Derrick Brashear
1dcab82cdb STABLE14-linux-inode-i-mutex-20060214
new (2.6.16) kernerls have i_mutex instead of i_sem
2006-02-15 00:32:52 +00:00
Chaskiel M Grundman
0c5cb54b72 STABLE14-lookup-checkcode-bulkstats-20060214
do error code analysis on bulkstat results also


(cherry picked from commit 848ed685c18e1fbdf550758c3e1d6c11e00d5239)
2006-02-14 20:33:48 +00:00
Jeffrey Altman
64f9bd3906 STABLE14-windows-notes-20060214
latest notes for 1.4.1-rc7


(cherry picked from commit 328544bd38f65525dad7b38a52c2d1407ea4b84b)
2006-02-14 13:26:49 +00:00
Derrick Brashear
1a7229dbbc STABLE14-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


(cherry picked from commit 63031c0b8b1a00711a043431cb5d1c98834ab0cc)
2006-02-13 18:39:11 +00:00
Derrick Brashear
2bd9dd6ea9 STABLE14-revert-bkg-disable-var-20060213
remove the bkg daemon disabling


(cherry picked from commit 0f9a5e3ad81a8583d486b3ee45aaebda50f6de06)
2006-02-13 18:31:13 +00:00
Chaskiel M Grundman
1c680d4a3f STABLE14-darwin-lost-wakeups-20060213
eliminate the apparent lost wakeup problem in tiger
2006-02-13 18:19:49 +00:00
Tom Keiser
4647e500f0 STABLE14-osi-audit-locking-fix-20060201
FIXES 25955

fix aix builds


(cherry picked from commit 73f52f37e4c1be81fad5122787382a480c220af5)
2006-02-13 17:57:26 +00:00
Jeffrey Altman
c53f45d568 STABLE14-audit-locking-20051113
Add locks around writes to the audit log.  This ensures two writes
do not interleave.


(cherry picked from commit 6f82595a16750a3811526da9b4376a178e90bb49)
2006-02-13 17:56:49 +00:00
Jeffrey Altman
4e55e30f5b STABLE14-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.


(cherry picked from commit 6c7a2901b00ae2f7df0bdff23b19fdd3b7f35156)
2006-02-13 17:10:15 +00:00
Jeffrey Altman
2f310b0dff STABLE14-windows-findacl-optimize-20060213
don't remove an entry from the queue and add it to the head if it already
is the head.


(cherry picked from commit bfdc909b5477e493656b3e9fb744fdf5cd16e179)
2006-02-13 16:33:06 +00:00
Jeffrey Altman
7b953313e0 STABLE14-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.


(cherry picked from commit 8a6bfc54e5ff81bea0b78b45986f5115b2978adc)
2006-02-13 16:29:43 +00:00
Jeffrey Altman
044e8557cd STABLE14-windows-off-to-the-races-20060211
several race conditions were introduced over the last couple of weeks.
let's fix them.


(cherry picked from commit d9d798f78617026349e3c087c714e474e9eb2b7f)
2006-02-12 06:24:27 +00:00
Jeffrey Altman
328632fdce STABLE14-windows-vcp-fidsp-empty-20060210
protect against the case in which the vcp->fidsp list is empty
which de-queuing smb_fid_t objects


(cherry picked from commit 81cfded7dbdf25d774375719ce02ebbfe698d77c)
2006-02-10 18:44:17 +00:00
Jeffrey Altman
e493f895ac STABLE14-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.


(cherry picked from commit 0c77d5332da76d223b007f8e85e8d81148b17737)
2006-02-10 17:12:25 +00:00
Jeffrey Altman
d8f1cc3a0b STABLE14-viced-log-typo-20060210
missing % in format string causes crash at log level 125


(cherry picked from commit d2de9e69bc08e04c00083166a59847be246a9e8c)
2006-02-10 17:11:45 +00:00
Derrick Brashear
4b44b8d754 STABLE14-viced-debug-port-numbers-20060210
fix port number printing to not print byteswapped port numbers


(cherry picked from commit 3416916228624b6b446b5106f40c4d7e5fbd8cb0)
2006-02-10 16:50:39 +00:00
Jeffrey Altman
e910710f85 STABLE14-windows-afslogon-20060209
replace sizeof(opt) with sizeof(LogonOption_t)

add more debug statements


(cherry picked from commit 4b3c120e8e571f650e8274da553b1489cc34bd5e)
2006-02-09 15:29:41 +00:00
Jeffrey Altman
9881da31a3 STABLE14-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.


(cherry picked from commit e4c21e9c6fe4a030cf271b614d8e3d78130e4fc9)
2006-02-07 07:47:31 +00:00
Jeffrey Altman
5505be384c STABLE14-viced-more-dbg-improvements-20060207
convert the rest of the addresses output in hex to dotted notation


(cherry picked from commit 6909509eca2a22b4b7003be60e0dbda75a30949c)
2006-02-07 06:05:08 +00:00
Jeffrey Altman
0b95cfab6f STABLE14-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.


(cherry picked from commit 77de32ed745d912e35990c5602b4a69a1b654973)
2006-02-06 07:07:08 +00:00
Jeffrey Altman
5886653be7 STABLE14-windows-version-20060206
1.4.0097 == 1.4.1-rc7
2006-02-06 04:12:34 +00:00