From d05f23195d67c36442f69e2c0c3ca5c7396e9cf4 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 3 Apr 2017 21:35:40 +0300 Subject: 8751 loader: increase nfs max read size to 16k Reviewed by: Jason King Approved by: Robert Mustacchi --- usr/src/boot/lib/libstand/nfs.c | 2 +- usr/src/man/man5/pxeboot.5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 diff --git a/usr/src/man/man5/pxeboot.5 b/usr/src/man/man5/pxeboot.5 index 9d309de78a..2f1b93b649 100644 --- a/usr/src/man/man5/pxeboot.5 +++ b/usr/src/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 -- cgit v1.2.3