]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r281628
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 30 Apr 2015 12:44:20 +0000 (12:44 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 30 Apr 2015 12:44:20 +0000 (12:44 +0000)
commite67516c618b10de9b47e35f555707999d3fe2eda
treef41eba473f204c65db3fdb1264d7d97013acb15f
parent0b16435657c940b034056123dbc0f820df337809
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/10@282271 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