3335 Commits

Author SHA1 Message Date
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
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