3356 Commits

Author SHA1 Message Date
Jeffrey Altman
63f8c18c10 STABLE14-viced-host-type-consistency-20060305
make sure all the types for host and port are consistent


(cherry picked from commit f803153c992af44cea18f4c948c7f3fb2a72da45)
2006-03-05 22:31:38 +00:00
Jeffrey Altman
230c80fe71 STABLE14-windows-no-smb-ioctl-info-20060305
don't support functions we don't implement.  the CIFS trans2 get info
ioctl is not equivalent to the AFS Get Volume Status function


(cherry picked from commit cea063c0d48bb81c6349298ecdf5dfcc0f39733b)
2006-03-05 20:55:14 +00:00
Jeffrey Altman
45f35bbaf5 STABLE14-viced-unsign-haddr-hport-20060304
haddr and hport should be unsigned


(cherry picked from commit 3e70b7f3656be0a40fe45fb8ad9815abd2f541fe)
2006-03-05 05:37:33 +00:00
Tracy Di Marco White
1d89f9c692 STABLE14-nbsd-30-pthreads-20060302
update for netbsd 3.0
2006-03-05 04:44:45 +00:00
Jeffrey Altman
37f3e54c59 STABLE14-xstats-getcapabiliites-20060304
add the GetCapabilities RPC to the ops table


(cherry picked from commit 127ea5ae7df2d1441d4e636506ebadb07664311c)
2006-03-04 22:03:34 +00:00
Jeffrey Altman
fc134b9290 STABLE14-viced-fix-tcallhost-20060303
fix type


(cherry picked from commit 8a0016cabd026bd586fc27a1dfad3220c66e4457)
2006-03-03 19:27:42 +00:00
Derrick Brashear
1c9fcdaa62 STABLE14-openafs-1_4_1-rc9-20060302
1.4.1-rc9
openafs-stable-1_4_1-rc9
2006-03-02 06:46:33 +00:00
Chaskiel M Grundman
fb1b2e03b2 STABLE14-callback-get-refs-20060302
more updates, focused on issues found working at darwin, but actually generic issues


(cherry picked from commit c9a4d3363bc11722e017cac4ee83cbeb5d9583f7)
2006-03-02 06:44:05 +00:00
Chaskiel M Grundman
ec43c27cd7 STABLE14-refridgerator-update-20060227
try to make refrigerator work again


(cherry picked from commit d1156ad4f9b1e0fb07275fff976890fd3bc90e05)
2006-03-02 06:41:23 +00:00
Chaskiel M Grundman
0ef3d9a8f9 STABLE14-darwin-access-exec-only-20060302
FIXES 27553

don't misenforce mode bits


(cherry picked from commit c472a9c9165b3b742afd97b65c987b325c478b00)
2006-03-02 06:36:33 +00:00
Chaskiel M Grundman
fa76c856fb STABLE14-darwin-remove-fix-20060302
move the if inside the condition so we aren't screwed up on tiger


(cherry picked from commit 8bfa2cdc6e79bf683ea035526e261940d1257daa)
2006-03-02 06:34:19 +00:00
Chaskiel M Grundman
dbfed27ee7 STABLE14-remunlink-needs-iocount-20060302
FIXES 27493

keep needed iocount for remunlink on darwin 8.0


(cherry picked from commit 10f8d509df3a69e6dc684cfd81b5809adc5c9b09)
2006-03-02 06:30:33 +00:00
Jeffrey Altman
48cb7cce45 STABLE14-viced-fix-comment-20060301
fix comment in h_GetHost_r


(cherry picked from commit c2ef97ea657f27af5fdc7811a8b6bb21ed535707)
2006-03-02 06:24:41 +00:00
Jeffrey Hutzelman
44234a9ae7 STABLE14-viced-preamble-postamble-20060301
If the host obtained during the CallPremable and CallPostamble differ,
then there is the possibility of a hold leak.  This patch is a quick
attempt to deal with the potential problem.  If the problem occurs
we log it in order to know for sure if this is in fact a problem.

If it is, then at a later date we should perform a more extensive
re-write in which the CallPreamble is used to obtain the host and the
client and pass them both back to the caller which would not be
required to obtain them again at a later date.


(cherry picked from commit 84a24d096c1159aef3aeec4b27d154f47acdcab9)
2006-03-02 06:17:18 +00:00
Jeffrey Altman
08039832aa STABLE14-viced-h_Enumerate_r-fix-20060301
In h_Enumerate_r it is possible that the host may be released by the
called procedure.  Therefore, we must preserve the pointer to host->next
before the call and hold the host it points to in order to ensure that
it does not disappear out from under us.  This ensures that although
the H_LOCK can be dropped during the procedure and the host list can
be rearranged we won't miss more than a handful of hosts during the
enumeration.


(cherry picked from commit 36a8e29045adfcf5d3c144b0ff0bc9d1398d11b0)
2006-03-01 19:12:37 +00:00
Jeffrey Altman
139292df4b STABLE14-viced-h_gethost_r-host-hold-leak-20060228
when h_GetHost_r replaces 'host' with 'oldHost' we need to release the
hold on 'host' and maintain the hold on 'oldHost' because if a hold
was placed on 'host' in CallPreamble() it will no longer be released
in CallPostamble() since 'oldHost' will now be bound to the client


