libstand: increase nfs max read size to 16k

With ip fragment reassembly implemented, it makes sense to allow
larger nfs reads. Note due to loader heap size limit, we do not want
to set too large maximum read size. Also we do not change default read size.

Reviewed by:	bcr, allanjude
Differential Revision:	https://reviews.freebsd.org/D10754
This commit is contained in:
Toomas Soome 2017-05-16 17:35:05 +00:00
parent 28ef05f7c3
commit 136b6a0f5f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318356
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$");
#define NFS_DEBUGxx
#define NFSREAD_MIN_SIZE 1024
#define NFSREAD_MAX_SIZE 4096
#define NFSREAD_MAX_SIZE 16384
/* NFSv3 definitions */
#define NFS_V3MAXFHSIZE 64

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd May 1, 2000
.Dd May 16, 2017
.Dt PXEBOOT 8
.Os
.Sh NAME
@ -91,7 +91,7 @@ This may be changed by setting the
.Va nfs.read_size
variable in
.Pa /boot/loader.conf .
Valid values range from 1024 to 4096 bytes.
Valid values range from 1024 to 16384 bytes.
.Pp
In all other respects,
.Nm