Commit Graph

962 Commits

Author SHA1 Message Date
Derrick Brashear
d13f701812 afsd-dont-print-garbage-on-bad-cacheinfo-file-20020615
based on report from matt@slackers.net

don't bother printing anything we parsed, since we're guaranteed at least
one item is trash anyhow
2002-06-15 17:52:00 +00:00
Mattias Amnefelt
da8653c30b dux-sysent-update-20020614
cast this to deal with changes in sysent in later tru64
2002-06-14 18:45:33 +00:00
Derrick Brashear
391621fc5d junk-xdr-in-non-common-makefiles-20020614
based on report from chas@cmf.nrl.navy.mil
2002-06-14 18:22:37 +00:00
Derrick Brashear
a7500e87f5 vos-listaddrs-cleanup-and-allow-printing-of-ip-or-uuid-or-both-20020613
lha@stacken.kth.se complained that we sometimes printed garbage, so i took
the opportunity to both fix it and update ours to support the options
the arla vos listaddrs does
2002-06-13 20:33:55 +00:00
Derrick Brashear
d7e3e249cb vol-fssync-ack-before-breaking-callbacks-20020612
given that we don't bother to do anything to return value, we can ack
the fssync op earlier and not tie up the volserver unnecessarily

found due to comments from brent.johnson@jpl.nasa.gov
2002-06-12 23:07:08 +00:00
Derrick Brashear
6260cbecd0 pioctl-always-null-terminate-after-copy-20020612
based on report from lha@e.kth.se

note that this works because PIGGYSIZE is always less than AFS_LRALLOCSIZ
2002-06-12 22:41:36 +00:00
Marc Dionne
0f64b6b752 windows-update-dirpath-header-20020612
add missing definitions
2002-06-12 19:22:24 +00:00
Richard Basch
a0d69dfa39 Don't give directory owners any implicit rights. Volume owners still
have their implicit rights.
2002-06-12 18:06:45 +00:00
Derrick Brashear
544fe2ef8e arla-pioctls-now-bogus-20020612
as reported by lha@stacken.kth.se
2002-06-12 07:02:02 +00:00
Joakim Fallsjö
a271a55041 solaris-x86-20020611
solaris 7 and 8 for x86
2002-06-12 01:25:33 +00:00
Quanah Gibson-Mount
9c29a6ead1 solaris-9-support-20020611
update hrestime interface
2002-06-12 01:03:17 +00:00
Derrick Brashear
eb8c33d299 windows-callback-interface-updates-20020611
make callback interface like unix
2002-06-12 00:33:40 +00:00
Manuel Pereira
3a1c622117 libjuafs-target-20020611
create a libjuafs library for the java api to use
2002-06-12 00:29:18 +00:00
Derrick Brashear
fe1beb4f3e revert-dont-spawn-kernel-thread-for-rxk-listener-20020426
in some cases this causes shutdowns to hang forever. notably shutdown -i0 -g6 -y works while reboot does not
2002-06-13 20:35:28 +00:00
Derrick Brashear
08bb209eef getcellservdb-cleanup-20020608
based on comments and suggestion from Srikanth Vishwanathan <vsrikanth@in.ibm.com>
avoid deadlock. send back variable length list. allocate what we need to, and
be care to clean up after ourselves if there's an error. whether this
should be variable length is arguable but it's pretty clear no one was using
this before.
2002-06-08 12:01:59 +00:00
Derrick Brashear
b80ae7d78c use-private-xdr-in-kernel-to-avoid-conflicts-over-memory-ownership-20020608
allocating memory from a pool and then having it be freed out from under you is unwise
2002-06-08 08:44:09 +00:00
Garry Zacheiss
3651150489 Update NEWS file with important changes in 1.2.5 release. 2002-06-08 05:54:50 +00:00
Garry Zacheiss
3789698e0a Recognize MacOS X 10.1.5 as ppc_darwin_14. It's compatible. 2002-06-08 02:29:50 +00:00
Chas Williams
ddfc17dfd1 des-fix-linux-64bit-problems-more-usefully-20020607
with a minor fix from shadow@dementia.org

