zfs/include/os/freebsd
Allan Jude e945e8d7f4
Restore FreeBSD sysctl processing for arc.min and arc.max
Before OpenZFS 2.0, trying to set the FreeBSD sysctl vfs.zfs.arc_max
to a disallowed value would return an error.
Since the switch, it instead only generates WARN_IF_TUNING_IGNORED

Keep the ability to set the sysctl's specifically to 0, even though
that is less than the minimum, because some tests depend on this.

Also lost, was the ability to set vfs.zfs.arc_max to a value less
than the default vfs.zfs.arc_min at boot time. Restore this as well.

Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Allan Jude <allan@klarasystems.com>
Closes #12161
2021-08-16 09:35:19 -06:00
..
linux FreeBSD: make adjustments for the standalone environment 2020-10-13 21:05:49 -07:00
spl Restore FreeBSD sysctl processing for arc.min and arc.max 2021-08-16 09:35:19 -06:00
zfs Detect HAVE_LARGE_STACKS at compile time 2021-07-16 14:28:55 -06:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00