Nathan Neulinger [Wed, 21 Aug 2002 21:32:19 +0000]
viced-provide-way-to-not-retraverse-hostlist-
20020821
based on thomas muellers patch
Nathan Neulinger [Wed, 21 Aug 2002 21:30:00 +0000]
ukernel-updateosi-read-write-for-prototypes-
20020821
cleanup
Nathan Neulinger [Wed, 21 Aug 2002 21:02:02 +0000]
volser-prototypes-
20020831
vsprocs prototyping
Derrick Brashear [Wed, 21 Aug 2002 20:57:45 +0000]
linux-22-kernel-support-for-current-state-
20020821
based on report from alfw@SLAC.Stanford.EDU
Derrick Brashear [Wed, 21 Aug 2002 20:49:04 +0000]
bosserver-dont-create-unused-directories-
20020821
in a build with alternate dirpaths we shouldn't create directories we
don't use
Love Hörnquist-Åstrand [Wed, 21 Aug 2002 20:33:15 +0000]
print-cause-of-bosserver-whining-
20020821
instead of a vague error be slightly more useful
Nathan Neulinger [Wed, 21 Aug 2002 20:26:15 +0000]
volser-vsprocs-call-enumerateentry-correctly-
20020821
prototyping caught this
Jeffrey Hutzelman [Wed, 21 Aug 2002 20:19:28 +0000]
sunos4-port-
20020821
This patch adds support for building OpenAFS user-mode code on SunOS 4.
It does not include libafs, ulibafs, or any code that needs to understand
the filesystem layout (so, no vfsck, and while the salvager will be built,
it won't work).
Derrick Brashear [Wed, 21 Aug 2002 20:04:05 +0000]
uuid-update-copyright-info-
20020821
apply copyright info from arla.
Derrick Brashear [Wed, 21 Aug 2002 19:58:18 +0000]
modernize-bozo-
20020821
convert to protoized declarations in the bosserver
deal with InitBnode malloc failures
Nathan Neulinger [Wed, 21 Aug 2002 19:52:17 +0000]
pull-prototypes-to-head-
20020821
pull up prototypes to head
Derrick Brashear [Wed, 21 Aug 2002 16:43:29 +0000]
bos-fix-restart-usage-message-
20020821
as suggested by Turbo Fredriksson
restart does not default to all
Derrick Brashear [Wed, 21 Aug 2002 06:52:18 +0000]
realcellindex-fix-allocation-
20020821
fix comparison and the double allocation it uncovers
Nickolai Zeldovich [Tue, 20 Aug 2002 22:39:31 +0000]
Allow users with admin bits to store different user/group IDs
along with a StoreData call; they can already do so anyway by
using StoreStatus. Fixes a spurious permission denied error
with arla clients.
Chas Williams [Mon, 19 Aug 2002 23:06:02 +0000]
linux-dcache-flushing-experimental-
20020819
shadow@dementia.org at least partly to blame.
hold the dcache lock only briefly; instead put dcache entries to be junked
onto a free list, by unhashing them, then grab the dcache lock, junk them,
and release it.
Chas Williams [Mon, 19 Aug 2002 22:52:52 +0000]
linux-dentry-revalidate-lock-kernel-
20020813
avoid potential race for shrink_dcache_parent/d_drop
smbfs and nfs do equivalent.
====================
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.
====================
avoid potential race for shrink_dcache_parent/d_drop
smbfs and nfs do equivalent.
slight rework to avoid holding glock in a way which could deadlock us
Garry Zacheiss [Mon, 19 Aug 2002 19:53:34 +0000]
Don't return ELOOP when crossing a mountpoint boundary from a BK volume to
a BK volume. find treats it as a fatal error, and it's annoying not to be
able to naively use find to recurse through a volume with its backup volume
mounted. Never noticed this before because we used to ignore this return
value. Return ENODEV instead.
Love Hörnquist-Åstrand [Sat, 17 Aug 2002 17:19:18 +0000]
An unintentional change accidentally leaked out when the
rx-avoid-using-newproc-on-solaris-
20020812 delta was checked
in. Undo it, since it breaks things.
Harald Barth [Thu, 15 Aug 2002 22:10:23 +0000]
compiler-autoconf-tests-
20020815
attempt to find compilers we like
Derrick Brashear [Wed, 14 Aug 2002 22:18:34 +0000]
pioctl-write-null-before-copyout-
20020814
suggested by lha@stacken.kth.se
Nathan Neulinger [Wed, 14 Aug 2002 02:24:59 +0000]
solaris8-param-cleanup-nested-comments-
20020813
get rid of nested comment
Nathan Neulinger [Wed, 14 Aug 2002 02:22:09 +0000]
kdump-sh-objdir-build-fix-
20020813
make objdir build that i keep breaking work again.
Nathan Neulinger [Wed, 14 Aug 2002 02:21:23 +0000]
venus-owntest-cleanup-
20020813
exit with errno on failures
Harald Barth [Tue, 13 Aug 2002 20:07:44 +0000]
solaris-find-valid-cc-for-compiling-kernel-
20020813
configure test to find solaris cc since we can't (yet) compile
kernel module with gcc on solaris.
Nickolai Zeldovich [Mon, 12 Aug 2002 22:32:39 +0000]
Fix a vcache refcount leak in afs_root() on all platforms.
Nickolai Zeldovich [Mon, 12 Aug 2002 22:31:03 +0000]
Second attempt at avoiding the use of newproc() on Solaris.
This time, use thread_create to spawn a kernel thread, and
use a dummy packet to wake up the listener during shutdown.
Nickolai Zeldovich [Mon, 12 Aug 2002 22:29:28 +0000]
Only put xdr_int64.o on the linker's argument list once. It's already
listed in Makefile.common.in, so no need to specify it again.
Nickolai Zeldovich [Mon, 12 Aug 2002 22:27:51 +0000]
Don't print out-of-range index error messages when all it means
is that we've reached the end of the server list.
Derrick Brashear [Sat, 10 Aug 2002 07:32:21 +0000]
linux-symbol-export-test-
20020810
test for tasklist_lock being exported
discussion on openafs-devel to follow
Derrick Brashear [Sat, 10 Aug 2002 07:31:13 +0000]
linux-gcpags-smp-safeness-
20020810
hold tasklist_lock in the right place. doesn't yet address versions which don't export it.
Nickolai Zeldovich [Fri, 9 Aug 2002 22:15:12 +0000]
Set the maxfilesize rlimit to infinity while writing to cache files
to avoid potential truncation if the user's rlimit is too low. This
bug likely also exists in AIX, DARWIN, DUX, FBSD, HPUX and NBSD, but
surprisingly IRIX got this right.
Derrick Brashear [Thu, 8 Aug 2002 19:46:13 +0000]
netinfo-support-fake-ips-for-nat-
20020808
basically verbatim from Todd DeSantis, cleared for release by IBM
Chas Williams [Tue, 6 Aug 2002 20:49:00 +0000]
Clean up the prefetch code for Linux, by calling afs_PrefetchChunk
directly rather than changing the ifdef's in afs_UFSRead.
Charles Clancy [Tue, 6 Aug 2002 19:58:02 +0000]
pam-afs-man-page-
20020806
our first real man page. now, we just need a few hundred others.
Nickolai Zeldovich [Tue, 6 Aug 2002 19:21:54 +0000]
Fix some of the things that break compilation on Windows.
Derrick Brashear [Mon, 5 Aug 2002 23:07:12 +0000]
vos-listaddrs-avoid-holes-in-index-
20020805
index may have holes in it, so make sure we actually walk over the number
of entries we expect
Hartmut Reuter [Mon, 5 Aug 2002 22:03:34 +0000]
dcache-fix-alen-miscalculation-bug-
20020805
*alen was being calculated wrong in GetDCache
also fix fstrace items
Garry Zacheiss [Fri, 2 Aug 2002 08:01:04 +0000]
Update NEWS file with user visible changes in 1.2.6.
Garry Zacheiss [Fri, 2 Aug 2002 03:41:22 +0000]
Include xdr.o and xdr_array.o in librx, to pick up xdr fix.
Chas Williams [Thu, 1 Aug 2002 19:08:13 +0000]
Clean up partial write support on Linux by calling afs_DoPartialWrite
from afs_linux_writepage_sync.
Chas Williams [Thu, 1 Aug 2002 17:11:35 +0000]
linux-alloc-dont-drop-what-you-dont-have-
20020801
avoid trying to drop a glock we don't have
Garry Zacheiss [Thu, 1 Aug 2002 04:33:12 +0000]
Add a prototype of afs_GetRealCellByIndex to fix Irix build.
Garry Zacheiss [Thu, 1 Aug 2002 03:45:06 +0000]
Include errno.h so this compiles again.
Jeffrey Hutzelman [Thu, 1 Aug 2002 00:13:09 +0000]
xdr-updates-
20020731
update xdr so internal variables match what's being passed in
Derek Atkins [Wed, 31 Jul 2002 23:41:02 +0000]
linux-start-if-dynroot-even-if-no-network-
20020731
if we start with dynroot, dont worry if we have net or not
Jeffrey Hutzelman [Wed, 31 Jul 2002 23:35:09 +0000]
deal-with-linux-EAGAIN-returns-when-receiving-
20020731
sometimes you get EAGAIN from recvfrom, apparently if a packet comes in with a
bad checksum for instance. we should deal better.
Chas Williams [Wed, 31 Jul 2002 23:29:38 +0000]
linux-alloc-drop-glock-if-we-can-
20020731
if we can drop the glock, do so. allocate up to PAGE_SIZE with kmalloc before
switching to vmalloc
Derrick Brashear [Wed, 31 Jul 2002 23:15:16 +0000]
afs-getcell-pioctl-should-be-able-to-provide-complete-list-
20020731
don't use the LRUq since it can make us miss cells. don't use the existant
index because it includes cell aliases
Derrick Brashear [Wed, 31 Jul 2002 22:54:41 +0000]
linux-note-we-use-interruptible-sleeps-in-non-compliant-manner-
20020731
based on discussion with David Howells of RedHat
Nickolai Zeldovich [Wed, 31 Jul 2002 19:43:31 +0000]
fix-fakestat-support-for-hardlinks-
20020731 made afs_vnop_link.c
not compile under Sun's cc, since it tried to take the address of
a register variable. Don't declare the arguments as register.
Hartmut Reuter [Wed, 31 Jul 2002 17:41:24 +0000]
aix-make-ukernel-build-
20020731
make it compile under aix
Nickolai Zeldovich [Wed, 31 Jul 2002 14:43:17 +0000]
Support afs_link() in volume roots when using fakestat.
Chas Williams [Tue, 30 Jul 2002 20:34:32 +0000]
Enable afs_DoPartialWrite() and afs_PrefetchChunk() in afs_UFSRead
and afs_UFSWrite for Linux; fixes deadlock condition for small
cache sizes.
Nickolai Zeldovich [Mon, 29 Jul 2002 23:48:39 +0000]
Remove two unnecessary casts that prevented compilation on Linux 2.2.
Nathan Neulinger [Mon, 29 Jul 2002 21:45:50 +0000]
afs_PutVCache() takes a second argument, although it doesn't get used.
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).
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.
Derrick Brashear [Fri, 26 Jul 2002 21:55:13 +0000]
solaris-nfs-module-updates-
20020726
make it compile again
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
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.
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."
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
Manuel Pereira [Fri, 26 Jul 2002 06:33:59 +0000]
jafs-library-
20020725
Java API work
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
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"
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
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)
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
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
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.
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.
Nickolai Zeldovich [Mon, 22 Jul 2002 19:32:34 +0000]
Translate faultcode_t return values from vm routines into errno codes.
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
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.
Nickolai Zeldovich [Sat, 20 Jul 2002 08:57:17 +0000]
Minor internal cleanup of fakestat's afs_EvalFakeStat and
afs_TryEvalFakeStat; no functional change.
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.
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()'."
Joakim Fallsjö [Thu, 18 Jul 2002 13:10:46 +0000]
solaris-placate-gmake-builds-
20020718
so gmake will find the necessary source files
Derrick Brashear [Tue, 16 Jul 2002 23:24:54 +0000]
hpux-updates-
20020716
get us closer to building
Nickolai Zeldovich [Tue, 16 Jul 2002 18:39:50 +0000]
provide an example CellAlias file.
Chaskiel M Grundman [Sat, 13 Jul 2002 04:30:54 +0000]
freebsd-isnt-darwin-
20020713
update rc script for freebsd
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:
Joakim Fallsjö [Sat, 13 Jul 2002 04:25:23 +0000]
libjaufs-build-fix-
20020713
make it install cleanly
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.
Derrick Brashear [Thu, 11 Jul 2002 23:10:16 +0000]
uuid-dont-require-snprintf-in-ukernel-
20020711
because obviously not everything has it
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"
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
Derrick Brashear [Tue, 2 Jul 2002 06:01:40 +0000]
libadmin-vsprocs-use-volint-prototyping-
20020702
use the prototyping from volint.h
Derrick Brashear [Tue, 2 Jul 2002 05:53:25 +0000]
libuafs-build-juafs-everywhere-
20020702
copy this crap to the other makefiles
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.
Love Hörnquist-Åstrand [Sun, 30 Jun 2002 18:13:36 +0000]
netbsd-16-initial-support-
20020630
allow us to configure for nbsd 16
Jeremy Stribling [Sun, 30 Jun 2002 08:43:11 +0000]
openafs-tools-update-
20020630
updates for openafs-tools command suite
Love Hörnquist-Åstrand [Sun, 30 Jun 2002 08:05:08 +0000]
ignore-more-
20020630
ignore more stuff at the top-level
Chaskiel M Grundman [Sun, 30 Jun 2002 07:48:47 +0000]
freebsd-initial-46-support-
20020630
make it build for 4.6
Chas Williams [Sun, 30 Jun 2002 07:39:12 +0000]
linux-fix-readdir-hinting-
20020630
an earlier patch erroneously removed this
Derrick Brashear [Tue, 25 Jun 2002 16:25:43 +0000]
linux-gcpags-support-
20020625
might even work
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
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."
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
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