openafs.git
21 years agoRemove two unnecessary casts that prevented compilation on Linux 2.2.
Nickolai Zeldovich [Mon, 29 Jul 2002 23:48:39 +0000]
Remove two unnecessary casts that prevented compilation on Linux 2.2.

21 years agoafs_PutVCache() takes a second argument, although it doesn't get used.
Nathan Neulinger [Mon, 29 Jul 2002 21:45:50 +0000]
afs_PutVCache() takes a second argument, although it doesn't get used.

21 years agoSupport empty CellServDB entries like arla; this is useful to
Nickolai Zeldovich [Mon, 29 Jul 2002 21:03:36 +0000]
Support empty CellServDB entries like arla; this is useful to
tell dynroot about the existence of a cell without hard-coding
the server list (it will be fetched from AFSDB).

21 years agoRe-encode struct fcntl back into Linux's struct file_lock so
Nickolai Zeldovich [Sat, 27 Jul 2002 19:06:08 +0000]
Re-encode struct fcntl back into Linux's struct file_lock so
that fcntl(F_GETLK) returns proper values to the user.

21 years agosolaris-nfs-module-updates-20020726
Derrick Brashear [Fri, 26 Jul 2002 21:55:13 +0000]
solaris-nfs-module-updates-20020726

make it compile again

21 years agocleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726
Tino Schwarze [Fri, 26 Jul 2002 21:38:41 +0000]
cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726

fix operator precedence bug

21 years agoVerify that afs_GetCellByIndex() returns a valid cell -- it might
Nickolai Zeldovich [Fri, 26 Jul 2002 21:27:55 +0000]
Verify that afs_GetCellByIndex() returns a valid cell -- it might
be NULL if afs_NewCell() aborted partway through, which could be
the case of the CellServDB file has a typo.

21 years agopam-multi-cell-support-20020725
Charles Clancy [Fri, 26 Jul 2002 06:56:04 +0000]
pam-multi-cell-support-20020725

"will let you do
something like:

auth optional   /lib/security/pam_afs.so cell other-cell.domain.net
auth sufficient /lib/security/pam_afs.so try_first_pass refresh_token \
cell main-cell.domain.net
auth required   /lib/security/pam_unix.so

You need to specify "refresh_token" the second time you call it to prevent
it from getting a second PAG and making your first token useless.

Or, you can just use it once to authenticate to a cell other than what's
in /usr/vice/etc/ThisCell.  Not specifying the "cell" argument causes the
expected behavior of authenticating against the local cell."

21 years agovos-examine-print-extra-stuff-if-so-compiled-20020725
Jeffrey Hutzelman [Fri, 26 Jul 2002 06:45:51 +0000]
vos-examine-print-extra-stuff-if-so-compiled-20020725

the --enable-full-vos-listvol-switch configure switch also compiles
in this extended vos examine info

21 years agojafs-library-20020725
Manuel Pereira [Fri, 26 Jul 2002 06:33:59 +0000]
jafs-library-20020725

Java API work

21 years agowindows-no-more-files-workaround-20020725
Ryan Lantzer [Fri, 26 Jul 2002 06:09:56 +0000]
windows-no-more-files-workaround-20020725

work around erroneous "no more files" error in winnt client

21 years agotbutc-uses-not-thread-safe-status-20020725
Rainer Toebbicke [Fri, 26 Jul 2002 05:58:39 +0000]
tbutc-uses-not-thread-safe-status-20020725

"The multithreaded butc (src/tbutc/butc) includes bucoord/status.o, which is
compiled together with the other bucoord stuff without MT_CFLAGS and hence
without AFS_PTHREAD_ENV defined. Alas, it uses ObtainWriteLock and other
macros out of lock.h which *are* sensitive to AFS_PTHREAD_ENV. Consequently,
butc can hang trying to acquire the statusQueueLock when dumping volumes, in
particular if 'backup status' commands are issued frequently.

A proper fix would probably be to push some of those macros out of lock.h and
make them subroutines in lock.c.

A quick fix is ensuring status.c gets recompiled in tbutc/Makefile.in"

21 years agolinux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725
Chas Williams [Fri, 26 Jul 2002 00:37:51 +0000]
linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725

try to become less invasive about dcache child flushing

21 years agolinux-cleanup-rx-cv-locking-20020725
Chas Williams [Fri, 26 Jul 2002 00:29:52 +0000]
linux-cleanup-rx-cv-locking-20020725

