]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r281628
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 May 2015 12:10:59 +0000 (12:10 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 May 2015 12:10:59 +0000 (12:10 +0000)
commitdd6972321f66645cac05e1ad8ffc4c162a24a8d6
tree4e79af7f8517b66ba952e442f215c3663704e917
parentb04b77cc67c20abdc8954b977503eb668ee6f93b
MFC: r281628
mav@ has found that NFS servers exporting ZFS file systems
can perform better when using a 128K read/write data size.
This patch changes NFS_MAXDATA from 64K to 128K so that
clients can use 128K for NFS mounts to allow this.
The patch also renames NFS_MAXDATA to NFS_SRVMAXIO so
that it is clear that it applies to the NFS server side
only. It also avoids a name conflict with the NFS_MAXDATA
defined in rpcsvc/nfs_prot.h, that is used for userland RPC.

git-svn-id: svn://svn.freebsd.org/base/stable/9@282677 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs.h
sys/fs/nfs/nfs_commonport.c
sys/fs/nfs/nfsproto.h
sys/fs/nfsserver/nfs_nfsdserv.c