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
Rainer Toebbicke
fd2cb884e2
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"
2002-07-26 05:58:39 +00:00
Chas Williams
efbaa07c99
linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725
...
try to become less invasive about dcache child flushing
2002-07-26 00:37:51 +00:00
Chas Williams
fc71eb6e25
linux-cleanup-rx-cv-locking-20020725
...
cleanup wait queue usage
grab glock before mutex (like all other ports)
2002-07-26 00:29:52 +00:00
Chas Williams
0f4021128e
linux-hold-glock-across-dentry-trace-entries-while-tracing-20020725
...
this is actually rather scary
2002-07-26 00:11:30 +00:00
Chas Williams
0e53c862c3
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
2002-07-25 21:45:10 +00:00
Nickolai Zeldovich
77b1a76e47
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.
2002-07-23 00:04:22 +00:00
Nickolai Zeldovich
fbb81cb4ed
Correctly check for 32-bit file size limitations on Solaris;
...
the MAXOFF_T value changed from 32-bit to 64-bit in Solaris 7.
2002-07-22 22:23:43 +00:00
Nickolai Zeldovich
9cd177c636
Translate faultcode_t return values from vm routines into errno codes.
2002-07-22 19:32:34 +00:00
Chas Williams
73cdd10a1b
linux-dentry-deletion-for-unlinked-files-22-version-20020721
...
make it work for 2.2 kernels also
also some debugging
2002-07-22 04:47:24 +00:00
Nickolai Zeldovich
349c211789
Try to update attributes for volume roots when they become available,
...
under Linux with fakestat.
2002-07-20 09:12:23 +00:00
Nickolai Zeldovich
e2fcfb88a2
Minor internal cleanup of fakestat's afs_EvalFakeStat and
...
afs_TryEvalFakeStat; no functional change.
2002-07-20 08:57:17 +00:00
Nickolai Zeldovich
4fac7a61d8
VN_RELE calls osi_iput on Linux which tries to get GLOCK.
...
Don't call VN_RELE while holding GLOCK.
2002-07-20 08:53:33 +00:00
Chas Williams
cabd0bbd4f
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()'."
2002-07-18 13:27:48 +00:00
Joakim Fallsjö
d53f4f14e1
solaris-placate-gmake-builds-20020718
...
so gmake will find the necessary source files
2002-07-18 13:10:46 +00:00
Derrick Brashear
d84171dd30
hpux-updates-20020716
...
get us closer to building
2002-07-16 23:24:54 +00:00
Nickolai Zeldovich
d0c8c165a3
provide an example CellAlias file.
2002-07-16 18:39:50 +00:00
Chaskiel M Grundman
90deacca54
freebsd-isnt-darwin-20020713
...
update rc script for freebsd
2002-07-13 04:30:54 +00:00
Chaskiel M Grundman
affdbe8db3
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:
2002-07-13 04:28:28 +00:00
Joakim Fallsjö
bfaa3bac05
libjaufs-build-fix-20020713
...
make it install cleanly
2002-07-13 04:25:23 +00:00
Chas Williams
6ed4fae804
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.
2002-07-12 21:41:59 +00:00
Derrick Brashear
c927f48236
uuid-dont-require-snprintf-in-ukernel-20020711
...
because obviously not everything has it
2002-07-11 23:10:16 +00:00
Chaskiel M Grundman
7e0d50a108
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"
2002-07-11 03:32:52 +00:00
Derrick Brashear
66bd2d780e
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
2002-07-08 21:17:38 +00:00
Derrick Brashear
616f796024
libadmin-vsprocs-use-volint-prototyping-20020702
...
use the prototyping from volint.h
2002-07-02 06:01:40 +00:00
Derrick Brashear
b745a28c47
libuafs-build-juafs-everywhere-20020702
...
copy this crap to the other makefiles
2002-07-02 05:53:25 +00:00
Derrick Brashear
937149e315
afs-uuid-no-string-functions-in-kernel-20020701
...
some kernels have no sscanf. don't do it.
2002-07-01 17:26:29 +00:00
Love Hörnquist-Åstrand
842925a2e8
netbsd-16-initial-support-20020630
...
allow us to configure for nbsd 16
2002-06-30 18:13:36 +00:00
Jeremy Stribling
c746dbb3cb
openafs-tools-update-20020630
...
updates for openafs-tools command suite
2002-06-30 08:43:11 +00:00
Love Hörnquist-Åstrand
e68e9dbfa8
ignore-more-20020630
...
ignore more stuff at the top-level
2002-06-30 08:05:08 +00:00
Chaskiel M Grundman
30fb2c1484
freebsd-initial-46-support-20020630
...
make it build for 4.6
2002-06-30 07:48:47 +00:00
Chas Williams
fb8871ec2e
linux-fix-readdir-hinting-20020630
...
an earlier patch erroneously removed this
2002-06-30 07:39:12 +00:00
Derrick Brashear
b2788cf3ab
linux-gcpags-support-20020625
...
might even work
2002-06-25 16:25:43 +00:00
Derrick Brashear
19ffb82266
linux-kernel-detect-gfp-mask-in-struct-address-space-20020624
...
based on report that new redhat kernels need this
2002-06-25 16:02:11 +00:00
Chas Williams
048543ade8
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."
2002-06-24 23:18:18 +00:00
Kris Van Hees
78b1f7ec56
vol-allocate-partition-names-dynamically-to-avoid-problems-with-vx-stuff-20020624
...
otherwise long device paths can screw you
2002-06-24 20:09:59 +00:00