cleanup wait queue usage
grab glock before mutex (like all other ports)

21 years agolinux-hold-glock-across-dentry-trace-entries-while-tracing-20020725
Chas Williams [Fri, 26 Jul 2002 00:11:30 +0000]
linux-hold-glock-across-dentry-trace-entries-while-tracing-20020725

this is actually rather scary

21 years agorevert-linux-use-d-prune-aliases-instead-of-try-dcache-children-20020725
Chas Williams [Thu, 25 Jul 2002 21:45:10 +0000]
revert-linux-use-d-prune-aliases-instead-of-try-dcache-children-20020725

not currently safe on smp kernel uniprocessor systems for some reason. revert.
also fix unlock/dget ordering to be consistent

21 years agoWork around MacOSX Finder's behavior by returning ENOENT when the user
Nickolai Zeldovich [Tue, 23 Jul 2002 00:04:22 +0000]
Work around MacOSX Finder's behavior by returning ENOENT when the user
tries to look up Contents or .DS_Store in an uncached volume root.

21 years agoCorrectly check for 32-bit file size limitations on Solaris;
Nickolai Zeldovich [Mon, 22 Jul 2002 22:23:43 +0000]
Correctly check for 32-bit file size limitations on Solaris;
the MAXOFF_T value changed from 32-bit to 64-bit in Solaris 7.

21 years agoTranslate faultcode_t return values from vm routines into errno codes.
Nickolai Zeldovich [Mon, 22 Jul 2002 19:32:34 +0000]
Translate faultcode_t return values from vm routines into errno codes.

21 years agolinux-dentry-deletion-for-unlinked-files-22-version-20020721
Chas Williams [Mon, 22 Jul 2002 04:47:24 +0000]
linux-dentry-deletion-for-unlinked-files-22-version-20020721

make it work for 2.2 kernels also
also some debugging

21 years agoTry to update attributes for volume roots when they become available,
Nickolai Zeldovich [Sat, 20 Jul 2002 09:12:23 +0000]
Try to update attributes for volume roots when they become available,
under Linux with fakestat.

21 years agoMinor internal cleanup of fakestat's afs_EvalFakeStat and
Nickolai Zeldovich [Sat, 20 Jul 2002 08:57:17 +0000]
Minor internal cleanup of fakestat's afs_EvalFakeStat and
afs_TryEvalFakeStat; no functional change.

21 years agoVN_RELE calls osi_iput on Linux which tries to get GLOCK.
Nickolai Zeldovich [Sat, 20 Jul 2002 08:53:33 +0000]
VN_RELE calls osi_iput on Linux which tries to get GLOCK.
Don't call VN_RELE while holding GLOCK.

21 years agolinux-dentry-delete-so-unlinked-files-die-nicely-20020718
Chas Williams [Thu, 18 Jul 2002 13:27:48 +0000]
linux-dentry-delete-so-unlinked-files-die-nicely-20020718

"d_delete: needs to call iput() to decrement i_count, which
you get by returning 1 instead of 0.

looking at the other fs schemes (actually its pretty clear in the
nfs code too) i see that they return 1 for 'is_bad_inode()'."

21 years agosolaris-placate-gmake-builds-20020718
Joakim Fallsjö [Thu, 18 Jul 2002 13:10:46 +0000]
solaris-placate-gmake-builds-20020718

so gmake will find the necessary source files

21 years agohpux-updates-20020716
Derrick Brashear [Tue, 16 Jul 2002 23:24:54 +0000]
hpux-updates-20020716

get us closer to building

21 years agoprovide an example CellAlias file.
Nickolai Zeldovich [Tue, 16 Jul 2002 18:39:50 +0000]
provide an example CellAlias file.

21 years agofreebsd-isnt-darwin-20020713
Chaskiel M Grundman [Sat, 13 Jul 2002 04:30:54 +0000]
freebsd-isnt-darwin-20020713

update rc script for freebsd

21 years agofreebsd-chunk-corruption-fix-20020713
Chaskiel M Grundman [Sat, 13 Jul 2002 04:28:28 +0000]
freebsd-chunk-corruption-fix-20020713

This patch will fix the "freebsd can't read files > 1 chunk" problem. It
will almost certainly not fix the "cache files get the bootloader written
into them" problem, but there is a miniscule chance:

