opnsense-src/sys/fs/nfs
Rick Macklem 9fb6e61337 nfsd: Add sysctl to set maximum I/O size up to 1Mbyte
Since MAXPHYS now allows the FreeBSD NFS client
to do 1Mbyte I/O operations, add a sysctl called vfs.nfsd.srvmaxio
so that the maximum NFS server I/O size can be set up to 1Mbyte.
The Linux NFS client can also do 1Mbyte I/O operations.

The default of 128Kbytes for the maximum I/O size has
not been changed for two reasons:
- kern.ipc.maxsockbuf must be increased to support 1Mbyte I/O
- The limited benchmarking I can do actually shows a drop in I/O rate
  when the I/O size is above 256Kbytes.
However, daveb@spectralogic.com reports seeing an increase
in I/O rate for the 1Mbyte I/O size vs 128Kbytes using a Linux client.

(cherry picked from commit ee29e6f311)
2021-08-03 16:50:33 -07:00
..
nfs.h nfsd: Add sysctl to set maximum I/O size up to 1Mbyte 2021-08-03 16:50:33 -07:00
nfs_commonacl.c nfs: Remove APPLESTATIC macro 2020-05-12 13:23:25 +00:00
nfs_commonkrpc.c nfscl: Add a Linux compatible "nconnect" mount option 2021-08-03 16:40:47 -07:00
nfs_commonport.c nfsd: Add sysctl to set maximum I/O size up to 1Mbyte 2021-08-03 16:50:33 -07:00
nfs_commonsubs.c nfsd: Add sysctl to set maximum I/O size up to 1Mbyte 2021-08-03 16:50:33 -07:00
nfs_var.h nfscl: Add a Linux compatible "nconnect" mount option 2021-08-03 16:40:47 -07:00
nfscl.h nfsv4 client: do the BindConnectionToSession as required 2021-04-29 17:43:50 -07:00
nfsclstate.h nfscl: Add hash lists for the NFSv4 opens 2021-06-04 18:16:10 -07:00
nfsdport.h Do not copy vp into f_data for DTYPE_VNODE files. 2020-09-15 21:55:21 +00:00
nfskpiport.h Remove vfs_statfs and vnode_mount macros from NFS 2020-06-17 16:20:19 +00:00
nfsm_subs.h fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
nfsport.h nfsclient: Copy only initialized fields in nfs_getattr() 2021-05-10 20:27:51 -04:00
nfsproto.h nfsd: Add sysctl to set maximum I/O size up to 1Mbyte 2021-08-03 16:50:33 -07:00
nfsrvcache.h Replace all instances of the typedef mbuf_t with "struct mbuf *". 2020-04-17 21:17:51 +00:00
nfsrvstate.h nfsd: make the server repeat CB_RECALL every couple of seconds 2021-04-18 17:36:26 -07:00
nfsv4_errstr.h Add missing comma in nfsv4_errstr 2020-01-13 21:49:27 +00:00
rpcv2.h fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
xdr_subs.h