long isn't 32bit on ia64 or alpha
2002-06-08 00:55:01 +00:00
Nickolai Zeldovich
9ab8961c31 Delay calling afs_ProcessFS() and upgrading the shared vcache lock
until after the dcache locks have been released, to obey lock ordering
and avoid deadlock.
2002-06-05 16:56:09 +00:00
Garry Zacheiss
0c05bd2bcc uuencode binary files used by the test suite (KeyFile and sample kaserver
database).  Keeping binary files in CVS is annoying, and this way "cvs rdiff"
will work again.
2002-05-29 21:59:51 +00:00
Derrick Brashear
bbab909436 viced-malloc-dont-make-assumptions-about-the-compiler-20020524
based on report from lha@stacken.kth.se
"identP = (struct Identity *)malloc(1);

This can't be right, there should not be an assumption how the
c-compiler will lay out code. I find it acceptable to do something like this

	   /* sizeof valid + offset of valid. */
	   i.. = malloc(sizeof(identP->valid) + (int)&(((struct Identity *)0)->valid));

But then, why not just allocate a whole identP and be happy. A afsUUID
is not that bloted (16 bytes) so I can't see why way this is
chosen. 20 bytes will probably be allocated on 32 bit platforms for
the whole struct Identity.

"
2002-05-24 23:05:47 +00:00
Derrick Brashear
155c131923 afs-dont-allow-shutdown-before-umount-20020523
fix afs to enforce that /afs must be unmounted, and afsd to report it
2002-05-23 06:21:13 +00:00
Nickolai Zeldovich
9a1af10848 Zero out some fields to avoid random crashes in "cmdebug host -cache". 2002-05-21 07:37:53 +00:00
Nickolai Zeldovich
c5222d45ec Report correct cache size when -memcache is used. 2002-05-21 07:35:57 +00:00
Nathan Neulinger
31f658f450 aix-fix-objdir-build-20020521
make objdir builds work on aix
2002-05-21 06:35:45 +00:00
Chaskiel M Grundman
101fbbf97b pts-sysviewer-should-be-able-to-listowned-20020521
fix so the "any reader" can really read anythinmg
2002-05-21 06:30:27 +00:00
Derrick Brashear
63ea4ee399 NT-dirpath-copy-in-useful-file-20020516
basically until NT port has been properly set up to deal with dirpath, make
it work as before
2002-05-16 14:54:42 +00:00
Derrick Brashear
c28c22cead afs-attrs-cast-date-to-int-to-avoid-negative-dates-20020516
cheap hack to avoid negative date problem which occasionally plagues solaris
2002-05-16 14:47:28 +00:00
Nathan Neulinger
10486b5652 pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020516
some versions of gcc compile the if used to decide whether to allocate a pag
badly. make life easier.
2002-05-16 13:54:56 +00:00
Derek Atkins
8251fc6871 osi_linux_unmask() needs to explicitly flush_signals() before calling
recalc_sigpending(), otherwise recent kernels don't appear to deliver
new instances of any signals already received.

Revert back to using SIGKILL at shutdown time, but use SIGKILL instead of
explicitly using signal 9, because abstraction is your friend.
2002-05-15 21:04:15 +00:00
Derek Atkins
097df1049a Seems to fix a hang at shutdown time seen on Redhat 7.3 kernels; doesn't
appear to affect older kernels.
2002-05-14 23:56:40 +00:00
Derek Atkins
fe6b4fd293 Allows us to build modules for the bigmem kernels redhat started shipping. 2002-05-14 23:48:35 +00:00
Derrick Brashear
0eb68f307a dir-hold-afs-bufferlock-across-increment-of-buffer-lockers-to-prevent-newslot-from-walking-on-stuff-20020514
liberal debugging code and hammering produced a failure where newslot was
actually walking on another call to newslot because the bufferlock was
being dropped before newslot incremented lockers on the buffer it
was allocating, allowing someone else to come along and also think they
could allocate it.

