convert some nfs tunables to options, these are:
NFS_MINATTRTIMO VREG attrib cache timeout in sec NFS_MAXATTRTIMO NFS_MINDIRATTRTIMO VDIR attrib cache timeout in sec NFS_MAXDIRATTRTIMO NFS_GATHERDELAY Default write gather delay (msec) NFS_UIDHASHSIZ Tune the size of nfssvc_sock with this NFS_WDELAYHASHSIZ and with this NFS_MUIDHASHSIZ Tune the size of nfsmount with this NFS_NOSERVER (already documented in LINT) NFS_DEBUG turn on NFS debugging also, because NFS_ROOT is used by very different files, it has been renamed to opt_nfsroot.h instead of the old opt_nfs.h....
This commit is contained in:
parent
f8791e4686
commit
caa72af181
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
|
||||
* $Id: autoconf.c,v 1.97 1998/05/12 17:33:58 bde Exp $
|
||||
* $Id: autoconf.c,v 1.98 1998/06/09 12:52:31 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -50,7 +50,7 @@
|
||||
#include "opt_ffs.h"
|
||||
#include "opt_cd9660.h"
|
||||
#include "opt_mfs.h"
|
||||
#include "opt_nfs.h"
|
||||
#include "opt_nfsroot.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
* $Id: locore.s,v 1.108 1998/06/03 01:59:42 msmith Exp $
|
||||
* $Id: locore.s,v 1.109 1998/06/21 18:02:34 bde Exp $
|
||||
*
|
||||
* originally from: locore.s, by William F. Jolitz
|
||||
*
|
||||
@ -46,7 +46,7 @@
|
||||
#include "apm.h"
|
||||
#include "opt_bootp.h"
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_nfs.h"
|
||||
#include "opt_nfsroot.h"
|
||||
#include "opt_userconfig.h"
|
||||
#include "opt_vm86.h"
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
* $Id: locore.s,v 1.108 1998/06/03 01:59:42 msmith Exp $
|
||||
* $Id: locore.s,v 1.109 1998/06/21 18:02:34 bde Exp $
|
||||
*
|
||||
* originally from: locore.s, by William F. Jolitz
|
||||
*
|
||||
@ -46,7 +46,7 @@
|
||||
#include "apm.h"
|
||||
#include "opt_bootp.h"
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_nfs.h"
|
||||
#include "opt_nfsroot.h"
|
||||
#include "opt_userconfig.h"
|
||||
#include "opt_vm86.h"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LINT -- config file for checking all the sources, tries to pull in
|
||||
# as much of the source tree as it can.
|
||||
#
|
||||
# $Id: LINT,v 1.438 1998/06/21 13:36:53 bde Exp $
|
||||
# $Id: LINT,v 1.439 1998/06/24 22:01:32 msmith Exp $
|
||||
#
|
||||
# NB: You probably don't want to try running a kernel built from this
|
||||
# file. Instead, you should start from GENERIC, and add options from
|
||||
@ -533,6 +533,18 @@ options SUIDDIR
|
||||
# in the NULL filesystem
|
||||
#options SAFETY
|
||||
|
||||
|
||||
# NFS options:
|
||||
options "NFS_MINATTRTIMO=3" # VREG attrib cache timeout in sec
|
||||
options "NFS_MAXATTRTIMO=60"
|
||||
options "NFS_MINDIRATTRTIMO=30" # VDIR attrib cache timeout in sec
|
||||
options "NFS_MAXDIRATTRTIMO=60"
|
||||
options "NFS_GATHERDELAY=10" # Default write gather delay (msec)
|
||||
options "NFS_UIDHASHSIZ=29" # Tune the size of nfssvc_sock with this
|
||||
options "NFS_WDELAYHASHSIZ=16" # and with this
|
||||
options "NFS_MUIDHASHSIZ=63" # Tune the size of nfsmount with this
|
||||
options NFS_DEBUG # Enable NFS Debugging
|
||||
|
||||
|
||||
#####################################################################
|
||||
# POSIX P1003.1B
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: options,v 1.77 1998/06/07 17:09:26 dfr Exp $
|
||||
# $Id: options,v 1.78 1998/06/28 01:03:13 dfr Exp $
|
||||
#
|
||||
# On the handling of kernel options
|
||||
#
|
||||
@ -103,7 +103,7 @@ SOFTUPDATES opt_ffs.h
|
||||
# they won't make any difference yet).
|
||||
CD9660_ROOT opt_cd9660.h
|
||||
FFS_ROOT opt_ffs.h
|
||||
NFS_ROOT opt_nfs.h
|
||||
NFS_ROOT opt_nfsroot.h
|
||||
|
||||
# Multi-session CD-Rs might require a huge amount of time in order to
|
||||
# "settle". If we are about mounting them as the root f/s, we gotta
|
||||
@ -236,5 +236,17 @@ KEY_DEBUG opt_key.h
|
||||
# Size of the kernel message buffer
|
||||
MSGBUF_SIZE opt_msgbuf.h
|
||||
|
||||
# NFS options
|
||||
NFS_MINATTRTIMO opt_nfs.h
|
||||
NFS_MAXATTRTIMO opt_nfs.h
|
||||
NFS_MINDIRATTRTIMO opt_nfs.h
|
||||
NFS_MAXDIRATTRTIMO opt_nfs.h
|
||||
NFS_GATHERDELAY opt_nfs.h
|
||||
NFS_UIDHASHSIZ opt_nfs.h
|
||||
NFS_WDELAYHASHSIZ opt_nfs.h
|
||||
NFS_MUIDHASHSIZ opt_nfs.h
|
||||
NFS_NOSERVER opt_nfs.h
|
||||
NFS_DEBUG opt_nfs.h
|
||||
|
||||
# Include tweaks for running under the SimOS machine simulator.
|
||||
SIMOS opt_simos.h
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LINT -- config file for checking all the sources, tries to pull in
|
||||
# as much of the source tree as it can.
|
||||
#
|
||||
# $Id: LINT,v 1.438 1998/06/21 13:36:53 bde Exp $
|
||||
# $Id: LINT,v 1.439 1998/06/24 22:01:32 msmith Exp $
|
||||
#
|
||||
# NB: You probably don't want to try running a kernel built from this
|
||||
# file. Instead, you should start from GENERIC, and add options from
|
||||
@ -533,6 +533,18 @@ options SUIDDIR
|
||||
# in the NULL filesystem
|
||||
#options SAFETY
|
||||
|
||||
|
||||
# NFS options:
|
||||
options "NFS_MINATTRTIMO=3" # VREG attrib cache timeout in sec
|
||||
options "NFS_MAXATTRTIMO=60"
|
||||
options "NFS_MINDIRATTRTIMO=30" # VDIR attrib cache timeout in sec
|
||||
options "NFS_MAXDIRATTRTIMO=60"
|
||||
options "NFS_GATHERDELAY=10" # Default write gather delay (msec)
|
||||
options "NFS_UIDHASHSIZ=29" # Tune the size of nfssvc_sock with this
|
||||
options "NFS_WDELAYHASHSIZ=16" # and with this
|
||||
options "NFS_MUIDHASHSIZ=63" # Tune the size of nfsmount with this
|
||||
options NFS_DEBUG # Enable NFS Debugging
|
||||
|
||||
|
||||
#####################################################################
|
||||
# POSIX P1003.1B
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LINT -- config file for checking all the sources, tries to pull in
|
||||
# as much of the source tree as it can.
|
||||
#
|
||||
# $Id: LINT,v 1.438 1998/06/21 13:36:53 bde Exp $
|
||||
# $Id: LINT,v 1.439 1998/06/24 22:01:32 msmith Exp $
|
||||
#
|
||||
# NB: You probably don't want to try running a kernel built from this
|
||||
# file. Instead, you should start from GENERIC, and add options from
|
||||
@ -533,6 +533,18 @@ options SUIDDIR
|
||||
# in the NULL filesystem
|
||||
#options SAFETY
|
||||
|
||||
|
||||
# NFS options:
|
||||
options "NFS_MINATTRTIMO=3" # VREG attrib cache timeout in sec
|
||||
options "NFS_MAXATTRTIMO=60"
|
||||
options "NFS_MINDIRATTRTIMO=30" # VDIR attrib cache timeout in sec
|
||||
options "NFS_MAXDIRATTRTIMO=60"
|
||||
options "NFS_GATHERDELAY=10" # Default write gather delay (msec)
|
||||
options "NFS_UIDHASHSIZ=29" # Tune the size of nfssvc_sock with this
|
||||
options "NFS_WDELAYHASHSIZ=16" # and with this
|
||||
options "NFS_MUIDHASHSIZ=63" # Tune the size of nfsmount with this
|
||||
options NFS_DEBUG # Enable NFS Debugging
|
||||
|
||||
|
||||
#####################################################################
|
||||
# POSIX P1003.1B
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
|
||||
* $Id: autoconf.c,v 1.97 1998/05/12 17:33:58 bde Exp $
|
||||
* $Id: autoconf.c,v 1.98 1998/06/09 12:52:31 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -50,7 +50,7 @@
|
||||
#include "opt_ffs.h"
|
||||
#include "opt_cd9660.h"
|
||||
#include "opt_mfs.h"
|
||||
#include "opt_nfs.h"
|
||||
#include "opt_nfsroot.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
* $Id: locore.s,v 1.108 1998/06/03 01:59:42 msmith Exp $
|
||||
* $Id: locore.s,v 1.109 1998/06/21 18:02:34 bde Exp $
|
||||
*
|
||||
* originally from: locore.s, by William F. Jolitz
|
||||
*
|
||||
@ -46,7 +46,7 @@
|
||||
#include "apm.h"
|
||||
#include "opt_bootp.h"
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_nfs.h"
|
||||
#include "opt_nfsroot.h"
|
||||
#include "opt_userconfig.h"
|
||||
#include "opt_vm86.h"
|
||||
|
||||
|
@ -34,12 +34,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
|
||||
* $Id: nfs.h,v 1.39 1998/05/31 19:49:28 peter Exp $
|
||||
* $Id: nfs.h,v 1.40 1998/05/31 20:08:51 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
#define _NFS_NFS_H_
|
||||
|
||||
#include "opt_nfs.h"
|
||||
|
||||
/*
|
||||
* Tunable constants for nfs
|
||||
*/
|
||||
|
@ -34,12 +34,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
|
||||
* $Id: nfs.h,v 1.39 1998/05/31 19:49:28 peter Exp $
|
||||
* $Id: nfs.h,v 1.40 1998/05/31 20:08:51 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
#define _NFS_NFS_H_
|
||||
|
||||
#include "opt_nfs.h"
|
||||
|
||||
/*
|
||||
* Tunable constants for nfs
|
||||
*/
|
||||
|
@ -34,12 +34,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
|
||||
* $Id: nfs.h,v 1.39 1998/05/31 19:49:28 peter Exp $
|
||||
* $Id: nfs.h,v 1.40 1998/05/31 20:08:51 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
#define _NFS_NFS_H_
|
||||
|
||||
#include "opt_nfs.h"
|
||||
|
||||
/*
|
||||
* Tunable constants for nfs
|
||||
*/
|
||||
|
@ -34,12 +34,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
|
||||
* $Id: nfs.h,v 1.39 1998/05/31 19:49:28 peter Exp $
|
||||
* $Id: nfs.h,v 1.40 1998/05/31 20:08:51 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
#define _NFS_NFS_H_
|
||||
|
||||
#include "opt_nfs.h"
|
||||
|
||||
/*
|
||||
* Tunable constants for nfs
|
||||
*/
|
||||
|
@ -34,12 +34,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
|
||||
* $Id: nfs.h,v 1.39 1998/05/31 19:49:28 peter Exp $
|
||||
* $Id: nfs.h,v 1.40 1998/05/31 20:08:51 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
#define _NFS_NFS_H_
|
||||
|
||||
#include "opt_nfs.h"
|
||||
|
||||
/*
|
||||
* Tunable constants for nfs
|
||||
*/
|
||||
|
@ -34,12 +34,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
|
||||
* $Id: nfs.h,v 1.39 1998/05/31 19:49:28 peter Exp $
|
||||
* $Id: nfs.h,v 1.40 1998/05/31 20:08:51 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
#define _NFS_NFS_H_
|
||||
|
||||
#include "opt_nfs.h"
|
||||
|
||||
/*
|
||||
* Tunable constants for nfs
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user