(cherry picked from commit 31fd9994db1c58d5e851e5a0bd9d04a031557c8d)
2006-03-01 06:43:14 +00:00
Jeffrey Altman
353d37a2e6 STABLE14-windows-version-20060228
1.4.0099 == 1.4.1-rc9
2006-03-01 05:59:14 +00:00
Russ Allbery
9950d15ce2 STABLE14-pretty-html-synopsis-20060228
Implement proper synopsis wrapping for HTML generation.

This was done in three pieces.  First, add HTML-specific tags to the POD to
mark the synopsis for HTML purposes so that we can apply style information
to it.  Second, update the style sheet to indent all lines except for the
first in the synopsis section.  Third, add the appropriate S<> tags around
option and argument pairs so that we don't wrap between the option and its
argument.

Unfortunately, due to the <I<foo>> style that looks nicer for other reasons,
we have to use the very verbose S<<< >>>.  Oh well.


(cherry picked from commit fc5acc01517260c661097cf84bddc359ca060bd3)
2006-03-01 05:11:17 +00:00
Jeffrey Altman
bf8fa7c186 STABLE14-viced-client-refcount-leak-20060228
SRXAFS_CallBackRxConnAddr calls h_FindClient_r which returns a
client with a refCount and the client->host held.  The call
to CallPostamble will release the host hold but not the client
refcount.


(cherry picked from commit 6f707d94064646762e7014d19840b5b2902b3a4e)
2006-03-01 05:04:32 +00:00
Jeffrey Altman
1e06402214 STABLE14-viced-host-hold-leak-20060228
fix a host hold leak although this one rarely occurs.


(cherry picked from commit 2bd46f8a3915a37720e68d10a56a0ec33f508f67)
2006-03-01 04:09:41 +00:00
Russ Allbery
805c720abc STABLE14-html-style-todo-20060228
Some style sheet updates and lots of to-do updates based on feedback from
C. Alex North-Keys.


(cherry picked from commit fed1cdb02241f6cffee9cdcb5d334f227fd011bb)
2006-03-01 00:16:46 +00:00
Russ Allbery
f03026d3c9 STABLE14-html-link-fixes-20060228
Make the mentions of subcommands in the fs command introduction links to
the relevant pages, and add to README a to-do note to do this for the rest
of the introductory pages.

Fix links to man pages that contain underscores by working around a bug
in Pod::Simple.


(cherry picked from commit 6321cca1a5bdda2c9e8d9688d220eff0edd850f9)
2006-02-28 23:48:45 +00:00
Jeffrey Altman
181c477a7e STABLE14-viced-panic-if-maxhosttables-exceeded-20060228
Do not allow HTBlocks to allocate more blocks than will fit in
hosttablesptrs.  Doing so corrupts memory.   Panic instead until
we can get this fixed right.


(cherry picked from commit 2c825a859033574b714c00d0e16ce06f126e1d6d)
2006-02-28 23:27:54 +00:00
Todd M. Lewis
35c2ca3577 STABLE14-up-m-docs-20060228
Document the -m flag to up.


(cherry picked from commit 1705109815189f2c03323bc154feb639c76180ad)
2006-02-28 23:12:30 +00:00
Russ Allbery
7be2c24edb STABLE14-amd64-linux26-fix-20060228
Restore the previous code for AMD64 under Linux 2.6, as the generic
Linux 2.6 code apparently does not work with all AMD64 kernels.


(cherry picked from commit 79a7ddac4da960e3337b7792f8a44fc82514f81d)
2006-02-28 21:22:50 +00:00
Chas Williams
665ac14d11 STABLE14-systm-h-header-inclusion-20060227
FIXES 24765

avoid implicit references by including the prototypes from the header except on linux

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

avoid implicit references by including the prototypes from the header except on
linux


(cherry picked from commit c41253bda7340f19b5f16d009393bf32f30ad24c)
2006-02-28 00:19:20 +00:00
Chas Williams
4ffbe113ab STABLE14-pod-updates-20060227
FIXES 26463

update pod files to deal with some section number changes


(cherry picked from commit 9243beff2b7677dbfc5259a534625b2252f0fc54)
2006-02-27 20:47:42 +00:00
Chaskiel M Grundman
520a0f16f4 STABLE14-tiger-updates-20060220
update lpioctl, setattr and free tuios


(cherry picked from commit ff1d11169bc19aeb451a97e8ccdc14e1109031e7)
2006-02-27 20:37:47 +00:00
Chaskiel M Grundman
cd0b380aa3 STABLE14-darwin-bsd-flock-20060227
FIXES 25544

deal with posix flag in flock request on darwin


(cherry picked from commit 888b038c92c222f0ebb4b61f9f96bd56ce75dfed)
2006-02-27 20:35:11 +00:00
Derrick Brashear
49eeaf135b STABLE14-shut-up-fucking-whiner-20060227
without further comment


(cherry picked from commit df0ebd8b903eb5f62fb7e34c198020068d144669)
2006-02-27 20:18:33 +00:00
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