I noticed this in the 14.0-RELEASE release notes:
However:
From my read of the patch, this should work. Anyone else seeing this?
...the maximum I/O size for the FreeBSD NFS server can be increased to any power of 2 up to 1 Mbyte using the sysctl vfs.nfsd.srvmaxio while nfsd(8) is not running. ee29e6f31111
However:
Code:
# freebsd-version -kru
14.0-RELEASE-p3
14.0-RELEASE-p3
14.0-RELEASE-p4
# nfsd is stopped
# sysctl vfs.nfsd.srvmaxio
vfs.nfsd.srvmaxio: 131072
# sysctl vfs.nfsd.srvmaxio=1048576
vfs.nfsd.srvmaxio: 131072
sysctl: vfs.nfsd.srvmaxio=1048576: Invalid argument
# Looks like the max I can do is 262144:
# sysctl vfs.nfsd.srvmaxio=262144
vfs.nfsd.srvmaxio: 131072 -> 262144
# sysctl vfs.nfsd.srvmaxio=524288
vfs.nfsd.srvmaxio: 262144
sysctl: vfs.nfsd.srvmaxio=524288: Invalid argument
# Also can't go back down:
# sysctl vfs.nfsd.srvmaxio=131072
vfs.nfsd.srvmaxio: 262144
sysctl: vfs.nfsd.srvmaxio=131072: Invalid argument
From my read of the patch, this should work. Anyone else seeing this?