freebsd-src/cddl/usr.sbin/zfsd
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
..
tests zfsd: fault disks that generate too many I/O delay events 2023-11-29 07:51:11 -07:00
callout.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
callout.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
case_file.cc zfsd: Use vdev prop values for fault/degrade thresholds 2024-03-05 12:11:53 -07:00
case_file.h 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.common libc: expose execvpe for Linux compat 2023-12-11 19:24:53 +00:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
vdev.cc Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
vdev.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
vdev_iterator.cc Fix zfsd with the device_removal pool feature. 2023-09-12 08:46:12 -06:00
vdev_iterator.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
zfsd.8 zfsd: Use vdev prop values for fault/degrade thresholds 2024-03-05 12:11:53 -07:00
zfsd.cc Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
zfsd.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
zfsd_event.cc Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
zfsd_event.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
zfsd_exception.cc Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
zfsd_exception.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
zfsd_main.cc Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
zpool_list.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
zpool_list.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00