Project

General

Profile

Actions

Bug #12684

closed

Inject zinject a percentage amount of dev errs

Added by Jason King over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Port of OpenZFS change:

commit 0241e491a08ffa471a08ceaa0b0943999d775cbe
Author: Don Brady <don.brady@intel.com>
Date:   Fri Jun 16 18:21:11 2017 -0600

    Inject zinject(8) a percentage amount of dev errs

    In the original form of device error injection, it was an all or nothing
    situation.  To help simulate intermittent error conditions, you can now
    specify a real number percentage value. This is also very useful for our
    ZFS fault diagnosis testing and for injecting intermittent errors during
    load testing.

    Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
    Signed-off-by: Don Brady <don.brady@intel.com>
    Closes #6227

Some zfs-tests in OpenZFS make use of this, so it'd be helpful to have this as well to assist in porting future OpenZFS changes.


Related issues

Blocks illumos gate - Bug #12636: Prevent unnecessary resilver restartsClosedJason King

Actions
Actions

Also available in: Atom PDF