diff options
author | phk <phk@FreeBSD.org> | 1999-10-04 11:23:10 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-10-04 11:23:10 +0000 |
commit | 8b06d6a2fb370e84bcaea363717c70eaa36c7408 (patch) | |
tree | e4bc785f7af7f745b073ce17e028b224e9c0f43a /sys/kern/vfs_export.c | |
parent | 32722204f79ff5877e53e1620b0f2a915dba2c2f (diff) | |
download | FreeBSD-src-8b06d6a2fb370e84bcaea363717c70eaa36c7408.zip FreeBSD-src-8b06d6a2fb370e84bcaea363717c70eaa36c7408.tar.gz |
Move the buffered read/write code out of spec_{read|write} and into
two new functions spec_buf{read|write}.
Add sysctl vfs.bdev_buffered which defaults to 1 == true. This
sysctl can be used to experimentally turn buffered behaviour for
bdevs off. I should not be changed while any blockdevices are
open. Remove the misplaced sysctl vfs.enable_userblk_io.
No other changes in behaviour.
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 4e5f695..5e2e483 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -113,9 +113,6 @@ SYSCTL_INT(_vfs, OID_AUTO, reassignbufsortbad, CTLFLAG_RW, &reassignbufsortbad, static int reassignbufmethod = 1; SYSCTL_INT(_vfs, OID_AUTO, reassignbufmethod, CTLFLAG_RW, &reassignbufmethod, 0, ""); -int enable_userblk_io = 1; -SYSCTL_INT(_vfs, OID_AUTO, enable_userblk_io, CTLFLAG_RW, &enable_userblk_io, 0, ""); - #ifdef ENABLE_VFS_IOOPT int vfs_ioopt = 0; SYSCTL_INT(_vfs, OID_AUTO, ioopt, CTLFLAG_RW, &vfs_ioopt, 0, ""); |