HardenedBSD src tree
Go to file
Alan Somers 89f4f91dbf zfsd: Use vdev prop values for fault/degrade thresholds
ZED uses vdev props for setting disk fault/degrade thresholds, this
patch enables zfsd to use the same vdev props for these same tasks.

OpenZFS on Linux is using vdev props for ZED disk fault/degrade
thresholds. Originally the thresholds supported were for io and checksum
events and recently this was updated to process slow io events as
well, see
cbe882298e

This patch enables us to use the same vdev props in zfsd as ZED uses.
After this patch is merged both OSs will use the same vdev props to set
retirement thresholds.

It's probably important to note that the threshold defaults are
different between OS. I've kept the existing defaults inside zfsd and
DID NOT match them to what ZED does.

Differential Revision: https://reviews.freebsd.org/D44043
MFC after:	2 weeks
Relnotes:	yes
Reviewed by:	asomers, allanjude
Sponsored by:	Axcient
Submitted by:	Alek Pinchuk <apinchuk@axcient.com>
2024-03-05 12:11:53 -07:00
.cirrus-ci
.github .github: Switch to v4 of actions/checkout 2024-03-04 21:52:09 -08:00
bin
cddl zfsd: Use vdev prop values for fault/degrade thresholds 2024-03-05 12:11:53 -07:00
contrib Merge commit f800c1f3b207 from llvm-project (by Arthur Eubanks): 2024-03-04 21:31:04 +01:00
crypto
etc
gnu
include posix_spawn(3): add POSIX_SPAWN_DISABLE_ASLR_NP 2024-03-04 03:00:38 +02:00
kerberos5
lib libsysdecode: add a decoder for pollfd events 2024-03-04 23:44:09 -06:00
libexec
release
rescue
sbin nvme: Firmware revisions in the firmware slot info logpage are ASCII strings 2024-03-01 14:18:43 -08:00
secure
share bsd-family-tree: add FreeBSD 13.3 2024-03-05 08:38:09 -05:00
stand
sys ktrace: log genio events on failed write 2024-03-04 23:44:09 -06:00
targets
tests
tools gpioevents: Fix build with newer Clang 2024-03-02 10:38:04 -05:00
usr.bin kdump: decode pollfd struct arrays coming from poll(2) 2024-03-04 23:44:09 -06:00
usr.sbin diskinfo(8): introduce new option -l 2024-03-06 00:29:04 +07:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: Add manual Clang 18 jobs 2024-03-01 11:44:09 -05:00
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore
.mailmap
CONTRIBUTING.md
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc
README.md
RELNOTES
UPDATING

FreeBSD Source:

This is the top level of the FreeBSD source directory.

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), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
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 Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB 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 (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
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 FreeBSD Handbook.