HomeFreeBSD

Add corruption failure option to zinject(8)

Description

Add corruption failure option to zinject(8)

Added a 'corrupt' error option that will flip a bit in the data
after a read operation. This is useful for generating checksum
errors at the device layer (in a mirror config for example). It
is also used to validate the diagnosis of checksum errors from
the zfs diagnosis engine.

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

Details

Provenance
Don Brady <dev.fs.zfs@gmail.com>Authored on Aug 14 2017, 10:17 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 14 2017, 10:17 PM
Parents
rG42a76fc8d757: dracut: make module-setup.sh shebang explicit
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd977122da92e: Add corruption failure option to zinject(8) (authored by Don Brady <dev.fs.zfs@gmail.com>).Aug 14 2017, 10:17 PM