diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index f7c0960cf3b4..487d39d1b43c 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -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 #include diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 91e2fa11a714..ff28a23bdd51 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -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" diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index 91e2fa11a714..ff28a23bdd51 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -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" diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 3eec9798349e..5faea2f5d5e2 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -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 diff --git a/sys/conf/options b/sys/conf/options index eac6fff059e2..fff0df434700 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -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 diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT index 3eec9798349e..5faea2f5d5e2 100644 --- a/sys/i386/conf/LINT +++ b/sys/i386/conf/LINT @@ -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 diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 3eec9798349e..5faea2f5d5e2 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -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 diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index f7c0960cf3b4..487d39d1b43c 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -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 #include diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s index 91e2fa11a714..ff28a23bdd51 100644 --- a/sys/i386/i386/locore.s +++ b/sys/i386/i386/locore.s @@ -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" diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h index 784df74c6913..f4c6dc126a69 100644 --- a/sys/nfs/nfs.h +++ b/sys/nfs/nfs.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 */ diff --git a/sys/nfsclient/nfs.h b/sys/nfsclient/nfs.h index 784df74c6913..f4c6dc126a69 100644 --- a/sys/nfsclient/nfs.h +++ b/sys/nfsclient/nfs.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 */ diff --git a/sys/nfsclient/nfsargs.h b/sys/nfsclient/nfsargs.h index 784df74c6913..f4c6dc126a69 100644 --- a/sys/nfsclient/nfsargs.h +++ b/sys/nfsclient/nfsargs.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 */ diff --git a/sys/nfsclient/nfsstats.h b/sys/nfsclient/nfsstats.h index 784df74c6913..f4c6dc126a69 100644 --- a/sys/nfsclient/nfsstats.h +++ b/sys/nfsclient/nfsstats.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 */ diff --git a/sys/nfsserver/nfs.h b/sys/nfsserver/nfs.h index 784df74c6913..f4c6dc126a69 100644 --- a/sys/nfsserver/nfs.h +++ b/sys/nfsserver/nfs.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 */ diff --git a/sys/nfsserver/nfsrvstats.h b/sys/nfsserver/nfsrvstats.h index 784df74c6913..f4c6dc126a69 100644 --- a/sys/nfsserver/nfsrvstats.h +++ b/sys/nfsserver/nfsrvstats.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 */