freebsd-src/cddl/usr.sbin
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
..
dtrace dtrace tests: Diff expected and actual output upon a miscompare 2024-01-10 18:19:36 -05:00
dwatch Trim various $FreeBSD$ 2023-10-10 10:34:43 -07:00
lockstat Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
plockstat Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
zdb zfs: merge openzfs/zfs@229b9f4ed 2024-02-08 16:51:08 +01:00
zfsd zfsd: Use vdev prop values for fault/degrade thresholds 2024-03-05 12:11:53 -07:00
zhack Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06: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