21 years agolibjaufs-build-fix-20020713
Joakim Fallsjö [Sat, 13 Jul 2002 04:25:23 +0000]
libjaufs-build-fix-20020713

make it install cleanly

21 years agolinux-use-d-prune-aliases-instead-of-try-dcache-children-20020712
Chas Williams [Fri, 12 Jul 2002 21:41:59 +0000]
linux-use-d-prune-aliases-instead-of-try-dcache-children-20020712

clean up dcache entries with function provided in the kernel instead
of by making our own. experimental.

21 years agouuid-dont-require-snprintf-in-ukernel-20020711
Derrick Brashear [Thu, 11 Jul 2002 23:10:16 +0000]
uuid-dont-require-snprintf-in-ukernel-20020711

because obviously not everything has it

21 years agodarwin-vm-bugfix-for-running-apps-out-of-afs-20020710
Chaskiel M Grundman [Thu, 11 Jul 2002 03:32:52 +0000]
darwin-vm-bugfix-for-running-apps-out-of-afs-20020710

this "fixes a problem that causes the afs kernel code to spew
into syslog if a long running application is run out of /afs"

21 years agokaserver-set-realm-name-in-tgts-20020708
Derrick Brashear [Mon, 8 Jul 2002 21:17:38 +0000]
kaserver-set-realm-name-in-tgts-20020708

based on comment from Chaskiel Grandman regarding observed poor
interoperability of klog-generated tgts with other kdcs where key is
otherwise same

21 years agolibadmin-vsprocs-use-volint-prototyping-20020702
Derrick Brashear [Tue, 2 Jul 2002 06:01:40 +0000]
libadmin-vsprocs-use-volint-prototyping-20020702

use the prototyping from volint.h

21 years agolibuafs-build-juafs-everywhere-20020702
Derrick Brashear [Tue, 2 Jul 2002 05:53:25 +0000]
libuafs-build-juafs-everywhere-20020702

copy this crap to the other makefiles

21 years agoafs-uuid-no-string-functions-in-kernel-20020701
Derrick Brashear [Mon, 1 Jul 2002 17:26:29 +0000]
afs-uuid-no-string-functions-in-kernel-20020701

some kernels have no sscanf. don't do it.

21 years agonetbsd-16-initial-support-20020630
Love Hörnquist-Åstrand [Sun, 30 Jun 2002 18:13:36 +0000]
netbsd-16-initial-support-20020630

allow us to configure for nbsd 16

21 years agoopenafs-tools-update-20020630
Jeremy Stribling [Sun, 30 Jun 2002 08:43:11 +0000]
openafs-tools-update-20020630

updates for openafs-tools command suite

21 years agoignore-more-20020630
Love Hörnquist-Åstrand [Sun, 30 Jun 2002 08:05:08 +0000]
ignore-more-20020630

ignore more stuff at the top-level

21 years agofreebsd-initial-46-support-20020630
Chaskiel M Grundman [Sun, 30 Jun 2002 07:48:47 +0000]
freebsd-initial-46-support-20020630

make it build for 4.6

21 years agolinux-fix-readdir-hinting-20020630
Chas Williams [Sun, 30 Jun 2002 07:39:12 +0000]
linux-fix-readdir-hinting-20020630

an earlier patch erroneously removed this

21 years agolinux-gcpags-support-20020625
Derrick Brashear [Tue, 25 Jun 2002 16:25:43 +0000]
linux-gcpags-support-20020625

might even work

21 years agolinux-kernel-detect-gfp-mask-in-struct-address-space-20020624
Derrick Brashear [Tue, 25 Jun 2002 16:02:11 +0000]
linux-kernel-detect-gfp-mask-in-struct-address-space-20020624

based on report that new redhat kernels need this

21 years agolinux-sleep-wakeup-cleanup-20020624
Chas Williams [Mon, 24 Jun 2002 23:18:18 +0000]
linux-sleep-wakeup-cleanup-20020624

"cleanup osi_sleep.c to remove some additional races.  this patches
removes AFS_GLOBAL_SUNLOCK and just uses that case to handle both
smp and non smp cases.  osi_TimedSleep always sleeps atleast 1 hz.
(it also always sleeps interruptibly -- you might get some extra
loops but this is better than the load average running away)
sleep_on's are replaced with the more appropriate add_waitq/schedule
sequence.  getevent is called after addevent since there is no
danger of GLOCK dropping.  getevent/addevent isnt re-merged since
osi_Wakeup doesnt create entries in the event table."

