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:Josef Bacik <josef@redhat.com> Signed-off-by:
Alasdair G Kergon <agk@redhat.com>
Showing
- Documentation/device-mapper/dm-flakey.txt 17 additions, 0 deletionsDocumentation/device-mapper/dm-flakey.txt
- drivers/md/Kconfig 6 additions, 0 deletionsdrivers/md/Kconfig
- drivers/md/Makefile 1 addition, 0 deletionsdrivers/md/Makefile
- drivers/md/dm-flakey.c 212 additions, 0 deletionsdrivers/md/dm-flakey.c
Loading
Please register or sign in to comment