1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Matthew Dillon bb01f28e97 Add vfs.enable_userblk_io sysctl to control whether user reads and writes
to buffered block devices are allowed.  The default is to be backwards
    compatible, i.e. reads and writes are allowed.

    The idea is for a larger crowd to start running with this disabled and
    see what problems, if any, crop up, and then to change the default to
    off and see if any problems crop up in the next 6 months prior to
    potentially removing support entirely.  There are still a few people,
    Julian and myself included, who believe the buffered block device
    access from usermode to be useful.

    Remove use of vnode->v_lastr from buffered block device I/O in
    preparation for removal of vnode->v_lastr field, replacing it with
    the already existing seqcount metric to detect sequential operation.

Reviewed by:	Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>
1999-09-17 06:10:27 +00:00
..
alpha Pull in the core bus drivers based on the machine type rather than 1999-09-13 17:52:06 +00:00
amd64 Correction: mem.c devices are "D_MEM" (and D_MEM is added.) 1999-09-12 18:48:07 +00:00
boot netboot removed until somebody fixes it so it compiles 1999-09-09 01:28:26 +00:00
cam Remove unneeded disk-related includes. 1999-09-12 08:23:21 +00:00
coda Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
compat <machine/soundcard.h> -> <sys/soundcard.h>, since it's an exported API 1999-09-04 14:15:26 +00:00
compile
conf Fix some more disordering, as well as the description string for the 1999-09-14 16:14:05 +00:00
contrib Bite the bullet and allocate the devsw entry at compile time. 1999-09-12 20:40:29 +00:00
ddb $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dev Fix a bug in the block number calculation for VN disks with a sector 1999-09-17 05:34:00 +00:00
fs Add vfs.enable_userblk_io sysctl to control whether user reads and writes 1999-09-17 06:10:27 +00:00
geom Changes to centralise the default blocksize behaviour. 1999-09-09 19:08:44 +00:00
gnu Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
i4b Finish making LINT compile. Disable references to pnp in files that 1999-09-03 20:38:47 +00:00
i386 wlinit() must be called to recalculate the multicast filter. 1999-09-15 12:49:03 +00:00
isa Removed diskerr()'s unused d_name arg and updated callers. This fixes 1999-09-13 12:59:41 +00:00
isofs/cd9660 Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
kern Add vfs.enable_userblk_io sysctl to control whether user reads and writes 1999-09-17 06:10:27 +00:00
libkern $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
miscfs Add vfs.enable_userblk_io sysctl to control whether user reads and writes 1999-09-17 06:10:27 +00:00
modules Clean up and reorder. 1999-09-08 19:17:15 +00:00
msdosfs Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
net Don't call if_up() here, just set IFF_UP. 1999-09-14 01:17:30 +00:00
netatalk
netatm Fixed printf format errors (don't assume that ntohl() returns u_long; 1999-08-29 10:28:10 +00:00
netinet Re-arrange the arp code so that fddi arps work properly. 1999-09-16 00:35:39 +00:00
netipx Get rid of the old XNS checksum code and implement it the IPX way. 1999-08-28 18:21:55 +00:00
netkey Fix a printf(3) formatter to match its variable. 1999-08-17 22:11:02 +00:00
netnatm
netns $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs Asynchronized client-side nfs_commit. NFS commit operations were 1999-09-17 05:57:57 +00:00
nfsclient Asynchronized client-side nfs_commit. NFS commit operations were 1999-09-17 05:57:57 +00:00
nfsserver Asynchronized client-side nfs_commit. NFS commit operations were 1999-09-17 05:57:57 +00:00
ntfs Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
pc98 Gdc and pckbd driver don't support pnp mode. 1999-09-14 12:57:40 +00:00
pccard $Id$ -> $FreeBSD$ 1999-09-06 11:23:05 +00:00
pci Fix sf_probe() to detect the card type properly. I botched the reading 1999-09-17 00:47:41 +00:00
posix4 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
powerpc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 Add MAINTAINER line 1999-09-01 00:32:18 +00:00
sys Add vfs.enable_userblk_io sysctl to control whether user reads and writes 1999-09-17 06:10:27 +00:00
tools $Id$ -> $FreeBSD$ (some mangled and/or hidden ones) 1999-08-28 02:21:15 +00:00
ufs Removed diskerr()'s unused d_name arg and updated callers. This fixes 1999-09-13 12:59:41 +00:00
vm Remove inappropriate VOP_FSYNC from vm_object_page_clean(). The fsync 1999-09-17 05:48:36 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00