21 years agovol-allocate-partition-names-dynamically-to-avoid-problems-with-vx-stuff-20020624
Kris Van Hees [Mon, 24 Jun 2002 20:09:59 +0000]
vol-allocate-partition-names-dynamically-to-avoid-problems-with-vx-stuff-20020624

otherwise long device paths can screw you

21 years agolinux-dont-install-osi-vfs-h-when-no-kernel-module-20020611
Derrick Brashear [Mon, 24 Jun 2002 18:34:02 +0000]
linux-dont-install-osi-vfs-h-when-no-kernel-module-20020611

do --disbale-kernel-mdoule build works

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

the rest of the patch

21 years agoubik-pause-collapsing-20020624
Marcus Watts [Mon, 24 Jun 2002 17:30:34 +0000]
ubik-pause-collapsing-20020624

I'm told that after we introduce ptserver nested groups we can expect to
see periodic pauses in ubik operations, and this fixes the problem. if it
happens, we can start with the UBIK_PAUSE code and go from there

21 years agolinux-more-osi-sleep-wakeup-fun-20020624
Chas Williams [Mon, 24 Jun 2002 16:40:41 +0000]
linux-more-osi-sleep-wakeup-fun-20020624

"the attached patch 'fixes', in my opinion, in osi_alloc.  objects <=
AFS_SMALLOCSIZ are alloced with kmalloc, other vmalloc.  if kmalloc
fails it doesnt fail over to vmalloc.  TASK_RUNNING is set after
schedule.  it doesnt drop the GLOCK.  i moved the allocator init
later so that it doesnt need to toggle the semaphore just before
going to linux_alloc."

21 years agoufsread-save-the-oops-for-where-we-expect-it-20020624
Derrick Brashear [Mon, 24 Jun 2002 16:23:40 +0000]
ufsread-save-the-oops-for-where-we-expect-it-20020624

based on comment from matt@slackers.net

21 years agodcache-locking-cleanup-20020624
Pavel Semerad [Mon, 24 Jun 2002 16:03:34 +0000]
dcache-locking-cleanup-20020624

don't oops if getDCache failed

21 years agoUpdate_TargetVnodeStatus() checks and strips setuid bits for non admin
Richard Basch [Sat, 22 Jun 2002 05:32:45 +0000]
Update_TargetVnodeStatus() checks and strips setuid bits for non admin
clients; it should do the same thing for setgid files.

21 years agoAdd afsUUID_to_string() and afsUUID_from_string() utility functions, from
Derrick Brashear [Sat, 22 Jun 2002 05:26:52 +0000]
Add afsUUID_to_string() and afsUUID_from_string() utility functions, from
arla.

21 years agoUse:
Garry Zacheiss [Sat, 22 Jun 2002 05:24:49 +0000]
Use:

#define CONFIG_SMP 1

instead of:

#define CONFIG_SMP

to fix recent Redhat kernel which used #if CONFIG_SMP instead of
#ifdef CONFIG_SMP in some kernel headers.

21 years agolinux-newvcache-make-sure-we-dont-try-to-iterate-null-pointer-20020615
Derrick Brashear [Sat, 15 Jun 2002 18:11:18 +0000]
linux-newvcache-make-sure-we-dont-try-to-iterate-null-pointer-20020615

based on report from wilder@us.ibm.com
not clear this is sufficient

21 years agoafsd-dont-print-garbage-on-bad-cacheinfo-file-20020615
Derrick Brashear [Sat, 15 Jun 2002 17:52:00 +0000]
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

21 years agodux-sysent-update-20020614
Mattias Amnefelt [Fri, 14 Jun 2002 18:45:33 +0000]
dux-sysent-update-20020614

cast this to deal with changes in sysent in later tru64

21 years agojunk-xdr-in-non-common-makefiles-20020614
Derrick Brashear [Fri, 14 Jun 2002 18:22:37 +0000]
junk-xdr-in-non-common-makefiles-20020614

based on report from chas@cmf.nrl.navy.mil

21 years agovos-listaddrs-cleanup-and-allow-printing-of-ip-or-uuid-or-both-20020613
Derrick Brashear [Thu, 13 Jun 2002 20:33:55 +0000]
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

