Commit Graph

1025 Commits

Author SHA1 Message Date
Nickolai Zeldovich
246f955432 Call afs_PutCell after afs_GetCellByIndex, even though right
now it doesn't do anything.
2002-03-18 02:51:13 +00:00
Love Hörnquist-Åstrand
efa250bd1c nbsd-fileserver-dont-leak-fds-20020317
file server now works usefully on netbsd
2002-03-17 17:59:04 +00:00
Derrick Brashear
fc09b92dce callback-function-fixes-20020317
suggested by lha@stacken.kth.se

drop locks when rxi_Alloc fails, and rework SRXAFSCB_GetCellServDB to use
afs_GetCellByIndex. He suggested same for GetLocalCell, and as long as cell 1
and not CPrimary is the local cell indicator that works, but I left that part
of the code as is for now.
2002-03-17 17:53:00 +00:00
Nickolai Zeldovich
5b1310f346 Add a -cache flag to cmdebug to remotely obtain cache manager configuration
parameters.
2002-03-16 22:17:29 +00:00
Nathan Neulinger
1fe41530c1 Fix typo: OMIT_FRAME_POINTER not FOMIT_FRAME_POINTER 2002-03-14 19:57:12 +00:00
Nathan Neulinger
c360bb35ce Zero out the "allocated" flag so that we don't accidentally
free something that wasn't allocated.
2002-03-14 19:50:48 +00:00
Derrick Brashear
2dbc58bc4a solaris-vfsck-allow-force-runs-when-old-inodes-exist-20020310
if running with -y report old inodes and continue anyway
2002-03-10 19:26:41 +00:00
Derrick Brashear
372da2bebc revert-part-of-linux-dcache-inconsistency-fix-20020115
may revisit this before release; however, open_namei on 2.2 wants a
dentry returned to it and so without this change, creating files in
afs breaks
2002-03-10 19:23:38 +00:00
Love Hörnquist-Åstrand
a5cb7c256b rxgen-prototypes-fixes-20020310
prototype fixes as fallout from rxgen header prototypes

emit server stubs which include header as well
2002-03-10 19:07:56 +00:00
Love Hörnquist-Åstrand
bfa8c6a788 netbsd-allow-param-file-inclusion-20020310
fix param files so ifdef error does not preclude inclusion at all
2002-03-10 18:44:22 +00:00
Love Hörnquist-Åstrand
c06ff599dd afsmonitor-strcasestr-in-freebsd-not-netbsd-20020310
1.5 and current have no strcasestr
2002-03-10 18:41:52 +00:00
Derek Atkins
edd10398af configure-allow-kernel-debugging-support-20020310
currently for linux only, but allow it for others in the future
2002-03-10 18:39:45 +00:00
Yee Jiun
908e05adbe winnt-deal-with-compiler-packing-20020310
use pragmas to hit compiler into packing smb_tran2QFSInfo usefully
2002-03-10 18:24:16 +00:00
Nickolai Zeldovich
571f314329 viced-call-safss-functions-with-acall-not-tcon-20020307
based on report from mattiasa@e.kth.se who has the following feedback from
lha@e.kth.se:
Patch from Love to make filserver not loop on MUTEX_ENTER() in
  rx_SetSpecific()
2002-03-08 06:08:05 +00:00
Chaskiel M Grundman
de6a291146 freebsd-use-fake-refs-to-hold-inodes-20020307
unlike macos x a fake ref works for freebsd
2002-03-08 06:03:34 +00:00
Mattias Amnefelt
f0aea5e186 makefiles-dont-hardcode-optimization-flags-20020307
allow setting optimization in CFLAGS in makefiles

use -g3 on tru64
2002-03-08 05:59:32 +00:00
Derrick Brashear
c1bb9648b2 fix-stats-structure-ordering-20020307
report from jhutz@cmu.edu says client-64bit-file-size-support-20011031
 was broken in this way
2002-03-08 05:48:54 +00:00
Derek Atkins
f3bcfda51f linux24-fix-memcache-20020307
The problem is that on 2.4 the 'code' variable is over-written during
the path walk, such that by the time it's checking if the inode
exists, code is already '0'.  But if the inode does not exist, code
should be ENOENT to show that the file does not exist.
2002-03-08 04:57:56 +00:00
Mattias Amnefelt
459815329b dux-make-namei-fileserver-work-20020304
namei should now work on tru64 (tested on 5.0a)
2002-03-04 16:47:22 +00:00
Mattias Amnefelt
7b4d6af73d dux-autoconf-tweaks-20020228
make tru64 5.0a build work

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

