Commit Graph

1236 Commits

Author SHA1 Message Date
Derrick Brashear
8b141efe96 cachemgr-warn-solaris-users-of-dangers-of-logging-20021122
with feedback from others.
2002-11-22 20:07:27 +00:00
Jim Rees
d871033be7 openbsd-20021120
OpenBSD:
Hold volume info file vnode until shutdown
Pass proc struct * to HandleFlock
Get va_atime.tv_nsec right in getattr
2002-11-20 23:00:33 +00:00
Kris Van Hees
2700589610 linux-flock-downmap-64-ops-20021120
downmap F_*LK64 to F_*LK if they're different. we have no large files for now.
2002-11-20 15:26:18 +00:00
Garry Zacheiss
f8d7814087 Make this work with Linux 2.2 kernels again. In particular,
- Use the DCOUNT() macro from afs.h instead of atomic_read, because
  the d_count member of a struct dentry is an int in the 2.2 series,
  not an atomic_t.

- Use list_del() + INIT_LIST_HEAD() on 2.2, which doesn't have list_del_init().

- BUG() only exists on 2.4 kernels.  Just don't use it on 2.2.
2002-11-20 03:13:23 +00:00
Nickolai Zeldovich
6af0e344af Fix a memory leak in the dynroot directory creation process and
factor out common code to compute directory size.
2002-11-20 01:58:52 +00:00
Jim Rees
38136f03cf openbsd-20021119
Implement AFS_GLOCK()
Other minor cleanups
2002-11-19 18:28:01 +00:00
Derrick Brashear
843f9f4aef acinclude-check-sizeof-long-20021115
we do this the autoconf 2.13 way. it's deliberate.
2002-11-16 03:12:30 +00:00
Jim Rees
be4f627b1c openbsd-20021115
Fix yesterday's damage:
  Put afs_vnop_fid.o back in the nonfs module
  Put back VN_HOLD for Darwin in VNOPS/afs_vnop_remove.c (from kolya)
More prototypes
Re-organize OBSD/osi_machdep.h
2002-11-15 17:19:40 +00:00
Chaskiel M Grundman
fb3ca24729 REVERT-volserver-dont-deal-poorly-with-fssync-blockage-20021016
not ready yet, needs work
2002-12-03 02:00:24 +00:00
Love Hörnquist-Åstrand
21e056922d rxkad5-dont-allow-dot-in-aname-20021114
otherwise we need to deal with the fact that we're using . as a separator
2002-11-15 05:02:33 +00:00
Derrick Brashear
8bdfec7eb5 linux-params-define-local-apic-to-one-20021114
based on suggestion from seth vidal <skvidal@phy.duke.edu>
2002-11-15 03:59:59 +00:00
Jim Rees
4caeeb4388 openbsd-20021114
OpenBSD:
Fix more vnode refcount screwups
Implement AFS_KALLOC, AFS_KFREE and eliminate #ifdefs in afs/afs_osi.c
More prototypes
Move a bunch of stuff from param.h to osi_machdep.h
Don't bind afs_vnop_fid.o in with nonfs module
2002-11-14 23:53:36 +00:00
Jim Rees
1e3dd7ad0e use-VTOAFS-in-HandlePioctl-20021113
Use VTOAFS in afs_HandlePioctl() instead of passing in the wrong type.
Needed for OpenBSD, which doesn't just cast vnode to vcache, and possibly
others in the future.
2002-11-13 16:44:04 +00:00
Jim Rees
3a7b3ac5ef DRead-check-file-size-20021113
Restore the file size check in DRead(), but do it right this time.
2002-11-13 16:25:55 +00:00
Jim Rees
822d725f80 openbsd-20021112
Remove size test in afs_buffer.c:DRead().
Cleanups and prototypes.
OpenBSD client works now, at least readonly.
2002-11-12 23:57:37 +00:00
Garry Zacheiss
da4ee765f9 Recognize MacOS X 10.2.2 as ppc_darwin_60. It's compatible. 2002-11-12 22:52:12 +00:00
Chaskiel M Grundman
735afe1a61 Handle Linux kernels that don't export sys_call_table. 2002-11-12 21:17:21 +00:00
Nickolai Zeldovich
82523baf9f Clean up code in rxi_FindConnection. 2002-11-12 20:09:25 +00:00
Derrick Brashear
d3c31d0061 nfs-translator-nfsv2-fixup-20021112
rewrite so we treat the ptr args as such
2002-11-12 17:02:06 +00:00
Jim Rees
37b4195d60 dtest-20021111
Fix dtest.
Does anyone ever use this?
2002-11-11 21:23:15 +00:00
Derrick Brashear
b67317fa07 nfs-translator-fix-lookup-20021110
add fstrace statement, remove bogus &
2002-11-11 00:53:46 +00:00
Jim Rees
d2ec7c34b9 openbsd-20021108
More OpenBSD merge.
Fix refcount screwups in afs_GetVCache and friends.
"ls -ld /afs" works now.
2002-11-08 21:59:23 +00:00
Nickolai Zeldovich
556273f88c Miscellaneous cleanup. 2002-11-07 23:10:43 +00:00
Jim Rees
1b3f04c26e openbsd-20021107
fix afs_unmount
make osi_NetReceive sleep at shutdown so it won't loop forever
2002-11-07 22:55:27 +00:00
Douglas Engert
63c5438e48 hpux-20021106
Minor fixes for HPUX110.
2002-11-06 20:32:33 +00:00
Jim Rees
6bb19413a9 openbsd-20021105
don't panic in osi_NetReceive if soreceive fails
don't release root vnode in afs_root
  (temporary until I track down the refcount screwup)
