dyson
adec643e58
Cleanup and remove some dead code from the initialization.
1998-06-02 05:50:08 +00:00
dyson
5dbf701901
Correct sleep priority.
1998-06-02 05:39:13 +00:00
julian
1464500611
Add a reference to the original softupdates paper
1998-06-02 01:30:51 +00:00
julian
3fd4b55938
Add a reference to the Ganger/Patt paper
1998-06-02 01:27:27 +00:00
eivind
f7112550c8
o Return error when the controller can't accept commands.
...
o Make driver less chatty on boot (only announce version under
bootverbose)
Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
1998-06-02 00:32:38 +00:00
dufault
cfe0052eea
Set PAGE_SIZE for _SC_PAGESIZE sysconf().
1998-06-01 21:54:43 +00:00
julian
5c6ec72d16
Allow devfs to support the 'uk' device
...
Submitted by: Micha Class <michael_class@hp.com>
1998-06-01 19:44:54 +00:00
kato
57f5991db1
Sync with sys/i386/isa/sio.c revision 1.203.
1998-06-01 12:40:24 +00:00
peter
dec84bd443
Make sure we go a nfs_fsinfo() in get/putpages before calling
...
readrpc/writerpc, since they assume it's already been done. This could
break if the first read/write access to a nfs filesystem was an exec() or
mmap() instead of a read(), write() syscall. (or statfs()).
nfs_getpages() could return an errno (EOPNOTSUPP) instead of a VM_PAGER_*
return code. Some layout tweaks for the get/putpages code.
1998-06-01 11:32:53 +00:00
peter
21629df4dd
Fix post-test pre-commit cleanup typo.
1998-06-01 11:07:16 +00:00
peter
4178bd0c41
readlink() returns EINVAL rather than EPERM if called on a non-symlink.
1998-06-01 10:59:23 +00:00
peter
aca365c43e
Preset the maximum file size before we get to nfs_fsinfo(), based on
...
an (over?) conservative assumption about what the client can store in it's
buffer cache using a signed 32-bit 512-byte block number index. Otherwise
it's possible for some file access when maxfilesize = 0 (eg: /usr is nfs
mounted and doing an execve())
Pointed out by: bde
XXX It might make sense to do a preemptive nfs_fsinfo() call at mount time.
1998-06-01 10:01:31 +00:00
peter
66d2475e6f
Hide more kernel stuff from userland. This stops nethostaddr etc being
...
wanted by mount_nfs.c.
1998-06-01 07:23:26 +00:00
gibbs
ec33d6bd5e
Add sctargattach that initializes the bufq data structure.
1998-06-01 03:44:56 +00:00
steve
5423c29403
Make this ${.OBJDIR} and ${.CURDIR} aware.
...
PR: 2565
1998-05-31 22:40:49 +00:00
peter
19ad2aa63b
For the on-the-wire protocol, u_long -> u_int32_t; long -> int32_t;
...
int -> int32_t; u_short -> u_int16_t. Also, use mode_t instead of u_short
for storing modes (mode_t is a u_int16_t).
Obtained from: NetBSD
1998-05-31 20:09:01 +00:00
peter
401c250cc4
Support 'mount -u' remounts. This may require disconnecting and rebinding
...
the socket. Certain mode changes are not allowed.
Obtained from: NetBSD
1998-05-31 19:49:31 +00:00
peter
5080277e0e
Cut-n-paste glitch
1998-05-31 19:43:34 +00:00
peter
d9c0dc4a94
xdr encode -1 properly.
...
Obtained from: NetBSD
1998-05-31 19:29:28 +00:00
peter
2a5188e78c
Fully fill in nfsv2 write rpc requests rather than leaving garbage.
...
Obtained from: NetBSD
1998-05-31 19:28:15 +00:00
peter
da4830ce17
Don't silently fail to set file flags.
...
Obtained from: NetBSD
1998-05-31 19:24:19 +00:00
peter
a378822d22
Don't blindly accept the server's preferences if they are too small.
...
Obtained from: NetBSD
1998-05-31 19:20:44 +00:00
peter
21746bb862
Prototype support for selectively allowing non-reserved ports on a per
...
export basis. Needs userland support yet.
Obtained from: NetBSD
1998-05-31 19:16:08 +00:00
peter
7966818099
Hide whiteouts from NFS, since the protocol doesn't support them.
...
Obtained from: NetBSD
1998-05-31 19:10:52 +00:00
peter
49e79dfe9e
NetBSD has a comment that Solaris 2.5 doesn't do verifiers correctly,
...
we have weakened this test already for Digital Unix, so it may be enough
for Solaris. It needs to be checked again.
Obtained from: NetBSD
1998-05-31 19:07:47 +00:00
peter
a21fad22e0
Don't pass a second copy of the uid/gid in with the v2/v3 sattr structures,
...
it just makes more work. We pass a copy of the uid/gid with the
credentials. (although, this may need to be revisited if a non AUTHUNIX
authentication method (such as NFSKERB) ever gets implemented).
Obtained from: NetBSD
1998-05-31 19:00:19 +00:00
peter
985cae8566
Use the new SB_UPCALL flag,
...
Obtained from: NetBSD (but I changed the flag clear order in case).
1998-05-31 18:46:06 +00:00
peter
10677f7b5c
Let the sowwakeup macro decide when to call sowakeup rather than have
...
tcp "know" about it. A pending upcall would be missed, eg: used by NFS.
Obtained from: NetBSD
1998-05-31 18:42:49 +00:00
peter
a4063ba4e2
Have the wakeup routine do the upcall if needed.
...
Obtained from: NetBSD
1998-05-31 18:38:43 +00:00
peter
55de15ff43
Have the sorwakeup and sowwakeup check the upcall flags.
...
Obtained from: NetBSD
1998-05-31 18:37:22 +00:00
peter
c4805fc7a0
NFS_SMALLFH is defined in nfsproto.h, not sys/mount.h
...
Obtained from: NetBSD
1998-05-31 18:32:23 +00:00
peter
1f34203061
Don't let the user try "rmdir ."
...
Obtained from: NetBSD
1998-05-31 18:30:42 +00:00
peter
f61450c5b0
Don't let the user try and unlink() a directory on a NFS server.
...
Obtained from: NetBSD
1998-05-31 18:28:45 +00:00
peter
c45767477f
When a write rpc returns an error, break the loop.
...
Obtained from: NetBSD
1998-05-31 18:27:07 +00:00
peter
7d869157f3
Don't leak an mbuf when a write rpc returns zero bytes written.
...
Obtained from: NetBSD
1998-05-31 18:25:32 +00:00
peter
feb54238cc
#ifdef a diagnostic printf
...
Obtained from: NetBSD
1998-05-31 18:23:24 +00:00
peter
c50a18d361
Don't try and free mrep twice on some error conditions.
...
Obtained from: NetBSD
1998-05-31 18:19:43 +00:00
peter
66a3e6b96c
#ifdef a diagnostic panic, plus another missed costmetic change.
...
Obtained from: NetBSD
1998-05-31 18:11:03 +00:00
peter
32e00d316d
We have gained 2 more errno's, add them to the NFSv2 mapping table.
1998-05-31 18:09:18 +00:00
peter
87e3e1a54b
Missed a cosmetic change that the other BSD's have.
1998-05-31 18:08:09 +00:00
peter
e410a1b026
oops, nfs_msg() is called from client code too.
1998-05-31 18:06:07 +00:00
peter
35835ef239
When we can't reconnect a socket, don't forget to unlock before retrying
...
or we can deadlock.
Obtained from: NetBSD
1998-05-31 18:02:56 +00:00
peter
7f449d8699
Don't log zero length reads, this can happen during normal operation.
...
Obtained from: NetBSD
1998-05-31 18:00:46 +00:00
peter
7246bc5193
Consider for readdir chunk sizes when tuning socket buffer reservations.
...
Obtained from: NetBSD
1998-05-31 17:57:43 +00:00
peter
2b239be950
Refuse READDIR / READDIRPLUS rpc's for non-directories
...
Obtained from: NetBSD
1998-05-31 17:54:18 +00:00
peter
cbeeaf83f2
Some const's
...
Obtained from: NetBSD
1998-05-31 17:48:07 +00:00
peter
e58631da3c
NFS Jumbo commit part 1. Cosmetic and structural changes only. The aim
...
of this part of commits is to minimize unnecessary differences between
the other NFS's of similar origin. Yes, there are gratuitous changes here
that the style folks won't like, but it makes the catch-up less difficult.
1998-05-31 17:27:58 +00:00
wpaul
9ce1b0b0ed
Add a short delay in the read loop in tl_eeprom_getbyte(). On some
...
systems, you have to allow the delay or else you end up misreading
some of the bits.
Patch provided by: Yoshihiko Someya <zb9y-smy@asahi-net.or.jp>
1998-05-31 16:59:39 +00:00
bde
ec6c6de5c6
Converted the ICU-level interrupt tests (3, 5 and 8) in sioprobe() into
...
a test of the irq number, and made failure of this test non-fatal.
Removed related unused complications for the APIC_IO case. Removed the
no-test3 flag.
Deverbosified the failure messages for the other tests. Removed the
per-port verbose flag - just use the general verbose flag.
1998-05-31 10:53:55 +00:00
steve
ef6b569c26
Several sources including Unix98 say that semctl's fourth
...
parameter is optional except where:
cmd == {IPC_SET || IPC_STAT || GETALL || SETVAL || SETALL}
PR: 2448
Reviewed by: bde
Submitted by: Tim Singletary <tsingle@sunland.gsfc.nasa.gov>
Minor tweaks by: steve
1998-05-31 04:09:09 +00:00