diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-07-14 15:20:37 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-08-29 22:09:28 -0400 |
commit | cb3c82992f62f838e6476a0bff12909158007fc6 (patch) | |
tree | d6ced15a81340b9b8343c369fea22940f31f06eb /drivers/md/Kconfig | |
parent | 58691d64c44ae41ddf098ecb31e9a994026e3cff (diff) |
async_tx: raid6 recovery self test
Port drivers/md/raid6test/test.c to use the async raid6 recovery
routines. This is meant as a unit test for raid6 acceleration drivers. In
addition to the 16-drive test case this implements tests for the 4-disk and
5-disk special cases (dma devices can not generically handle less than 2
sources), and adds a test for the D+Q case.
Reviewed-by: Andre Noll <maan@systemlinux.org>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r-- | drivers/md/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 36e0675be9f7..41b3ae25b813 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig | |||
@@ -155,6 +155,19 @@ config MD_RAID456 | |||
155 | config MD_RAID6_PQ | 155 | config MD_RAID6_PQ |
156 | tristate | 156 | tristate |
157 | 157 | ||
158 | config ASYNC_RAID6_TEST | ||
159 | tristate "Self test for hardware accelerated raid6 recovery" | ||
160 | depends on MD_RAID6_PQ | ||
161 | select ASYNC_RAID6_RECOV | ||
162 | ---help--- | ||
163 | This is a one-shot self test that permutes through the | ||
164 | recovery of all the possible two disk failure scenarios for a | ||
165 | N-disk array. Recovery is performed with the asynchronous | ||
166 | raid6 recovery routines, and will optionally use an offload | ||
167 | engine if one is available. | ||
168 | |||
169 | If unsure, say N. | ||
170 | |||
158 | config MD_MULTIPATH | 171 | config MD_MULTIPATH |
159 | tristate "Multipath I/O support" | 172 | tristate "Multipath I/O support" |
160 | depends on BLK_DEV_MD | 173 | depends on BLK_DEV_MD |