2002-11-05 22:37:53 +00:00
Jim Rees
54495a713b openbsd-20021104
implement afs_root()
2002-11-04 23:35:37 +00:00
Andrei Keis
5c7482f2fc winnt-make-mountingother-than-as-afs-work-20021104
make mounting other than as /afs work correctly with respect to absolute symlinks
2002-11-04 20:42:02 +00:00
Derrick Brashear
3a7d53e8bd vputvnode-print-error-number-on-write-failure-20021104
make log message include error when taking volume offline
2002-11-04 20:15:38 +00:00
Nickolai Zeldovich
038d4a0e8e Under Solaris, only clean up the open count in VOP_INACTIVE when
the vcache is mvstat 0 (necessary because executables don't get
VOP_CLOSE'd).  Volume roots (mvstat 2) need to keep their open
counts, because under fakestat, the mountpoint above it is still
considered open by the kernel.
2002-11-04 08:31:47 +00:00
Derrick Brashear
048e35c829 shlibafsauthent-extra-functions-20021102
export more on solaris
2002-11-02 17:25:20 +00:00
Derrick Brashear
9dbddd1d4c linux-what-socketcall-20021031
we're not using it, so let's not use
2002-10-31 20:12:59 +00:00
Derrick Brashear
da3dad6730 bg-fcrypt-cleanup-20021030
make the libafsrpc libraries work with new fcrypt

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

readd missing statistics
make cm and ukernel compile with new stuff

====================

readd missing statistics
make cm and ukernel compile with new stuff

====================

make it work with ukernel macros
2002-10-31 00:19:55 +00:00
Jim Rees
58c34e103c openbsd-20021030
More small OpenBSD fixes.
Now the module loads, afsd starts, and /afs gets mounted.
2002-10-30 22:56:58 +00:00
Derrick Brashear
19f082ad8c rx-junk-writevinit-20021030
we don't use it, so it's gone
2002-10-30 22:27:18 +00:00
Nickolai Zeldovich
f349e5b3fa Allocate memory for the interface addr arrays dynamically
to avoid potential overruns.
2002-10-30 09:10:16 +00:00
Derrick Brashear
dfaf556aea viced-cleanup-20021030
it all compiles nicely

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

a little more cleanup

====================

a little more cleanup

====================

a little more cleanup

====================

a little more cleanup
2002-10-30 08:40:38 +00:00
Derrick Brashear
fac0740132 afsfileprocs-more-cleanup-20021030
finish ansification
take some functions internal
reorganize to avoid need for some prototypes
remove said prototypes
strip out some unused code
2002-10-30 07:06:46 +00:00
Derrick Brashear
76b9b95174 lhash-includes-cleanup-20021027
make stddef be included when building ukernel so NULL is defined
cleanup redundancy
2002-10-30 07:03:05 +00:00
Derrick Brashear
e1f2501c4f viced-afsfileprocs-partial-protoizing-20021029
need to finish protoizing and create useful header
2002-10-30 00:12:15 +00:00
Derrick Brashear
511e067fd2 fileserver-host-interface-cleanup-20021029
get rid of HPCS macros from person who was confused

get rid of unused functions in host.c

convert to ansi func decls
2002-10-29 23:03:13 +00:00
Nickolai Zeldovich
fac48b50c7 Mention the cross-cell fakestat feature in NEWS; I had meant to check this
in with the original delta, but missed this file since it was above src/.
2002-10-29 21:32:23 +00:00
Nathan Neulinger
190bc027de fileserver-readonly-support-20021028
so a fileserver can deny writes
2002-10-29 00:06:41 +00:00
Love Hörnquist-Åstrand
ea57d1062c rxkad-new-fcrypt-20021028
rxkad fcrypt from bg@pdc.kth.se. we should also add autoconf test for what
to use for EFF_NTOHL
2002-10-29 00:05:06 +00:00
Love Hörnquist-Åstrand
7da7434842 lwp-take-insque-internal-20021028
make insque/remque internal
2002-10-29 00:00:28 +00:00
Simon Spero
d67e1550e4 darwin-restore-terminal-after-read-password-20021028
turn echo back on
2002-10-28 23:56:40 +00:00
Derrick Brashear
05a3224474 rxkad-krb5-windows-fix-20021028
based on report from leg@andrew.cmu.edu
2002-10-28 22:51:34 +00:00
Jim Rees
c9139f0c54 openbsd-20021028
Add OBSD subdirs to afs and rx
some other minor tweaks
2002-10-28 21:28:25 +00:00
Love Hörnquist-Åstrand
fdeaffdd91 acinclude-updates-20021027
so AC_DEFINE() specifies 3 arguments for everything defined
2002-10-28 02:43:56 +00:00
Derrick Brashear
1f8e892794 ukernel-fix-osi-settime-20021027
make this match the prototype
2002-10-28 02:16:08 +00:00