Skip to content
Snippets Groups Projects
Commit 3407ef52 authored by Josef Bacik's avatar Josef Bacik Committed by Alasdair G Kergon
Browse files

dm: add flakey target


This target is the same as the linear target except that it returns I/O
errors periodically.  It's been found useful in simulating failing
devices for testing purposes.

I needed a dm target to do some failure testing on btrfs's raid code, and
Mike pointed me at this.

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent 024d37e9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment