diff options
author | Josef Bacik <josef@redhat.com> | 2011-03-24 13:54:24 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-03-24 13:54:24 +0000 |
commit | 3407ef5262b55ca5d7139d2b555ef792fe531eec (patch) | |
tree | fb5e083851c636e515095bb3eb90325f4b175129 /drivers/md/Makefile | |
parent | 024d37e95ec4a7ccc256973ab2feab01f4fbdd2d (diff) | |
download | op-kernel-dev-3407ef5262b55ca5d7139d2b555ef792fe531eec.zip op-kernel-dev-3407ef5262b55ca5d7139d2b555ef792fe531eec.tar.gz |
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>
Diffstat (limited to 'drivers/md/Makefile')
-rw-r--r-- | drivers/md/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/Makefile b/drivers/md/Makefile index d013860..448838b 100644 --- a/drivers/md/Makefile +++ b/drivers/md/Makefile @@ -29,6 +29,7 @@ obj-$(CONFIG_BLK_DEV_MD) += md-mod.o obj-$(CONFIG_BLK_DEV_DM) += dm-mod.o obj-$(CONFIG_DM_CRYPT) += dm-crypt.o obj-$(CONFIG_DM_DELAY) += dm-delay.o +obj-$(CONFIG_DM_FLAKEY) += dm-flakey.o obj-$(CONFIG_DM_MULTIPATH) += dm-multipath.o dm-round-robin.o obj-$(CONFIG_DM_MULTIPATH_QL) += dm-queue-length.o obj-$(CONFIG_DM_MULTIPATH_ST) += dm-service-time.o |