Chas Williams
3d0874aa14
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.
2002-08-19 23:06:02 +00:00
Chas Williams
e9ec286d9b
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
2002-08-19 22:52:52 +00:00
Garry Zacheiss
f6462eac36
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.
2002-08-19 19:53:34 +00:00
Love Hörnquist-Åstrand
9a871520c9
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.
2002-08-17 17:19:18 +00:00
Harald Barth
1371bb1bec
compiler-autoconf-tests-20020815
...
attempt to find compilers we like
2002-08-15 22:10:23 +00:00
Derrick Brashear
5a7fa71c86
pioctl-write-null-before-copyout-20020814
...
suggested by lha@stacken.kth.se
2002-08-14 22:18:34 +00:00
Nathan Neulinger
8c2edd9de6
solaris8-param-cleanup-nested-comments-20020813
...
get rid of nested comment
2002-08-14 02:24:59 +00:00
Nathan Neulinger
1a8355845a
kdump-sh-objdir-build-fix-20020813
...
make objdir build that i keep breaking work again.
2002-08-14 02:22:09 +00:00
Nathan Neulinger
abc490d0fc
venus-owntest-cleanup-20020813
...
exit with errno on failures
2002-08-14 02:21:23 +00:00
Harald Barth
b375c306aa
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.
2002-08-13 20:07:44 +00:00
Nickolai Zeldovich
7dc3c1a6ea
Fix a vcache refcount leak in afs_root() on all platforms.
2002-08-12 22:32:39 +00:00
Nickolai Zeldovich
5d3545610b
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.
2002-08-12 22:31:03 +00:00
Nickolai Zeldovich
f16544d04a
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.
2002-08-12 22:29:28 +00:00
Nickolai Zeldovich
85db3fa425
Don't print out-of-range index error messages when all it means
...
is that we've reached the end of the server list.
2002-08-12 22:27:51 +00:00
Derrick Brashear
2bde78fdac
linux-symbol-export-test-20020810
...
test for tasklist_lock being exported
discussion on openafs-devel to follow
2002-08-10 07:32:21 +00:00
Derrick Brashear
38025e0650
linux-gcpags-smp-safeness-20020810
...
hold tasklist_lock in the right place. doesn't yet address versions which don't export it.
2002-08-10 07:31:13 +00:00
Nickolai Zeldovich
3e6640e96d
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.
2002-08-09 22:15:12 +00:00
Derrick Brashear
caeecc241e
netinfo-support-fake-ips-for-nat-20020808
...
basically verbatim from Todd DeSantis, cleared for release by IBM
2002-08-08 19:46:13 +00:00
Chas Williams
08c2c637ab
Clean up the prefetch code for Linux, by calling afs_PrefetchChunk
...
directly rather than changing the ifdef's in afs_UFSRead.
2002-08-06 20:49:00 +00:00
Charles Clancy
f4d6cdd26c
pam-afs-man-page-20020806
...
our first real man page. now, we just need a few hundred others.
2002-08-06 19:58:02 +00:00
Nickolai Zeldovich
fa729e7694
Fix some of the things that break compilation on Windows.
2002-08-06 19:21:54 +00:00
Derrick Brashear
61442535ba
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
2002-08-05 23:07:12 +00:00
Hartmut Reuter
b8c94524a3
dcache-fix-alen-miscalculation-bug-20020805
...
*alen was being calculated wrong in GetDCache
also fix fstrace items
2002-08-05 22:03:34 +00:00
Garry Zacheiss
e225317210
Update NEWS file with user visible changes in 1.2.6.
2002-08-02 08:01:04 +00:00
Garry Zacheiss
61a3c91d47
Include xdr.o and xdr_array.o in librx, to pick up xdr fix.
2002-08-02 03:41:22 +00:00
Chas Williams
14dc5dfa08
Clean up partial write support on Linux by calling afs_DoPartialWrite
...
from afs_linux_writepage_sync.
2002-08-01 19:08:13 +00:00
Chas Williams
9e06544249
linux-alloc-dont-drop-what-you-dont-have-20020801
...
avoid trying to drop a glock we don't have
2002-08-01 17:11:35 +00:00
Garry Zacheiss
fb6d2422f3
Add a prototype of afs_GetRealCellByIndex to fix Irix build.
2002-08-01 04:33:12 +00:00
Garry Zacheiss
49e0c6409a
Include errno.h so this compiles again.
2002-08-01 03:45:06 +00:00
Jeffrey Hutzelman
2d6ebd0cda
xdr-updates-20020731
...
update xdr so internal variables match what's being passed in
2002-08-01 00:13:09 +00:00
Derek Atkins
aea332588b
linux-start-if-dynroot-even-if-no-network-20020731
...
if we start with dynroot, dont worry if we have net or not
2002-07-31 23:41:02 +00:00
Jeffrey Hutzelman
6c5439b809
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.
2002-07-31 23:35:09 +00:00
Chas Williams
4d75219bed
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
2002-07-31 23:29:38 +00:00
Derrick Brashear
f2ab9fd440
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
2002-07-31 23:15:16 +00:00
Derrick Brashear
f063c0db21
linux-note-we-use-interruptible-sleeps-in-non-compliant-manner-20020731
...
based on discussion with David Howells of RedHat
2002-07-31 22:54:41 +00:00
Nickolai Zeldovich
6c9fd25ae7
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.
2002-07-31 19:43:31 +00:00
Hartmut Reuter
6122876caf
aix-make-ukernel-build-20020731
...
make it compile under aix
2002-07-31 17:41:24 +00:00
Nickolai Zeldovich
59741a821c
Support afs_link() in volume roots when using fakestat.
2002-07-31 14:43:17 +00:00
Chas Williams
4b2be9588b
Enable afs_DoPartialWrite() and afs_PrefetchChunk() in afs_UFSRead
...
and afs_UFSWrite for Linux; fixes deadlock condition for small
cache sizes.
2002-07-30 20:34:32 +00:00
Nickolai Zeldovich
e9a6a53944
Remove two unnecessary casts that prevented compilation on Linux 2.2.
2002-07-29 23:48:39 +00:00
Nathan Neulinger
f9677cc5d0
afs_PutVCache() takes a second argument, although it doesn't get used.
2002-07-29 21:45:50 +00:00
Nickolai Zeldovich
4e13acfe3b
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).
2002-07-29 21:03:36 +00:00
Nickolai Zeldovich
b8ebb1a225
Re-encode struct fcntl back into Linux's struct file_lock so
...
that fcntl(F_GETLK) returns proper values to the user.
2002-07-27 19:06:08 +00:00
Derrick Brashear
094adf6b12
solaris-nfs-module-updates-20020726
...
make it compile again
2002-07-26 21:55:13 +00:00
Tino Schwarze
07a4570310
cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726
...
fix operator precedence bug
2002-07-26 21:38:41 +00:00
Nickolai Zeldovich
9d8ad37ced
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.
2002-07-26 21:27:55 +00:00
Charles Clancy
77efb238b1
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."
2002-07-26 06:56:04 +00:00
Jeffrey Hutzelman
2ee7d7e0fb
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
2002-07-26 06:45:51 +00:00
Manuel Pereira
6738516b53
jafs-library-20020725
...
Java API work
2002-07-26 06:33:59 +00:00
Ryan Lantzer
595f9ae433
windows-no-more-files-workaround-20020725
...
work around erroneous "no more files" error in winnt client
2002-07-26 06:09:56 +00:00