and make 4.0d work again as well
2002-03-04 16:44:00 +00:00
Nathan Neulinger
c642825ba8 butc-make-xg-match-code-20020228
this may need to be revisited in the future but in the meantime the rpc stubs match the code
2002-02-28 20:00:40 +00:00
Nickolai Zeldovich
cfba7e0068 Use AFS_RXDEADTIME instead of hardcoding a value of 50 2002-02-28 06:34:15 +00:00
Mattias Amnefelt
7138b2734c afs-servers-use-rx-setnojumbo-interface-20020228
use rx library interface instead of tweaking in each program
2002-02-28 06:10:47 +00:00
Nathan Neulinger
48d411fa4e afs-rx-enable-locks-cleanup-20020228
use RX_AFS_GLOCK macros instead of ifdef wrappers
2002-02-28 06:08:10 +00:00
Nathan Neulinger
12f595485e vnop-lookup-fix-putvcache-calls-to-match-prototype-20020228
provide unused 2nd arg to putvcache
2002-02-28 06:05:14 +00:00
Nathan Neulinger
676a493f5b Really apply improve-type-safety-and-prototype-matching-20020226.
Somehow only the first 128K of afsfileprocs.c got copied over before.
2002-02-26 23:35:26 +00:00
Nathan Neulinger
864edcbc52 Make the SRXAFS_* functions match prototypes by taking an
rx_call instead of rx_connection, and make CallPreamble()
type-safe by taking two arguments instead of magically
turning an rx_call into rx_connection.
2002-02-26 23:26:36 +00:00
Nickolai Zeldovich
18fdd2a233 Fix more build problems due to prototypes produced by rxgen. 2002-02-26 22:53:59 +00:00
Nathan Neulinger
385037490f comerr-fix-objdir-builds-after-sun-make-change-20020226
use lex source from srcdir
2002-02-26 16:47:33 +00:00
Nickolai Zeldovich
592d0fb0cd ubik_tid and ubik_version now come from ubik-int.h 2002-02-26 16:44:54 +00:00
Nickolai Zeldovich
ebb45c54d9 Fix some of the fallout from having rxgen-fabricated prototypes. 2002-02-25 09:31:08 +00:00
Nickolai Zeldovich
ec04dd0090 Make sure we have enough memory to allocate the return list. 2002-02-23 09:38:11 +00:00
Nickolai Zeldovich
1e6bc5de52 Fix minor build errors, and rename the dumpId argument of butc's
DeleteDump to avoid collision with budb's #define dumpId.
2002-02-22 09:00:36 +00:00
Nickolai Zeldovich
feb689396c Always verify that the client is fully reachable before talking
to it, in the fileserver.  This prevents some additional lossage
cases with poorly-connected clients.

Disable same feature for other Rx services, since they don't
need to incur extra RTT delay.
2002-02-22 08:58:20 +00:00
Nickolai Zeldovich
0dfa0954ff Fix build when INSTRUMENT_LOCKS isn't defined 2002-02-22 08:03:30 +00:00
David Howells
3cced4ee45 rxgen-generate-function-prototypes-20020212
actually from David Howells of Red Hat.
generates function prototypes in rxgen-emitted headers
2002-02-13 04:09:14 +00:00
Derrick Brashear
87843056e5 test-suite-run-script-make-setup-not-use-localcell-inadvertantly-20020221
was a case where we could end up testing "localcell" by accident
2002-02-21 07:07:52 +00:00
Derrick Brashear
bf1e47a218 test-suite-update-ka-database-20020221
cached copy that works
2002-02-21 06:31:13 +00:00
Derrick Brashear
d92d4ac69f bos-listkeys-fix-test-20020221
cksum can be either number
2002-02-21 06:25:34 +00:00
Derrick Brashear
4f8f508e04 test-suite-run-tests-export-shell-20020221
set $SHELL to override whatever your shell sets
2002-02-21 06:06:00 +00:00
Derrick Brashear
acf19ae7e9 test-suite-updates-20020221
minor tweaks found making solaris work
2002-02-21 05:18:35 +00:00
Derrick Brashear
aeeecc446b test-suite-make-sure-test-script-is-executable-20020221
since configure creates the script, just chmod it
2002-02-21 05:15:28 +00:00
Derrick Brashear
148b57dff5 back-out-bosserver-dont-enforce-world-readability-on-server-etcdir-20011126
on a server where bosserver sets up /usr/vice/etc with symlinks, the links are
/usr/vice/etc/* -> /usr/afs/etc/*

oops
2002-02-21 04:29:22 +00:00
Jaroslaw Polok
3a6b630ce1 pam-makefile-fix-dependancies-20020219
the rest of the patch is already in CVS but missed being pulled up to 1.2.3
2002-02-19 19:23:46 +00:00
Derrick Brashear
d116b27ebe test-suite-solaris-fixes-plus-some-kaserver-glue-20020216
make it all build on solaris. provide necessary files to set up a kaserver
and authenticate against it (albeit with "known" keys)
2002-02-19 18:29:16 +00:00
Derrick Brashear
14f28d4fe5 makefile-use-filename-instead-of-dollar-questionmark-20020219
at least some versions of sun make try to run this as
lex -t ex_lex.lex.l ex_lex.lex.l instead of lex -t ex_lex.lex.l
2002-02-19 09:14:54 +00:00
Derrick Brashear
1902efa41c dir-create-initialize-null-to-avoid-drelease-on-garbage-20020218
if FindItem returns without setting previtem this is never initialized
2002-02-18 21:09:47 +00:00
Chaskiel M Grundman
bd707fb7e6 freebsd-almost-working-client-20020216
a) a freebsd client that compiles, and to a certain extent, works. Should
not be used except by people doing freebsd client development
b) configure glue for freebsd 4.3, 4.4, and 4.5
c) freebsd tfileserver support. Note that, by default, this isn't very
interesting, as the supported freebsd pthreads are just as cooperative as
LWP. if you install the linuxthreads port and swap the MT_* variables in
osconf.m4, you will get a more traditional tfileserver though. configure
glue for that will be forthcoming at some point.
d) a maybe-fix that sets sin_len in sockaddrs on platforms that have them.

(and also a fix for the AC_PROG_CC issue which affects autoconf 2.13 and 2.5x
 on same conf files issue)
2002-02-16 18:23:44 +00:00
Derrick Brashear
0b2f7b748e test-suite-solaris-fixes-plus-some-kaserver-glue-20020216
make it all build on solaris. provide necessary files to set up a kaserver
and authenticate against it (albeit with "known" keys)
2002-02-16 18:09:26 +00:00
Derrick Brashear
f6525247ab linux-osi-alloc-up-alloc-sem-while-alloc-to-avoid-deadlock-against-glock-20020215
Based on report from David Howells of RedHat (via Guy Streeter)
2002-02-15 14:00:39 +00:00