freebsd-src/cddl
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
..
compat/opensolaris Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
contrib/opensolaris ctfmerge: demote "No ctf sections found" to a warning 2024-02-14 15:53:11 -05:00
lib dtrace: allow NULL interface pointer for ifinfo_t translator 2024-02-16 12:28:48 +01:00
sbin Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
share zfs: update share/zfs/compatibility.d to match current ZFS code 2023-09-22 01:37:38 +02:00
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
usr.bin Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
usr.libexec zfs: merge openzfs/zfs@2e2a46e0a 2023-09-24 23:58:34 +02:00
usr.sbin zfsd: Use vdev prop values for fault/degrade thresholds 2024-03-05 12:11:53 -07:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00