HomeFreeBSD

Configure zed's diagnosis engine with vdev properties

Description

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

Details

Provenance
rob-wing <98866084+rob-wing@users.noreply.github.com>Authored on Jan 23 2023, 9:14 PM
GitHub <noreply@github.com>Committed on Jan 23 2023, 9:14 PM
Parents
rGf091db924883: free_blocks(): Fix reports from 2016 PVS Studio FreeBSD report
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG69f024a56e25: Configure zed's diagnosis engine with vdev properties (authored by rob-wing <98866084+rob-wing@users.noreply.github.com>).Jan 23 2023, 9:14 PM