dm: add flakey target
Josef Bacik authored

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>
3407ef52