21 years agovol-fssync-ack-before-breaking-callbacks-20020612
Derrick Brashear [Wed, 12 Jun 2002 23:07:08 +0000]
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

21 years agopioctl-always-null-terminate-after-copy-20020612
Derrick Brashear [Wed, 12 Jun 2002 22:41:36 +0000]
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

21 years agowindows-update-dirpath-header-20020612
Marc Dionne [Wed, 12 Jun 2002 19:22:24 +0000]
windows-update-dirpath-header-20020612

add missing definitions

21 years agoDon't give directory owners any implicit rights. Volume owners still
Richard Basch [Wed, 12 Jun 2002 18:06:45 +0000]
Don't give directory owners any implicit rights.  Volume owners still
have their implicit rights.

21 years agoarla-pioctls-now-bogus-20020612
Derrick Brashear [Wed, 12 Jun 2002 07:02:02 +0000]
arla-pioctls-now-bogus-20020612

as reported by lha@stacken.kth.se

21 years agosolaris-x86-20020611
Joakim Fallsjö [Wed, 12 Jun 2002 01:25:33 +0000]
solaris-x86-20020611

solaris 7 and 8 for x86

21 years agosolaris-9-support-20020611
Quanah Gibson-Mount [Wed, 12 Jun 2002 01:03:17 +0000]
solaris-9-support-20020611

update hrestime interface

21 years agowindows-callback-interface-updates-20020611
Derrick Brashear [Wed, 12 Jun 2002 00:33:40 +0000]
windows-callback-interface-updates-20020611

make callback interface like unix

21 years agolibjuafs-target-20020611
Manuel Pereira [Wed, 12 Jun 2002 00:29:18 +0000]
libjuafs-target-20020611

create a libjuafs library for the java api to use

21 years agorevert-dont-spawn-kernel-thread-for-rxk-listener-20020426
Derrick Brashear [Thu, 13 Jun 2002 20:35:28 +0000]
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

21 years agogetcellservdb-cleanup-20020608
Derrick Brashear [Sat, 8 Jun 2002 12:01:59 +0000]
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.

21 years agouse-private-xdr-in-kernel-to-avoid-conflicts-over-memory-ownership-20020608
Derrick Brashear [Sat, 8 Jun 2002 08:44:09 +0000]
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

21 years agoUpdate NEWS file with important changes in 1.2.5 release.
Garry Zacheiss [Sat, 8 Jun 2002 05:54:50 +0000]
Update NEWS file with important changes in 1.2.5 release.

21 years agoRecognize MacOS X 10.1.5 as ppc_darwin_14. It's compatible.
Garry Zacheiss [Sat, 8 Jun 2002 02:29:50 +0000]
Recognize MacOS X 10.1.5 as ppc_darwin_14.  It's compatible.

21 years agodes-fix-linux-64bit-problems-more-usefully-20020607
Chas Williams [Sat, 8 Jun 2002 00:55:01 +0000]
des-fix-linux-64bit-problems-more-usefully-20020607

with a minor fix from shadow@dementia.org

long isn't 32bit on ia64 or alpha

21 years agoDelay calling afs_ProcessFS() and upgrading the shared vcache lock
Nickolai Zeldovich [Wed, 5 Jun 2002 16:56:09 +0000]
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.