by holding the bufferlock just a little longer we avoid this
2002-05-14 21:21:09 +00:00
Garry Zacheiss
50473f885f Update NEWS file with user visible changes in 1.2.4. 2002-05-13 02:20:40 +00:00
Nickolai Zeldovich
81a3f0068f Avoid kernel panic when dynroot and memcache are used simultaneously. 2002-05-09 21:37:29 +00:00
Derrick Brashear
ee798e49f2 viced-cleanup-dirhandle-references-after-ourselves-20020509
doesn't fix any problem that i can find, but results in ihandles not
having thousands of bogus references (and may fix problems if refcnt were to wrap)
2002-05-09 16:56:46 +00:00
Garry Zacheiss
bac8c82547 Use vsu_ExtractName() to get the RW volume name before doing the vid lookup
for addsite and remsite operations, since "vos addsite foo.bar.readonly" is
such a common thinko.
2002-05-07 21:01:27 +00:00
Nickolai Zeldovich
6aae6c0284 Undo need-prototype-for-osi-dnlc-lookup-20020503, as it created
double inclusion of afs_osidnlc.h.

An equivalent patch was already present in the mainline as part of
linux-dcache-inconsistency-fix-20020115, but its pullup to the stable
branch, STABLE12-linux-dcache-inconsistency-fix-20020120, was oddly
missing this particular part of the diff.
2002-05-06 08:13:10 +00:00
Chas Williams
eea3bf3d43 Include afs_osidnlc.h for osi_dnlc_lookup() prototype. Apparently
fixes a panic on ia64.
2002-05-03 20:03:34 +00:00
Chas Williams
1e90eb2648 linux-ia64-build-pam-module-20020502
keep small globals from being gprel
2002-05-02 16:11:14 +00:00
Chas Williams
25de65bc0b linux-ia64-no-asm-syscall-stubs-20020502
rewrite syscall stubs not in machine code
2002-05-02 15:38:16 +00:00
Kevin Coffman
7147cc946b linux-revalidate-root-always-good-20020502
avoid ESTALE in 2.4.19-pre7
2002-05-02 07:35:33 +00:00
Chaskiel M Grundman
ea0b193c19 README-NT-provide-file-locations-20020429
give people a clue where to get things from
2002-04-30 01:24:11 +00:00
Srikanth Vishwanathan
5cbc233c64 vol-ihandle-cleanup-20020429
this does fix some potential problems, even if none of them are the
CopyOnWrite problem. basically, ih_reallyclose() could reinsert a now-unref'd
fd handle into the wrong list when cleaning up, and this cleans up the code
considerably.
2002-04-30 00:40:22 +00:00
Chaskiel M Grundman
c2e075fba4 darwin-use-namei-fileserver-20020429
build the right fileserver on darwin
2002-04-29 16:31:54 +00:00
Chaskiel M Grundman
291e8352be cvsignore-updates-20020429
add missed fc_test
2002-04-29 16:32:24 +00:00
Nickolai Zeldovich
a319288157 If the inode is not allocated, don't bother updating timestamps.
Pointed out by Frank.Batschulat@Sun.COM.
2002-04-26 22:33:55 +00:00
Nickolai Zeldovich
be1458b078 Don't spawn a separate kernel thread for rx kernel listener under
Solaris, but instead just use the afsd fork for the listener. Use
of newproc() is deprecated, according to Frank.Batschulat@Sun.COM.
2002-04-26 22:27:29 +00:00
Chaskiel M Grundman
1ccedea1a0 darwin-map-more-versions-20020425
5.3 and 5.4 are "Same" enough
2002-04-25 22:44:53 +00:00