diff options
author | Toomas Soome <tsoome@me.com> | 2017-04-03 21:35:40 +0300 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-11-04 16:13:54 +0000 |
commit | d05f23195d67c36442f69e2c0c3ca5c7396e9cf4 (patch) | |
tree | 87f3f4bb3dd966e78b6e5e634e508a0609fe3402 | |
parent | 73aec61f121b76770fd2fc92e75823ebfe36cbd6 (diff) | |
download | illumos-joyent-d05f23195d67c36442f69e2c0c3ca5c7396e9cf4.tar.gz |
8751 loader: increase nfs max read size to 16k
Reviewed by: Jason King <jason.king@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r-- | usr/src/boot/lib/libstand/nfs.c | 2 | ||||
-rw-r--r-- | 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 |