21 years agouuencode binary files used by the test suite (KeyFile and sample kaserver
Garry Zacheiss [Wed, 29 May 2002 21:59:51 +0000]
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.

21 years agoviced-malloc-dont-make-assumptions-about-the-compiler-20020524
Derrick Brashear [Fri, 24 May 2002 23:05:47 +0000]
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.

"

21 years agoafs-dont-allow-shutdown-before-umount-20020523
Derrick Brashear [Thu, 23 May 2002 06:21:13 +0000]
afs-dont-allow-shutdown-before-umount-20020523

fix afs to enforce that /afs must be unmounted, and afsd to report it

21 years agoZero out some fields to avoid random crashes in "cmdebug host -cache".
Nickolai Zeldovich [Tue, 21 May 2002 07:37:53 +0000]
Zero out some fields to avoid random crashes in "cmdebug host -cache".

21 years agoReport correct cache size when -memcache is used.
Nickolai Zeldovich [Tue, 21 May 2002 07:35:57 +0000]
Report correct cache size when -memcache is used.

21 years agoaix-fix-objdir-build-20020521
Nathan Neulinger [Tue, 21 May 2002 06:35:45 +0000]
aix-fix-objdir-build-20020521

make objdir builds work on aix

21 years agopts-sysviewer-should-be-able-to-listowned-20020521
Chaskiel M Grundman [Tue, 21 May 2002 06:30:27 +0000]
pts-sysviewer-should-be-able-to-listowned-20020521

fix so the "any reader" can really read anythinmg

21 years agoNT-dirpath-copy-in-useful-file-20020516
Derrick Brashear [Thu, 16 May 2002 14:54:42 +0000]
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

21 years agoafs-attrs-cast-date-to-int-to-avoid-negative-dates-20020516
Derrick Brashear [Thu, 16 May 2002 14:47:28 +0000]
afs-attrs-cast-date-to-int-to-avoid-negative-dates-20020516

cheap hack to avoid negative date problem which occasionally plagues solaris

21 years agopioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020516
Nathan Neulinger [Thu, 16 May 2002 13:54:56 +0000]
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.

21 years agoosi_linux_unmask() needs to explicitly flush_signals() before calling
Derek Atkins [Wed, 15 May 2002 21:04:15 +0000]
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.

21 years agoSeems to fix a hang at shutdown time seen on Redhat 7.3 kernels; doesn't
Derek Atkins [Tue, 14 May 2002 23:56:40 +0000]
Seems to fix a hang at shutdown time seen on Redhat 7.3 kernels; doesn't
appear to affect older kernels.

21 years agoAllows us to build modules for the bigmem kernels redhat started shipping.
Derek Atkins [Tue, 14 May 2002 23:48:35 +0000]
Allows us to build modules for the bigmem kernels redhat started shipping.

21 years agodir-hold-afs-bufferlock-across-increment-of-buffer-lockers-to-prevent-newslot-from...
Derrick Brashear [Tue, 14 May 2002 21:21:09 +0000]
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

21 years agoUpdate NEWS file with user visible changes in 1.2.4.
Garry Zacheiss [Mon, 13 May 2002 02:20:40 +0000]
Update NEWS file with user visible changes in 1.2.4.

21 years agoAvoid kernel panic when dynroot and memcache are used simultaneously.
Nickolai Zeldovich [Thu, 9 May 2002 21:37:29 +0000]
Avoid kernel panic when dynroot and memcache are used simultaneously.

21 years agoviced-cleanup-dirhandle-references-after-ourselves-20020509
Derrick Brashear [Thu, 9 May 2002 16:56:46 +0000]
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)

21 years agoUse vsu_ExtractName() to get the RW volume name before doing the vid lookup
Garry Zacheiss [Tue, 7 May 2002 21:01:27 +0000]
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.

21 years agoUndo need-prototype-for-osi-dnlc-lookup-20020503, as it created
Nickolai Zeldovich [Mon, 6 May 2002 08:13:10 +0000]
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.

21 years agoInclude afs_osidnlc.h for osi_dnlc_lookup() prototype. Apparently
Chas Williams [Fri, 3 May 2002 20:03:34 +0000]
Include afs_osidnlc.h for osi_dnlc_lookup() prototype.  Apparently
fixes a panic on ia64.

21 years agolinux-ia64-build-pam-module-20020502
Chas Williams [Thu, 2 May 2002 16:11:14 +0000]
linux-ia64-build-pam-module-20020502

keep small globals from being gprel

21 years agolinux-ia64-no-asm-syscall-stubs-20020502
Chas Williams [Thu, 2 May 2002 15:38:16 +0000]
linux-ia64-no-asm-syscall-stubs-20020502

rewrite syscall stubs not in machine code

21 years agolinux-revalidate-root-always-good-20020502
Kevin Coffman [Thu, 2 May 2002 07:35:33 +0000]
linux-revalidate-root-always-good-20020502

avoid ESTALE in 2.4.19-pre7

21 years agoREADME-NT-provide-file-locations-20020429
Chaskiel M Grundman [Tue, 30 Apr 2002 01:24:11 +0000]
README-NT-provide-file-locations-20020429

give people a clue where to get things from

21 years agovol-ihandle-cleanup-20020429
Srikanth Vishwanathan [Tue, 30 Apr 2002 00:40:22 +0000]
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.