OPNsense - FreeBSD source
Find a file
Rick Macklem 9ec7dbf46b 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.

(cherry picked from commit 1e0a518d65)
2021-08-03 16:40:47 -07:00
.cirrus-ci Cirrus-CI: retry pkg installation on failure 2021-06-10 08:54:52 -04:00
.github/workflows .github: Attempt to un-break Clang 9 action 2021-05-29 04:38:07 +01:00
bin df: remove the unused fstype var 2021-07-25 07:00:42 +00:00
cddl zfsd: Check for error from zpool_vdev_online 2021-07-13 15:44:32 +00:00
contrib less: upgrade to v590. 2021-08-02 01:28:42 -07:00
crypto kerberos.8: Replace dead link 2021-05-19 17:22:44 -04:00
etc Merge llvm-project 12.0.1 release and follow-up fixes 2021-07-31 20:56:55 +02:00
gnu Bump shared library versions after ncurses bump in 13. 2021-02-04 17:51:45 -08:00
include libc: add mempcpy(3) and wmempcpy(3) 2021-07-22 13:33:10 +03:00
kerberos5 kerberos5: Silence compiler warnings 2021-03-17 09:53:08 +00:00
lib libvmmapi: Fix warnings and stop overridding WARNS 2021-08-02 15:01:02 -04:00
libexec rtld/arm64: Remove checks for undefined symbols when processing TPREL64 2021-07-29 20:32:58 -04:00
release pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
rescue ping: add a ping6 hard link for backwards compatibility 2020-11-26 18:33:04 +00:00
sbin bpf: Add an ioctl to set the VLAN Priority on packets sent by bpf 2021-08-02 16:50:32 +02:00
secure pkgbase: Put openssl in its own package 2021-06-30 09:24:31 +02:00
share /dev/pci: clarify meaning of writeable file descriptor 2021-08-03 12:52:36 +03:00
stand typo: becauce -> because 2021-07-30 17:02:07 -06:00
sys nfscl: Add a Linux compatible "nconnect" mount option 2021-08-03 16:40:47 -07:00
targets targets: no longer depend on bt3cfw(8) 2021-01-16 23:53:13 +01:00
tests net tests: basic test case for bpf(4)'s ability to set vlan pcp 2021-08-02 16:50:32 +02:00
tools Merge llvm-project 12.0.1 release and follow-up fixes 2021-07-31 20:56:55 +02:00
usr.bin less: upgrade to v590. 2021-08-02 01:28:42 -07:00
usr.sbin pmccontrol: improve -L with pmu-events 2021-07-29 12:01:10 -03:00
.arcconfig arcconfig: add callsign again 2020-11-23 04:39:29 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml Cirrus-CI: retry pkg installation on failure 2021-06-10 08:54:52 -04:00
.clang-format clang-format: Avoid breaking after the opening paren of function definitions 2020-10-28 11:54:00 +00:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore Revert "bc: Vendor import of Gavin Howard's bc version 3.2.6" 2021-02-05 20:53:34 +01:00
COPYRIGHT copyrights: Happy New Year 2021 2020-12-31 10:29:44 -05:00
LOCKS LOCKS: update current locks 2018-06-09 03:08:04 +00:00
MAINTAINERS Add a pointer to csprng@ for the CSPRNG driver. This is enforced anyway by 2020-09-01 08:02:12 +00:00
Makefile Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
Makefile.inc1 libpmc: always generate libpmc_events.c 2021-07-29 12:01:10 -03:00
Makefile.libcompat libpmc: always generate libpmc_events.c 2021-07-29 12:01:10 -03:00
Makefile.sys.inc AUTO_OBJ: For all top-level targets enforce using an OBJDIR. 2017-12-05 21:29:47 +00:00
ObsoleteFiles.inc Merge llvm-project 12.0.1 release and follow-up fixes 2021-07-31 20:56:55 +02:00
README Mark the repository has been converted to Git 2020-12-23 12:27:27 +08:00
README.md Revert "bc: Vendor import of Gavin Howard's bc version 3.2.6" 2021-02-05 20:53:34 +01:00
RELNOTES RELNOTES: add notes about awk updates 2021-07-30 17:04:53 -06:00
UPDATING Bump __FreeBSD_version to 1300512 for LinuxKPI changes and OFED cleanup 2021-07-18 00:35:04 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory. This file was last revised on: FreeBSD

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html for more information, including setting make(1) variables.

Source Roadmap:

bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

stand		Boot loader sources.

sys		Kernel sources.

sys/<arch>/conf Kernel configuration files. GENERIC is the configuration
		used in release builds. NOTES contains documentation of
		all possible entries.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html