freebsd-dev/sys
Rick Macklem 1e0a518d65 nfscl: Add a Linux compatible "nconnect" mount option
Linux has had an "nconnect" NFS mount option for some time.
It specifies that N (up to 16) TCP connections are to created for a mount,
instead of just one TCP connection.

A discussion on freebsd-net@ indicated that this could improve
client<-->server network bandwidth, if either the client or server
have one of the following:
- multiple network ports aggregated to-gether with lagg/lacp.
- a fast NIC that is using multiple queues
It does result in using more IP port#s and might increase server
peak load for a client.

One difference from the Linux implementation is that this implementation
uses the first TCP connection for all RPCs composed of small messages
and uses the additional TCP connections for RPCs that normally have
large messages (Read/Readdir/Write).  The Linux implementation spreads
all RPCs across all TCP connections in a round robin fashion, whereas
this implementation spreads Read/Readdir/Write across the additional
TCP connections in a round robin fashion.

Reviewed by:	markj
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D30970
2021-07-08 17:39:04 -07:00
..
amd64 Do not call FreeBSD-ABI specific code for all ABIs 2021-07-07 14:12:07 +03:00
arm Do not call FreeBSD-ABI specific code for all ABIs 2021-07-07 14:12:07 +03:00
arm64 fan53555: attach to build and switch from syr827 2021-07-08 20:17:45 +00:00
bsm
cam cam: enable kern.cam.ada.enable_uma_ccbs by default 2021-07-07 09:40:34 +01:00
cddl
compat cloudabi and linux ABIs: do not call umtx_thread_cleanup() from thr_exit syscall 2021-07-07 14:12:14 +03:00
conf fan53555: attach to build and switch from syr827 2021-07-08 20:17:45 +00:00
contrib zfs: merge openzfs/zfs@bdd11cbb9 (master) into main 2021-07-07 23:31:52 +02:00
crypto ossl: Use crypto_cursor_segment(). 2021-05-25 16:59:19 -07:00
ddb
dev cxgb: use m_gethdr_raw 2021-07-07 11:05:46 +00:00
dts dts: Bump the freebsd branding version to 5.13 2021-07-01 18:48:56 +02:00
fs nfscl: Add a Linux compatible "nconnect" mount option 2021-07-08 17:39:04 -07:00
gdb
geom geom_label: Remove an old sysinstall(8) workaround 2021-07-05 16:15:32 +01:00
gnu
i386 Do not call FreeBSD-ABI specific code for all ABIs 2021-07-07 14:12:07 +03:00
isa newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
kern intrng: remove now redundant shadow variable. 2021-07-08 08:46:41 +02:00
kgssapi
libkern
mips Do not call FreeBSD-ABI specific code for all ABIs 2021-07-07 14:12:07 +03:00
modules zfs: merge openzfs/zfs@bdd11cbb9 (master) into main 2021-07-07 23:31:52 +02:00
net pf: add pf_find_state_all_exists 2021-07-08 14:00:55 +00:00
net80211 net80211: ieee80211_probereq_ie fix length calculation for hw scans 2021-06-28 12:17:11 +00:00
netgraph Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
netinet tcp: Fix 32 bit platform breakage 2021-07-08 08:16:45 -04:00
netinet6 sctp: initialize sequence numbers for ECN correctly 2021-06-27 20:14:48 +02:00
netipsec ipsec: globalize lft zone and zero out buffers at allocation time 2021-06-28 08:14:26 +00:00
netpfil dummynet: reduce console spam 2021-07-08 20:25:05 +02:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-05-26 10:45:40 -04:00
nfs
nfsclient
nfsserver
nlm
ofed mlx4/OFED: replace the struct net_device with struct ifnet 2021-06-18 21:20:08 +00:00
opencrypto crypto: Remove now-unused crypto_cursor_seg{base,len}. 2021-06-16 15:23:16 -07:00
powerpc Do not call FreeBSD-ABI specific code for all ABIs 2021-07-07 14:12:07 +03:00
riscv Do not call FreeBSD-ABI specific code for all ABIs 2021-07-07 14:12:07 +03:00
rpc Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
security mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmit 2021-06-29 15:06:45 +02:00
sys ktls: make ktls_disable_ifnet() shim static 2021-07-07 15:08:13 -04:00
teken
tests tests: Revise FIB lookups per second benchmarking routines 2021-06-17 08:49:09 +02:00
tools makesyscalls.lua: improve generated file style(9) compliance 2021-05-13 13:59:25 -04:00
ufs ffs_softdep: force sync if journal is low in journal_check_space 2021-06-23 23:47:05 +03:00
vm Un-staticise vm_page_init_page() 2021-06-17 16:58:44 +03:00
x86 Reduce code duplication in machine/_types.h 2021-06-14 16:30:16 +01:00
xdr
xen x86/xen: remove PVHv1 code 2021-05-17 11:41:21 +02:00
Makefile