From c7fd07798700aa57e0c99d037c697ec2a7179134 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 3 Apr 2017 21:35:40 +0300 Subject: [PATCH] 8751 loader: increase nfs max read size to 16k --- share/man/man5/pxeboot.5 | 2 +- usr/src/boot/lib/libstand/nfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man5/pxeboot.5 b/share/man/man5/pxeboot.5 index 9d309de78a..2f1b93b649 100644 --- a/share/man/man5/pxeboot.5 +++ b/share/man/man5/pxeboot.5 @@ -86,7 +86,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 .Nm chooses NFS or TFTP based on the value of diff --git a/usr/src/boot/lib/libstand/nfs.c b/usr/src/boot/lib/libstand/nfs.c index 29d08c7cf4..27f7f182f4 100644 --- a/usr/src/boot/lib/libstand/nfs.c +++ b/usr/src/boot/lib/libstand/nfs.c @@ -51,7 +51,7 @@ #define NFS_DEBUGxx #define NFSREAD_MIN_SIZE 1024 -#define NFSREAD_MAX_SIZE 4096 +#define NFSREAD_MAX_SIZE 16384 /* NFSv3 definitions */ #define NFS_V3MAXFHSIZE 64 -- 2.11.4.GIT