Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add slow disk diagnosis to ZED #15469

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Commits on Feb 7, 2024

  1. Add slow disk diagnosis to ZED

    Slow disk response times can be indicative of a failing drive. ZFS
    currently tracks slow I/Os (slower than zio_slow_io_ms) and generates
    events (ereport.fs.zfs.delay).  However, no action is taken by ZED,
    like is done for checksum or I/O errors.  This change adds slow disk
    diagnosis to ZED which is opt-in using new VDEV properties:
      VDEV_PROP_SLOW_IO_N
      VDEV_PROP_SLOW_IO_T
    
    If multiple VDEVs in a pool are undergoing slow I/Os, then it skips
    the zpool_vdev_degrade().
    
    Sponsored-By: OpenDrives Inc.
    Sponsored-By: Klara Inc.
    Co-authored-by: Rob Wing <rob.wing@klarasystems.com>
    Signed-off-by: Don Brady <don.brady@klarasystems.com>
    don-brady and Rob Wing committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    fa957c7 View commit details
    Browse the repository at this point in the history