opnsense-src/sys
Rick Macklem cd2e5ae71b nfscl: Improve "Consider increasing kern.ipc.maxsockbuf" message
When the setting of kern.ipc.maxsockbuf is less than what is
desired for I/O based on vfs.maxbcachebuf and vfs.nfs.bufpackets,
a console message of "Consider increasing kern.ipc.maxsockbuf".
is printed.

This patch modifies the message to provide a suggested value
for kern.ipc.maxsockbuf.
Note that the setting is only needed when the NFS rsize/wsize
is set to vfs.maxbcachebuf.

While here, make nfs_bufpackets global, so that it can be used
by a future patch that adds a sysctl to set the NFS server's
maximum I/O size.  Also, remove "sizeof(u_int32_t)" from the maximum
packet length, since NFS_MAXXDR is already an "overestimate"
of the actual length.

(cherry picked from commit c5f4772c66)
2021-07-14 13:45:41 -07:00
..
amd64 vmm: Fix ivrs_drv device_printf usage 2021-07-14 01:58:56 +08:00
arm arm: Make sure we can handle a thumb entry point. 2021-07-07 22:22:41 +02:00
arm64 arm64: Make sure COMPAT_FREEBSD32 handles thumb entry point. 2021-07-07 22:22:18 +02:00
bsm
cam
cddl
compat linux(4): Prevent integer overflow in futex_requeue. 2021-06-29 15:58:32 -04:00
conf kern.mk: fix -Wno-error style to fix build with Clang 12 2021-06-22 21:20:39 +02:00
contrib zfs: merge openzfs/zfs@4f92fe0f5 (zfs-2.1-release) into stable/13 2021-07-10 17:59:52 +02:00
crypto
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev nvme(4): Report NPWA before NPWG as stripesize. 2021-07-12 21:54:44 -04:00
dts
fs nfscl: Improve "Consider increasing kern.ipc.maxsockbuf" message 2021-07-14 13:45:41 -07:00
gdb
geom gmultipath: make physpath distinct from the underlying providers' 2021-06-17 12:39:14 -06:00
gnu
i386 Add quirks for Linux ABI signals handling 2021-06-22 04:45:32 +03:00
isa
kern tcp: HPTS performance enhancements 2021-07-13 21:58:30 +02:00
kgssapi
libkern
mips Consolidate machine/endian.h definitions 2021-06-24 20:42:56 -03:00
modules zfs: merge openzfs/zfs@4f92fe0f5 (zfs-2.1-release) into stable/13 2021-07-10 17:59:52 +02:00
net pf: add pf_find_state_all_exists 2021-07-14 14:50:12 +00:00
net80211
netgraph Consistently use the SOLISTENING() macro 2021-06-21 09:14:40 -04:00
netinet libalias: fix divide by zero causing panic 2021-07-14 13:49:21 +02:00
netinet6 sctp: Fix errno in case of association setup failures 2021-07-13 20:30:57 +02:00
netipsec
netpfil pf: add pf_find_state_all_exists 2021-07-14 14:50:12 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ofed: quiet gcc -Wint-in-bool-context 2021-07-02 14:12:18 -07:00
opencrypto
powerpc Consolidate machine/endian.h definitions 2021-06-24 20:42:56 -03:00
riscv Consolidate machine/endian.h definitions 2021-06-24 20:42:56 -03:00
rpc krpc: Acquire ref count of CLIENT for backchannel use 2021-06-26 16:03:41 -07:00
security mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmit 2021-07-05 11:32:14 +00:00
sys stand/kmem_zalloc: panic when a M_WAITOK allocation fails 2021-07-12 13:42:58 -06:00
teken
tests tests: Revise FIB lookups per second benchmarking routines 2021-06-20 13:27:17 +02:00
tools
ufs ffs_softdep: force sync if journal is low in journal_check_space 2021-07-07 13:50:44 +03:00
vm Un-staticise vm_page_init_page() 2021-06-24 05:20:33 +03:00
x86 Consolidate machine/endian.h definitions 2021-06-24 20:42:56 -03:00
xdr
xen
Makefile