aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2017-05-16 17:35:05 +0000
committerToomas Soome <tsoome@FreeBSD.org>2017-05-16 17:35:05 +0000
commit136b6a0f5ffd1073da5c78d983e50aab04c13860 (patch)
treeb6f1fe09b589779253c6c6e65eb019d3d20b6397 /lib/libstand
parent28ef05f7c3ed7699e887497e668915c9be1bbd3d (diff)
downloadsrc-136b6a0f5ffd1073da5c78d983e50aab04c13860.tar.gz
src-136b6a0f5ffd1073da5c78d983e50aab04c13860.zip
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
Notes
Notes: svn path=/head/; revision=318356
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/nfs.c b/lib/libstand/nfs.c
index 6c387b8d8ef7..322acb8d5275 100644
--- a/lib/libstand/nfs.c
+++ b/lib/libstand/nfs.c
@@ -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