zfs/module/zcommon
rob-wing 69f024a56e
Configure zed's diagnosis engine with vdev properties
Introduce four new vdev properties:
    checksum_n
    checksum_t
    io_n
    io_t

These properties can be used for configuring the thresholds of zed's
diagnosis engine and are interpeted as <N> events in T <seconds>.

When this property is set to a non-default value on a top-level vdev,
those thresholds will also apply to its leaf vdevs. This behavior can be
overridden by explicitly setting the property on the leaf vdev.

Note that, these properties do not persist across vdev replacement. For
this reason, it is advisable to set the property on the top-level vdev
instead of the leaf vdev.

The default values for zed's diagnosis engine (10 events, 600 seconds)
remains unchanged.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Signed-off-by: Rob Wing <rob.wing@klarasystems.com>
Sponsored-by: Seagate Technology LLC
Closes #13805
2023-01-23 13:14:25 -08:00
..
cityhash.c Compile cityhash code into libzfs 2020-03-27 09:11:22 -07:00
zfeature_common.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_comutil.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_deleg.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_fletcher.c Cleanup of dead code suggested by Clang Static Analyzer (#14380) 2023-01-17 09:57:12 -08:00
zfs_fletcher_aarch64_neon.c Micro-optimize fletcher4 calculations 2022-12-05 11:00:34 -08:00
zfs_fletcher_avx512.c Micro-optimize fletcher4 calculations 2022-12-05 11:00:34 -08:00
zfs_fletcher_intel.c Micro-optimize fletcher4 calculations 2022-12-05 11:00:34 -08:00
zfs_fletcher_sse.c Micro-optimize fletcher4 calculations 2022-12-05 11:00:34 -08:00
zfs_fletcher_superscalar.c Micro-optimize fletcher4 calculations 2022-12-05 11:00:34 -08:00
zfs_fletcher_superscalar4.c Micro-optimize fletcher4 calculations 2022-12-05 11:00:34 -08:00
zfs_namecheck.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_prop.c dsl_prop_known_index(): check for invalid prop 2022-11-08 10:16:01 -08:00
zpool_prop.c Configure zed's diagnosis engine with vdev properties 2023-01-23 13:14:25 -08:00
zprop_common.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00